# CVE-2004-0077

- Priority: **Prioritise**
- Reason: Weaponized exploit (exploit-database, 01-03-2004)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2004-09-01 · Modified: 2024-08-08
- Aliases: RHSA-2004:066, DSA-438, DSA-441, DSA-444, DSA-453, DSA-454, DSA-456, DSA-466, DSA-514
- Record: https://cvemate.com/vulnerability/CVE-2004-0077 · JSON: https://cvemate.com/vulnerability/CVE-2004-0077/json

## Description

```text
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.
```

## Signals

- CVSS: 7.2 high (v2.0, NVD) AV:L/AC:L/Au:N/C:C/I:C/A:C
- EPSS: 2.454%, percentile 84.936%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (reference, exploit-database)

## Affected (first 20 of 44)

- debian kernel-image-2.2.10-powerpc-apus (Debian): \< 2.2.10-13woody1
- debian kernel-image-2.2.19-netwinder (Debian): \< 20040303
- debian kernel-image-2.2.19-riscpc (Debian): \< 20040303
- debian kernel-image-2.2.20-amiga (Debian): \< 2.20-4
- debian kernel-image-2.2.20-atari (Debian): \< 2.2.20-3
- debian kernel-image-2.2.20-bvme6000 (Debian): \< 2.2.20-3
- debian kernel-image-2.2.20-i386 (Debian): \< 2.2.20-5woody5
- debian kernel-image-2.2.20-mac (Debian): \< 2.2.20-3
- debian kernel-image-2.2.20-mvme147 (Debian): \< 2.2.20-3
- debian kernel-image-2.2.20-mvme16x (Debian): \< 2.2.20-3
- debian kernel-image-2.2.20-reiserfs-i386 (Debian): \< 2.2.20-4woody1
- debian kernel-image-2.2.22-alpha (Debian): \< 2.2.22-2
- debian kernel-image-2.4.17-ia64 (Debian): \< 011226.16
- debian kernel-image-2.4.18-1-alpha (Debian): \< 2.4.18-14
- debian kernel-image-2.4.18-1-i386 (Debian): \< 2.4.18-12.2
- debian kernel-image-2.4.18-i386bf (Debian): \< 2.4.18-5woody7
- debian kernel-patch-2.2.19-arm (Debian): \< 20040303
- debian kernel-patch-2.2.20-powerpc (Debian): \< 2.2.20-3woody1
- debian kernel-patch-2.4.17-mips (Debian): \< 2.4.17-0.020226.2.woody5
- debian kernel-patch-2.4.18-powerpc (Debian): \< 2.4.18-1woody4

## References (first 20 of 49)

- <http://www.slackware.com/security/viewer.php?l=slackware-security&y=2004&m=slackware-security.404734>
- <http://www.debian.org/security/2004/dsa-450>
- <http://www.debian.org/security/2004/dsa-440>
- <http://www.redhat.com/support/errata/RHSA-2004-069.html>
- <http://www.ciac.org/ciac/bulletins/o-082.shtml>
- <http://fedoranews.org/updates/FEDORA-2004-079.shtml>
- <http://www.debian.org/security/2004/dsa-439>
- <http://www.debian.org/security/2004/dsa-475>
- <http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000820>
- <http://www.redhat.com/support/errata/RHSA-2004-106.html>
- <http://www.novell.com/linux/security/advisories/2004_05_linux_kernel.html>
- <http://www.debian.org/security/2004/dsa-442>
- <http://www.redhat.com/support/errata/RHSA-2004-065.html>
- <http://www.debian.org/security/2004/dsa-470>
- <http://frontal2.mandriva.com/security/advisories?name=MDKSA-2004:015>
- <http://www.securityfocus.com/bid/9686>
- <http://www.debian.org/security/2004/dsa-438>
- <http://www.debian.org/security/2004/dsa-514>
- <http://isec.pl/vulnerabilities/isec-0014-mremap-unmap.txt>
- <http://www.debian.org/security/2004/dsa-456>

---

Data as of 2026-12-05T09:57:14.514Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
