Every CVE Search/ Get API key

CVE-2004-0077

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

7.2 HighPublic exploitFix available

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.

Exploit likelihood

2.45%Down 1.6 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.2

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.

Record
CVE-2004-0077
CVSS 2.0
7.2 HighAV:L/AC:L/Au:N/C:C/I:C/A:C
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2004-0077
Updated
2026-11-02
EUVDEUVD-2004-0077 No score

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.

Record
EUVD-2004-0077
Updated
2026-11-03
GitHub AdvisoriesGHSA-pm7j-3492-hq9m No score

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

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.

Record
GHSA-pm7j-3492-hq9m
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
kernel-source-2.4.18
Debian:3.0
before 2.4.18-14.2
2.4.18-14.2
kernel-image-2.4.18-1-alpha
Debian:3.0
before 2.4.18-14
2.4.18-14
kernel-image-2.4.18-1-i386
Debian:3.0
before 2.4.18-12.2
2.4.18-12.2
kernel-image-2.4.18-i386bf
Debian:3.0
before 2.4.18-5woody7, plus listed versions
2.4.18-5
2.4.18-5woody7
kernel-patch-2.4.18-powerpc
Debian:3.0
before 2.4.18-1woody4
2.4.18-1woody4
kernel-image-2.4.16-lart
Debian:3.0
before 2.4.16-20040204
2.4.16-20040204
kernel-image-2.4.16-netwinder
Debian:3.0
before 2.4.16-20040204
2.4.16-20040204
kernel-image-2.4.16-riscpc
Debian:3.0
before 2.4.16-20040204
2.4.16-20040204
kernel-patch-2.4.16-arm
Debian:3.0
before 20040204
20040204
kernel-source-2.4.17
Debian:3.0
before 2.4.17-4, plus listed versions
2.4.17-1woody32.4.17-1woody4
2.4.17-4
Show 69 moreShow less
Affected packages
PackageAffectedFixed
kernel-patch-2.4.17-apus
Debian:3.0
before 2.4.17-4
2.4.17-4
kernel-patch-2.4.17-mips
Debian:3.0
before 2.4.17-0.020226.2.woody5
2.4.17-0.020226.2.woody5
kernel-patch-2.4.17-s390
Debian:3.0
before 0.0.20020816-0.woody.2
0.0.20020816-0.woody.2
kernel-image-2.4.17-s390
Debian:3.0
before 2.4.17-2.woody.3
2.4.17-2.woody.3
kernel-image-2.4.17-ia64
Debian:3.0
before 011226.16
011226.16
kernel-source-2.4.19
Debian:3.0
before 2.4.19-0.020911.1.woody3
2.4.19-0.020911.1.woody3
kernel-patch-2.4.19-mips
Debian:3.0
before 2.4.19-4.woody1, plus listed versions
2.4.19-0.020911.1.woody42.4.19-0.020911.1.woody5
2.4.19-4.woody1
kernel-source-2.2.20
Debian:3.0
before 2.2.20-5woody3
2.2.20-5woody3
kernel-image-2.2.20-i386
Debian:3.0
before 2.2.20-5woody5
2.2.20-5woody5
kernel-image-2.2.20-reiserfs-i386
Debian:3.0
before 2.2.20-4woody1, plus listed versions
2.2.20-4
2.2.20-4woody1
kernel-image-2.2.20-amiga
Debian:3.0
before 2.20-4, plus listed versions
2.2.20-4
2.20-4
kernel-image-2.2.20-atari
Debian:3.0
before 2.2.20-3
2.2.20-3
kernel-image-2.2.20-bvme6000
Debian:3.0
before 2.2.20-3
2.2.20-3
kernel-image-2.2.20-mac
Debian:3.0
before 2.2.20-3
2.2.20-3
kernel-image-2.2.20-mvme147
Debian:3.0
before 2.2.20-3
2.2.20-3
kernel-image-2.2.20-mvme16x
Debian:3.0
before 2.2.20-3
2.2.20-3
kernel-patch-2.2.20-powerpc
Debian:3.0
before 2.2.20-3woody1
2.2.20-3woody1
kernel-source-2.2.22
Debian:3.0
before 2.2.22-1woody1
2.2.22-1woody1
kernel-image-2.2.22-alpha
Debian:3.0
before 2.2.22-2
2.2.22-2
kernel-source-2.2.19
Debian:3.0
before 2.2.19.1-4woody1
2.2.19.1-4woody1
kernel-patch-2.2.19-arm
Debian:3.0
before 20040303
20040303
kernel-image-2.2.19-netwinder
Debian:3.0
before 20040303
20040303
kernel-image-2.2.19-riscpc
Debian:3.0
before 20040303
20040303
kernel-source-2.2.10
Debian:3.0
before 2.2.10-2
2.2.10-2
kernel-image-2.2.10-powerpc-apus
Debian:3.0
before 2.2.10-13woody1, plus listed versions
2.2.10-13
2.2.10-13woody1
kernel-image-2.4.17-hppa
Debian:3.0
before 32.3
32.3
kernel-image-2.4.18-hppa
Debian:3.0
before 62.1
62.1
kernel
Red Hat:enterprise_linux:3::as
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-BOOT
Red Hat:enterprise_linux:3::as
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-debuginfo
Red Hat:enterprise_linux:3::as
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-doc
Red Hat:enterprise_linux:3::as
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-hugemem
Red Hat:enterprise_linux:3::as
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-hugemem-unsupported
Red Hat:enterprise_linux:3::as
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-smp
Red Hat:enterprise_linux:3::as
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-smp-unsupported
Red Hat:enterprise_linux:3::as
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-source
Red Hat:enterprise_linux:3::as
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-unsupported
Red Hat:enterprise_linux:3::as
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
s390utils
Red Hat:enterprise_linux:3::as
before 2:1.2.4-3
2:1.2.4-3
s390utils-debuginfo
Red Hat:enterprise_linux:3::as
before 2:1.2.4-3
2:1.2.4-3
kernel
Red Hat:enterprise_linux:3::desktop
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-BOOT
Red Hat:enterprise_linux:3::desktop
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-debuginfo
Red Hat:enterprise_linux:3::desktop
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-doc
Red Hat:enterprise_linux:3::desktop
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-hugemem
Red Hat:enterprise_linux:3::desktop
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-hugemem-unsupported
Red Hat:enterprise_linux:3::desktop
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-smp
Red Hat:enterprise_linux:3::desktop
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-smp-unsupported
Red Hat:enterprise_linux:3::desktop
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-source
Red Hat:enterprise_linux:3::desktop
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-unsupported
Red Hat:enterprise_linux:3::desktop
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel
Red Hat:enterprise_linux:3::es
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-BOOT
Red Hat:enterprise_linux:3::es
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-debuginfo
Red Hat:enterprise_linux:3::es
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-doc
Red Hat:enterprise_linux:3::es
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-hugemem
Red Hat:enterprise_linux:3::es
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-hugemem-unsupported
Red Hat:enterprise_linux:3::es
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-smp
Red Hat:enterprise_linux:3::es
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-smp-unsupported
Red Hat:enterprise_linux:3::es
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-source
Red Hat:enterprise_linux:3::es
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-unsupported
Red Hat:enterprise_linux:3::es
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel
Red Hat:enterprise_linux:3::ws
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-BOOT
Red Hat:enterprise_linux:3::ws
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-debuginfo
Red Hat:enterprise_linux:3::ws
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-doc
Red Hat:enterprise_linux:3::ws
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-hugemem
Red Hat:enterprise_linux:3::ws
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-hugemem-unsupported
Red Hat:enterprise_linux:3::ws
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-smp
Red Hat:enterprise_linux:3::ws
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-smp-unsupported
Red Hat:enterprise_linux:3::ws
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-source
Red Hat:enterprise_linux:3::ws
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL
kernel-unsupported
Red Hat:enterprise_linux:3::ws
before 0:2.4.21-9.0.1.EL
0:2.4.21-9.0.1.EL

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBLinux Kernel 2.2.25/2.4.24/2.6.2 - 'mremap()' Validator2004-02-18
Exploit-DBLinux Kernel 2.2.25/2.4.24/2.6.2 - 'mremap()' Local Privilege Escalation2004-03-01
PoC in GitHub0b0111100/20042026-09-07

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2004-0077 is a high vulnerability (CVSS 7.2) in Netwosix Linux, published February 18, 2004. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 2.45%, the 84th percentile. Fixed in kernel-source-2.4.18 2.4.18-14.2.

References

Show 44 moreShow less
MoveEnter Open