CVE-2013-2171
mediumpriority · track · 40EPSS 0.069 · 94 %ileexploit · weaponizedEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (4)
Public proof-of-concept and weaponised exploit code.
- exploit/freebsd/local/mmapFreeBSD 9 Address Space Manipulation Privilege Escalationweaponized · metasploit
- EDB-26368FreeBSD 9.0 < 9.1 - 'mmap/ptrace' Local Privilege Escalationfunctional · exploit_db
- EDB-26454FreeBSD 9 - Address Space Manipulation Privilege Escalation (Metasploit)functional · exploit_db
- 0xGabe/FreeBSD-9.0-9.1-Privilege-EscalationCVE-2013-2171PoC · poc_in_github
affected products (3)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- http://svnweb.freebsd.org/base?view=revision&revision=251901cnnvd
- http://www.debian.org/security/2013/dsa-2714cnnvd
- http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asccnnvd
- http://svnweb.freebsd.org/base?view=revision&revision=251901enisa_euvd
- http://www.debian.org/security/2013/dsa-2714enisa_euvd
- http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.ascenisa_euvd
- http://svnweb.freebsd.org/base?view=revision&revision=251901nvd
- http://www.debian.org/security/2013/dsa-2714nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan