Every CVE Search/ Get API key

CVE-2013-2171

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD...

6.9 MediumPublic exploitFix available

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEASE-p4 does not properly determine whether a task should have write access to a memory location, which allows local users to bypass filesystem write permissions and consequently gain privileges via a crafted application that leverages read permissions, and makes mmap and ptrace system calls.

Exploit likelihood

6.94%Up 5.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.9

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEASE-p4 does not properly determine whether a task should have write access to a memory location, which allows local users to bypass filesystem write permissions and consequently gain privileges via a crafted application that leverages read permissions, and makes mmap and ptrace system calls.

Record
CVE-2013-2171
CVSS 2.0
6.9 MediumAV:L/AC:M/Au:N/C:C/I:C/A:C
Weakness
CWE-264
Updated
2026-11-02
CVE List No score

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEASE-p4 does not properly determine whether a task should have write access to a memory location, which allows local users to bypass filesystem write permissions and consequently gain privileges via a crafted application that leverages read permissions, and makes mmap and ptrace system calls.

Record
CVE-2013-2171
Updated
2026-11-02
EUVDEUVD-2013-2131 No score

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEASE-p4 does not properly determine whether a task should have write access to a memory location, which allows local users to bypass filesystem write permissions and consequently gain privileges via a crafted application that leverages read permissions, and makes mmap and ptrace system calls.

Record
EUVD-2013-2131
Updated
2026-11-03
GitHub AdvisoriesGHSA-gmfh-rp5h-w5mv No score

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD...

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEASE-p4 does not properly determine whether a task should have write access to a memory location, which allows local users to bypass filesystem write permissions and consequently gain privileges via a crafted application that leverages read permissions, and makes mmap and ptrace system calls.

Record
GHSA-gmfh-rp5h-w5mv
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
kfreebsd-9
Debian:7
before 9.0-10+deb70.2, plus listed versions
9.0-109.0-10+deb70.1
9.0-10+deb70.2

Public exploits

Links only. Every CVE stores no exploit code.

History

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

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

In short

CVE-2013-2171 is a medium vulnerability (CVSS 6.9) in Freebsd, published June 25, 2013. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 6.94%, the 94th percentile. Fixed in kfreebsd-9 9.0-10+deb70.2.

References

MoveEnter Open