CVE-2004-0077 json
The do_mremap function for the mremap system call in Linux 2.2 to 2.2.25, 2.4 to 2.4.24, and 2.6 to 2.6.2, does not properly check the retu…
published 22y ago modified 5mo ago also EUVD-2004-0077
- cvss
- 7.2
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 2
- Exploit-DB
Summary
The do_mremap function for the mremap system call in Linux 2.2 to 2.2.25, 2.4 to 2.4.24, and 2.6 to 2.6.2, does not properly check the return value from the do_munmap function when the maximum number of VMA descriptors is exceeded, which allows local users to gain root privileges, a different vulnerability than CAN-2003-0985.
Patch / fix
- kernel RHEL 3 2.4.21-9.0.1.EL
- s390utils RHEL 3 2:1.2.4-3
- kernel-smp RHEL 3 2.4.21-9.0.1.EL
- kernel-BOOT RHEL 3 2.4.21-9.0.1.EL
- kernel-source RHEL 3 2.4.21-9.0.1.EL
- kernel-hugemem RHEL 3 2.4.21-9.0.1.EL
- kernel-unsupported RHEL 3 2.4.21-9.0.1.EL
- kernel-smp-unsupported RHEL 3 2.4.21-9.0.1.EL
red hat advisories RHSA-2004:066
- debian.org/security/2004/dsa-439 advisory
- security.gentoo.org/glsa/glsa-200403-02.xml advisory
- securityfocus.com/bid/9686 advisory
Is CVE-2004-0077 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2004-0077 updated
security flaw
-
Red Hat Desktop version 3 kernel 2.4.21-9.0.1.EL, kernel-smp 2.4.21-9.0.1.EL, kernel-BOOT 2.4.21-9.0.1.EL, kernel-source 2.4.21-9.0.1.EL, kernel-hugemem 2.4.21-9.0.1.EL, kernel-unsupported 2.4.21-9.0.1.EL, +2 more Red Hat Enterprise Linux AS version 3 s390utils 1.2.4-3, kernel 2.4.21-9.0.1.EL, kernel-smp 2.4.21-9.0.1.EL, kernel-BOOT 2.4.21-9.0.1.EL, kernel-source 2.4.21-9.0.1.EL, kernel-hugemem 2.4.21-9.0.1.EL, +3 morefixed: vendor fix RHSA-2004:066
-
Red Hat Enterprise Linux ES version 2.1fixed: vendor fix RHSA-2004:069
-
Red Hat Enterprise Linux ES version 3 kernel 2.4.21-9.0.1.EL, kernel-smp 2.4.21-9.0.1.EL, kernel-BOOT 2.4.21-9.0.1.EL, kernel-source 2.4.21-9.0.1.EL, kernel-hugemem 2.4.21-9.0.1.EL, kernel-unsupported 2.4.21-9.0.1.EL, +2 morefixed: vendor fix RHSA-2004:066
-
Red Hat Enterprise Linux WS version 2.1fixed: vendor fix RHSA-2004:069
-
Red Hat Enterprise Linux WS version 3 kernel 2.4.21-9.0.1.EL, kernel-smp 2.4.21-9.0.1.EL, kernel-BOOT 2.4.21-9.0.1.EL, kernel-source 2.4.21-9.0.1.EL, kernel-hugemem 2.4.21-9.0.1.EL, kernel-unsupported 2.4.21-9.0.1.EL, +2 morefixed: vendor fix RHSA-2004:066
-
Red Hat Linux 9fixed: vendor fix RHSA-2004:065
-
Red Hat Linux Advanced Workstation 2.1fixed: vendor fix RHSA-2004:106
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-154)
- Published
Exploit prediction
2.45% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-24).
Exploits and checks
- EDB-160 Linux Kernel 2.2.25/2.4.24/2.6.2 - 'mremap()' Local Privilege Escalation (LPE) local, 2004-03-01
- EDB-154 Linux Kernel 2.2.25/2.4.24/2.6.2 - 'mremap()' Validator local, 2004-02-18
- securityfocus.com http://www.securityfocus.com/bid/9686 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Technology feeds
References
-
debian.org
/security/2004/dsa-439
vendor-advisory, patch
-
security.gentoo.org
/glsa/glsa-200403-02.xml
vendor-advisory, patch
-
securityfocus.com
/bid/9686
vdb-entry, exploit, patch, vendor-advisory
-
slackware.com
/security/viewer.php?l=slackware-security&y=2004&m=slackware-security.404734
vendor-advisory
-
debian.org
/security/2004/dsa-450
vendor-advisory
-
debian.org
/security/2004/dsa-440
vendor-advisory
-
redhat.com
/support/errata/RHSA-2004-069.html
vendor-advisory
-
fedoranews.org
/updates/FEDORA-2004-079.shtml
vendor-advisory
-
debian.org
/security/2004/dsa-475
vendor-advisory
-
distro.conectiva.com.br
/atualizacoes/?id=a&anuncio=000820
vendor-advisory
-
redhat.com
/support/errata/RHSA-2004-106.html
vendor-advisory
-
novell.com
/linux/security/advisories/2004_05_linux_kernel.html
vendor-advisory
-
debian.org
/security/2004/dsa-442
vendor-advisory
-
redhat.com
/support/errata/RHSA-2004-065.html
vendor-advisory
-
debian.org
/security/2004/dsa-470
vendor-advisory
-
frontal2.mandriva.com
/security/advisories?name=MDKSA-2004:015
vendor-advisory
-
debian.org
/security/2004/dsa-438
vendor-advisory
-
debian.org
/security/2004/dsa-514
vendor-advisory
-
debian.org
/security/2004/dsa-456
vendor-advisory
-
debian.org
/security/2004/dsa-441
vendor-advisory
-
debian.org
/security/2004/dsa-454
vendor-advisory
-
debian.org
/security/2004/dsa-444
vendor-advisory
-
redhat.com
/support/errata/RHSA-2004-066.html
vendor-advisory
-
marc.info
/?l=bugtraq&m=107755871932680&w=2
vendor-advisory
-
debian.org
/security/2004/dsa-453
vendor-advisory
-
debian.org
/security/2004/dsa-466
vendor-advisory
-
marc.info
/?l=bugtraq&m=107712137732553&w=2
vendor-advisory
-
ciac.org
/ciac/bulletins/o-082.shtml
third-party-advisory, government-resource
- isec.pl /vulnerabilities/isec-0014-mremap-unmap.txt
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A837
vdb-entry, signature
-
archives.neohapsis.com
/archives/vulnwatch/2004-q1/0040.html
mailing-list
-
exchange.xforce.ibmcloud.com
/vulnerabilities/15244
vdb-entry
-
marc.info
/?l=bugtraq&m=107711762014175&w=2
mailing-list
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A825
vdb-entry, signature
-
osvdb.org
/3986
vdb-entry
-
kb.cert.org
/vuls/id/981222
third-party-advisory, us-government-resource
Sources
- CVE List CVE-2004-0077
- NVD CVE-2004-0077
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.