CVE-2004-0077
No CVSS score yet. EPSS 2.5% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 2.5% (unchanged from 2.5% a week ago; 2.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian, Red Hat: fixed package versions per release
- Patch: http://security.gentoo.org/glsa/glsa-200403-02.xml
- Patch: http://www.debian.org/security/2004/dsa-439
- Patch: http://www.securityfocus.com/bid/9686
- Vendor advisory: http://security.gentoo.org/glsa/glsa-200403-02.xml
- Vendor advisory: http://www.debian.org/security/2004/dsa-439
- Vendor advisory: http://www.securityfocus.com/bid/9686
Ask an AI about this CVE
Show the prompt
Explain CVE-2004-0077 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2004-0077?via=ask-ai-copy and https://cve.bz/cve/CVE-2004-0077?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2004-0077 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
- linux:linux_kernel
- netwosix:netwosix_linux
- redhat:bigmem_kernel
- redhat:kernel
- redhat:kernel_doc
- redhat:kernel_source
- trustix:secure_linux
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| redhat:bigmem_kernel | 2.4.20-8 |
| redhat:kernel | 2.4.20-8 |
| redhat:kernel_doc | 2.4.20-8 |
| redhat:kernel_source | 2.4.20-8 |
| linux:linux_kernel | 2.2.0 |
| linux:linux_kernel | 2.2.1 |
| linux:linux_kernel | 2.2.2 |
| linux:linux_kernel | 2.2.3 |
| linux:linux_kernel | 2.2.4 |
| linux:linux_kernel | 2.2.5 |
| linux:linux_kernel | 2.2.6 |
| linux:linux_kernel | 2.2.7 |
| linux:linux_kernel | 2.2.8 |
| linux:linux_kernel | 2.2.9 |
| linux:linux_kernel | 2.2.10 |
| linux:linux_kernel | 2.2.11 |
| linux:linux_kernel | 2.2.12 |
| linux:linux_kernel | 2.2.13 |
| linux:linux_kernel | 2.2.14 |
| linux:linux_kernel | 2.2.15 |
| linux:linux_kernel | 2.2.15:pre16 |
| linux:linux_kernel | 2.2.15_pre20 |
| linux:linux_kernel | 2.2.16 |
| linux:linux_kernel | 2.2.16:pre6 |
| linux:linux_kernel | 2.2.17 |
| linux:linux_kernel | 2.2.18 |
| linux:linux_kernel | 2.2.19 |
| linux:linux_kernel | 2.2.20 |
| linux:linux_kernel | 2.2.21 |
| linux:linux_kernel | 2.2.22 |
| linux:linux_kernel | 2.2.23 |
| linux:linux_kernel | 2.2.24 |
| linux:linux_kernel | 2.4.0 |
| linux:linux_kernel | 2.4.0:test1 |
| linux:linux_kernel | 2.4.0:test10 |
| linux:linux_kernel | 2.4.0:test11 |
| linux:linux_kernel | 2.4.0:test12 |
| linux:linux_kernel | 2.4.0:test2 |
| linux:linux_kernel | 2.4.0:test3 |
| linux:linux_kernel | 2.4.0:test4 |
| linux:linux_kernel | 2.4.0:test5 |
| linux:linux_kernel | 2.4.0:test6 |
| linux:linux_kernel | 2.4.0:test7 |
| linux:linux_kernel | 2.4.0:test8 |
| linux:linux_kernel | 2.4.0:test9 |
| linux:linux_kernel | 2.4.1 |
| linux:linux_kernel | 2.4.2 |
| linux:linux_kernel | 2.4.3 |
| linux:linux_kernel | 2.4.4 |
| linux:linux_kernel | 2.4.5 |
| linux:linux_kernel | 2.4.6 |
| linux:linux_kernel | 2.4.7 |
| linux:linux_kernel | 2.4.8 |
| linux:linux_kernel | 2.4.9 |
| linux:linux_kernel | 2.4.10 |
| linux:linux_kernel | 2.4.11 |
| linux:linux_kernel | 2.4.12 |
| linux:linux_kernel | 2.4.13 |
| linux:linux_kernel | 2.4.14 |
| linux:linux_kernel | 2.4.15 |
| linux:linux_kernel | 2.4.16 |
| linux:linux_kernel | 2.4.17 |
| linux:linux_kernel | 2.4.18 |
| linux:linux_kernel | 2.4.18:pre1 |
| linux:linux_kernel | 2.4.18:pre2 |
| linux:linux_kernel | 2.4.18:pre3 |
| linux:linux_kernel | 2.4.18:pre4 |
| linux:linux_kernel | 2.4.18:pre5 |
| linux:linux_kernel | 2.4.18:pre6 |
| linux:linux_kernel | 2.4.18:pre7 |
| linux:linux_kernel | 2.4.18:pre8 |
| linux:linux_kernel | 2.4.19 |
| linux:linux_kernel | 2.4.19:pre1 |
| linux:linux_kernel | 2.4.19:pre2 |
| linux:linux_kernel | 2.4.19:pre3 |
| linux:linux_kernel | 2.4.19:pre4 |
| linux:linux_kernel | 2.4.19:pre5 |
| linux:linux_kernel | 2.4.19:pre6 |
| linux:linux_kernel | 2.4.20 |
| linux:linux_kernel | 2.4.21 |
| linux:linux_kernel | 2.4.21:pre1 |
| linux:linux_kernel | 2.4.21:pre4 |
| linux:linux_kernel | 2.4.21:pre7 |
| linux:linux_kernel | 2.4.22 |
| linux:linux_kernel | 2.4.23 |
| linux:linux_kernel | 2.4.23:pre9 |
| linux:linux_kernel | 2.4.24 |
| linux:linux_kernel | 2.6.0 |
| linux:linux_kernel | 2.6.0:test1 |
| linux:linux_kernel | 2.6.0:test10 |
| linux:linux_kernel | 2.6.0:test11 |
| linux:linux_kernel | 2.6.0:test2 |
| linux:linux_kernel | 2.6.0:test3 |
| linux:linux_kernel | 2.6.0:test4 |
| linux:linux_kernel | 2.6.0:test5 |
| linux:linux_kernel | 2.6.0:test6 |
| linux:linux_kernel | 2.6.0:test7 |
| linux:linux_kernel | 2.6.0:test8 |
| linux:linux_kernel | 2.6.0:test9 |
| linux:linux_kernel | 2.6.1:rc1 |
| linux:linux_kernel | 2.6.1:rc2 |
| linux:linux_kernel | 2.6.2 |
| linux:linux_kernel | 2.6_test9_cvs |
| netwosix:netwosix_linux | 1.0 |
| trustix:secure_linux | 1.5 |
| trustix:secure_linux | 2.0 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 3.0 | kernel-image-2.2.10-powerpc-apus | 2.2.10-13woody1 | DSA-466 |
| Debian | 3.0 | kernel-image-2.2.20-amiga | 2.20-4 | DSA-453 |
| Debian | 3.0 | kernel-image-2.2.20-i386 | 2.2.20-5woody5 | DSA-453 |
| Debian | 3.0 | kernel-image-2.2.20-mac, kernel-image-2.2.20-atari, kernel-image-2.2.20-mvme147 and 2 more | 2.2.20-3 | DSA-453 |
| Debian | 3.0 | kernel-image-2.2.20-reiserfs-i386 | 2.2.20-4woody1 | DSA-453 |
| Debian | 3.0 | kernel-image-2.2.22-alpha | 2.2.22-2 | DSA-454 |
| Debian | 3.0 | kernel-image-2.4.16-lart, kernel-image-2.4.16-riscpc, kernel-image-2.4.16-netwinder | 2.4.16-20040204 | DSA-439 |
| Debian | 3.0 | kernel-image-2.4.17-hppa | 32.3 | DSA-470 |
| Debian | 3.0 | kernel-image-2.4.17-ia64 | 011226.16 | DSA-444 |
| Debian | 3.0 | kernel-image-2.4.17-s390 | 2.4.17-2.woody.3 | DSA-442 |
| Debian | 3.0 | kernel-image-2.4.18-1-alpha | 2.4.18-14 | DSA-438 |
| Debian | 3.0 | kernel-image-2.4.18-1-i386 | 2.4.18-12.2 | DSA-438 |
| 16 more for Debian in the JSON and on Debian's page. | ||||
| Red Hat | enterprise_linux:3::as | s390utils, s390utils-debuginfo | 2:1.2.4-3 | RHSA-2004:066 |
| Red Hat | enterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 more | kernel, kernel-doc, kernel-smp and 7 more | 0:2.4.21-9.0.1.EL | RHSA-2004:066 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.
Red Hat
Red Hat rates this Important.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | kernel-0:2.4.21-9.0.1.EL | Fixed 2004-02-19 | RHSA-2004:066 |
| Red Hat Enterprise Linux 3 | s390utils-2:1.2.4-3 | Fixed 2004-02-19 | RHSA-2004:066 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed 2004-02-18 | RHSA-2004:069 | |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed 2004-04-22 | RHSA-2004:106 | |
| Red Hat Enterprise Linux ES version 2.1 | Fixed 2004-02-18 | RHSA-2004:069 | |
| Red Hat Enterprise Linux WS version 2.1 | Fixed 2004-02-18 | RHSA-2004:069 | |
| Red Hat Linux 9 | Fixed 2004-02-18 | RHSA-2004:065 | |
| Red Hat Linux Advanced Workstation 2.1 | Fixed 2004-04-22 | RHSA-2004:106 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2004-0077.
Public exploits
- Exploit-DB Linux Kernel 2.2.25/2.4.24/2.6.2 - 'mremap()' Local Privilege Escalation (LPE)
- Exploit-DB Linux Kernel 2.2.25/2.4.24/2.6.2 - 'mremap()' Validator
References
- http://security.gentoo.org/glsa/glsa-200403-02.xml
- http://www.debian.org/security/2004/dsa-439
- http://www.securityfocus.com/bid/9686
- http://archives.neohapsis.com/archives/vulnwatch/2004-q1/0040.html
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000820
- http://fedoranews.org/updates/FEDORA-2004-079.shtml
- http://frontal2.mandriva.com/security/advisories?name=MDKSA-2004:015
- http://isec.pl/vulnerabilities/isec-0014-mremap-unmap.txt
- http://marc.info/?l=bugtraq&m=107711762014175&w=2
- http://marc.info/?l=bugtraq&m=107712137732553&w=2
- http://marc.info/?l=bugtraq&m=107755871932680&w=2
- http://www.ciac.org/ciac/bulletins/o-082.shtml
- http://www.debian.org/security/2004/dsa-438
- http://www.debian.org/security/2004/dsa-440
- http://www.debian.org/security/2004/dsa-441
- http://www.debian.org/security/2004/dsa-442
- http://www.debian.org/security/2004/dsa-444
- http://www.debian.org/security/2004/dsa-450
- http://www.debian.org/security/2004/dsa-453
- http://www.debian.org/security/2004/dsa-454
- http://www.debian.org/security/2004/dsa-456
- http://www.debian.org/security/2004/dsa-466
- http://www.debian.org/security/2004/dsa-470
- http://www.debian.org/security/2004/dsa-475
- http://www.debian.org/security/2004/dsa-514
- http://www.kb.cert.org/vuls/id/981222
- http://www.novell.com/linux/security/advisories/2004_05_linux_kernel.html
- http://www.osvdb.org/3986
- http://www.redhat.com/support/errata/RHSA-2004-065.html
- http://www.redhat.com/support/errata/RHSA-2004-066.html
- http://www.redhat.com/support/errata/RHSA-2004-069.html
- http://www.redhat.com/support/errata/RHSA-2004-106.html
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2004&m=slackware-security.404734
- https://exchange.xforce.ibmcloud.com/vulnerabilities/15244
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A825
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A837