CVE-2004-0077
Description
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
2.454%
chance of exploitation in the next 30 days
higher than 84.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 2
Timeline
- 2004-02-18First Exploit-DB entry (EDB-ID 154)14 days before publication
- 2004-03-03Published
- 2004-09-01Published by the CNA04:00 UTC · 182 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 160 | local | linux | 2004-03-01 | yes |
| EDB-ID 154 | local | linux | 2004-02-18 | yes |
Affected products
| Vendor | Product |
|---|---|
| linux | linux_kernel |
| netwosix | netwosix_linux |
| redhat | bigmem_kernel |
| redhat | kernel |
| redhat | kernel_doc |
| redhat | kernel_source |
| trustix | secure_linux |
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://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://marc.info/?l=bugtraq&m=107712137732553&w=2
- http://marc.info/?l=bugtraq&m=107755871932680&w=2
- 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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2004-0077'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2004-0077'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2004-0077'curl 'https://api.contrastcyber.com/cve_products/CVE-2004-0077'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).