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…
- 7.2HighCVSS base score
- 1.2%Exploitation in 30 daysEPSS · top 31% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list 3 Exploit-DB entries for it.
Show the exploits3
Exploit-DB3 entries
- Linux Kernel 2.4.23/2.6.0 - 'do_mremap()' Bound Checking Privilege Escalation (Exploit-DB entry) (opens in a new tab)
EDB-ID 145local, linuxpublished 15 Jan 2004Verified
- Linux Kernel 2.4.23/2.6.0 - 'do_mremap()' Bound Checking Validator (2) (Exploit-DB entry) (opens in a new tab)
EDB-ID 142local, linuxpublished 7 Jan 2004Verified
- Linux Kernel 2.4.23/2.6.0 - 'do_mremap()' Bound Checking Validator (1) (Exploit-DB entry) (opens in a new tab)
EDB-ID 141local, linuxpublished 6 Jan 2004Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 9 months later
· 9 months later
Published
- 20 years later
· 20 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 1.2% · top 31% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.2.
Affected products
n/a
- affected n/a
References
45
- 20163 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- DSA-1082 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- DSA-423 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- RHSA-2003:417 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- CLA-2004:799 (opens in a new tab)vendor-advisoryx_refsource_CONECTIVAx_transferred
- DSA-450 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- DSA-1070 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- DSA-440 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 20040112 SmoothWall Project Security Advisory SWP-2004:001 (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- DSA-439 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- DSA-1067 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- DSA-475 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- DSA-1069 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- ESA-20040105-001 (opens in a new tab)vendor-advisoryx_refsource_ENGARDEx_transferred
- DSA-417 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- DSA-442 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 20202 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- DSA-470 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 20338 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- IMNX-2004-73-001-01 (opens in a new tab)vendor-advisoryx_refsource_IMMUNIXx_transferred
- RHSA-2003:416 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- linux-domremap-gain-privileges(14135) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- http://klecker.debian.org/~joey/security/kernel/patches/patch.CAN-2005-0528.mremap (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-413 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 20040105 Linux kernel do_mremap() proof-of-concept exploit code (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20040107 [slackware-security] Kernel security update (SSA:2004-006-01) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20040106 Linux mremap bug correction (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 2004-0001 (opens in a new tab)vendor-advisoryx_refsource_TRUSTIXx_transferred
- oval:org.mitre.oval:def:860 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 20040108 [slackware-security] Slackware 8.1 kernel security update (SSA:2004-008-01) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 3315 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- oval:org.mitre.oval:def:867 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- http://www.kernel.org/pub/linux/kernel/v2.4/ChangeLog-2.4.24 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 9356 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://svn.debian.org/wsvn/kernel/patch-tracking/CVE-2005-0528?op=file&rev=0&sc=0 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://isec.pl/vulnerabilities/isec-0013-mremap.txt (opens in a new tab)x_refsource_MISCx_transferred
- 20040105 Linux kernel mremap vulnerability (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- DSA-427 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- RHSA-2003:418 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- O-045 (opens in a new tab)third-party-advisorygovernment-resourcex_refsource_CIACx_transferred
- RHSA-2003:419 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- SuSE-SA:2004:003 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 10532 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- VU#490620 (opens in a new tab)third-party-advisoryx_refsource_CERT-VNx_transferred
- MDKSA-2004:001 (opens in a new tab)vendor-advisoryx_refsource_MANDRAKEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2003-0975 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2003-0985)Record last updated .