CVE-2003-0985
The mremap system call (do_mremap) in Linux kernel 2.4.x before 2.4.21, and possibly other versions before 2.4.24, does not properly…
Check your servers for CVE-2003-0985
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2003-0985 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
The mremap system call (do_mremap) in Linux kernel 2.4.x before 2.4.21, and possibly other versions before 2.4.24, does not properly perform bounds checks, which allows local users to cause a denial of service and possibly gain privileges by causing a remapping of a virtual memory area (VMA) to create a zero length VMA, a different vulnerability than CAN-2004-0077.
Exploitation
EPSS 1.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 68.9% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2003-0985 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2003-0985RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2003-0985Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2003-0985
trivy image --scanners vuln IMAGE | grep CVE-2003-0985
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the agent.
References
45 of 46 references. The list leaves out addresses that are not web links and those after the first 300; all of them are in the record on cve.org.
Advisories
- 20163 secunia.com · third party advisory
- DSA-1082 debian.org · vendor advisory
- DSA-423 debian.org · vendor advisory
- RHSA-2003:417 redhat.com · vendor advisory
- CLA-2004:799 distro.conectiva.com.br · vendor advisory
- DSA-450 debian.org · vendor advisory
- DSA-1070 debian.org · vendor advisory
- DSA-440 debian.org · vendor advisory
- DSA-439 debian.org · vendor advisory
- DSA-1067 debian.org · vendor advisory
- DSA-475 debian.org · vendor advisory
- DSA-1069 debian.org · vendor advisory
21 more
- ESA-20040105-001 linuxsecurity.com · vendor advisory
- DSA-417 debian.org · vendor advisory
- DSA-442 debian.org · vendor advisory
- 20202 secunia.com · third party advisory
- DSA-470 debian.org · vendor advisory
- 20338 secunia.com · third party advisory
- IMNX-2004-73-001-01 download.immunix.org · vendor advisory
- RHSA-2003:416 redhat.com · vendor advisory
- http://klecker.debian.org/~joey/security/kernel/patches/patch.CAN-2005-0528.mremap klecker.debian.org
- DSA-413 debian.org · vendor advisory
- 2004-0001 marc.info · vendor advisory
- http://www.kernel.org/pub/linux/kernel/v2.4/ChangeLog-2.4.24 kernel.org
- http://svn.debian.org/wsvn/kernel/patch-tracking/CVE-2005-0528?op=file&rev=0&sc=0 svn.debian.org
- DSA-427 debian.org · vendor advisory
- RHSA-2003:418 redhat.com · vendor advisory
- O-045 ciac.org · third party advisory, government resource
- RHSA-2003:419 redhat.com · vendor advisory
- SuSE-SA:2004:003 novell.com · vendor advisory
- 10532 secunia.com · third party advisory
- VU#490620 kb.cert.org · third party advisory
- MDKSA-2004:001 mandrakesoft.com · vendor advisory
Other references
- 20040112 SmoothWall Project Security Advisory SWP-2004:001 marc.info · mailing list
- linux-domremap-gain-privileges(14135) exchange.xforce.ibmcloud.com · vdb entry
- 20040105 Linux kernel do_mremap() proof-of-concept exploit code marc.info · mailing list
- 20040107 [slackware-security] Kernel security update (SSA:2004-006-01) marc.info · mailing list
- 20040106 Linux mremap bug correction marc.info · mailing list
- oval:org.mitre.oval:def:860 oval.cisecurity.org · vdb entry, signature
- 20040108 [slackware-security] Slackware 8.1 kernel security update (SSA:2004-008-01) archives.neohapsis.com · mailing list
- 3315 osvdb.org · vdb entry
- oval:org.mitre.oval:def:867 oval.cisecurity.org · vdb entry, signature
- 9356 securityfocus.com · vdb entry
- http://isec.pl/vulnerabilities/isec-0013-mremap.txt isec.pl
- 20040105 Linux kernel mremap vulnerability marc.info · mailing list
Source: the record CVE-2003-0985 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse