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.
CVE-2013-2171
This CVE was only ever scored under CVSS v2.0. NVD CVSS v2.0 base 6.9 — v2 rates that MEDIUM (v2 bands: LOW 0.0–3.9 / MEDIUM 4.0–6.9 / HIGH 7.0–10.0; v2 has no CRITICAL band). Vector AV:L/AC:M/Au:N/C:C/I:C/A:C. CVSS v2 is an older, coarser metric than v3.1/v4.0 (no Scope, no User Interaction, no Attack Requirements), so it is not directly comparable to a v3 or v4 score. NVD has never re-scored this record under v3. EPSS predicts 6.9% exploitation probability in the next 30 days, which is reflected in EG Risk but does not lift the v2 base. Confidence: LOW.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v2.0 (legacy)
- 6.9MEDIUMNVD never assigned a CVSS v3 rating to this CVE
- EG Score
- 6.9MEDIUMlow confidence
- EG Risk
- 62EG Risk 62/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity69% × 45%Exploitation65% × 40%Automatability30% × 15%CISA SSVC: Track at low, Track or Track* at medium and Track* or Attend at high mission impact.Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 6.9%
- EPSS %ILE
- 93rd
- KEV
- Not listed
CISA SSVCTrack at low, Track or Track* at medium and Track* or Attend at high mission impact.
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation public PoC (EG-KEV: weaponized) · Automatable unknown (not published for this CVE) · Technical impact unknown (not published for this CVE). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
July 2, 2013
Last Modified
April 29, 2026
References (6)
- secalert@redhathttp://svnweb.freebsd.org/base?view=revision&revision=251901
- secalert@redhathttp://www.debian.org/security/2013/dsa-2714
- secalert@redhathttp://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc
- af854a3a-2127-422b-91ae-364da2661108http://svnweb.freebsd.org/base?view=revision&revision=251901
- af854a3a-2127-422b-91ae-364da2661108http://www.debian.org/security/2013/dsa-2714
- af854a3a-2127-422b-91ae-364da2661108http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc
Affected Packages
(1 across 1 ecosystem)
Debian:7(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| kfreebsd-9 | 9.0-10, 9.0-10+deb70.1 |
| — |
Data Freshness Timeline
(refreshed 4× in last 7d / 14× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 122 total refreshes for this CVE.
- 2026-10-05 17:38 UTCEPSS rescore
- 2026-10-04 23:16 UTCEPSS rescore
- 2026-09-30 14:58 UTCEPSS rescore
- 2026-09-29 20:15 UTCEG score recompute
- 2026-09-27 13:39 UTCEPSS rescore
- 2026-09-26 15:52 UTCEPSS rescore
- 2026-09-24 13:57 UTCEPSS rescore
- 2026-09-18 19:21 UTCEPSS rescore
- 2026-09-15 03:04 UTCEPSS rescore
- 2026-09-13 16:40 UTCEPSS rescore
- 2026-09-12 14:55 UTCEPSS rescore
- 2026-09-11 09:30 UTCEPSS rescore
- 2026-09-07 15:56 UTCEPSS rescore
- 2026-09-06 13:42 UTCEPSS rescore
- 2026-09-05 15:22 UTCEPSS rescore
- 2026-09-04 13:55 UTCEPSS rescore
- 2026-09-02 14:06 UTCEPSS rescore
- 2026-09-01 13:47 UTCEPSS rescore
- 2026-08-27 14:20 UTCEPSS rescore
- 2026-08-26 14:40 UTCEPSS rescore
- 2026-08-25 13:43 UTCEPSS rescore
- 2026-08-24 07:23 UTCEPSS rescore
- 2026-08-21 23:44 UTCEPSS rescore
- 2026-08-20 22:50 UTCEPSS rescore
- 2026-08-19 16:59 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-18 13:42 UTCEPSS rescore
- 2026-08-16 02:09 UTCEPSS rescore
- 2026-08-15 01:25 UTCEPSS rescore
- 2026-08-12 13:45 UTCEPSS rescore
- 2026-08-09 13:42 UTCEPSS rescore
- 2026-08-08 16:31 UTCEPSS rescore
- 2026-08-07 16:21 UTCEPSS rescore
- 2026-08-06 13:42 UTCEPSS rescore
- 2026-08-05 19:12 UTCEPSS rescore
- 2026-08-04 15:04 UTCEPSS rescore
- 2026-08-02 02:22 UTCEPSS rescore
- 2026-07-30 01:26 UTCEPSS rescore
- 2026-07-28 15:31 UTCEPSS rescore
- 2026-07-26 13:47 UTCEG score recompute▲ 6.90
- 2026-07-25 14:12 UTCEPSS rescore
- 2026-07-23 14:14 UTCEPSS rescore
- 2026-07-23 01:09 UTCEG score recompute
- 2026-07-23 00:13 UTCEG score recompute
- 2026-07-22 21:51 UTCEG score recompute
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-20 17:03 UTCEPSS rescore
- 2026-07-20 17:03 UTCEPSS rescore
- 2026-07-19 14:27 UTCEPSS rescore
- 2026-07-19 14:27 UTCEPSS rescore
- 2026-07-19 02:25 UTCEPSS rescore
- 2026-07-19 02:25 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-16 16:58 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-11 08:23 UTCEPSS rescore
- 2026-07-09 19:05 UTCEPSS rescore
- 2026-07-08 15:10 UTCEPSS rescore
- 2026-07-06 02:19 UTCEPSS rescore
- 2026-07-06 02:19 UTCEPSS rescore
- 2026-07-05 02:26 UTCEPSS rescore
- 2026-07-04 06:27 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:44 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-11 13:56 UTCEPSS rescore
- 2026-06-10 13:18 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
Publicly available exploits
(3 references)Working exploit code is in the public domain (1 Metasploit module) (2 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-26454✓ verifiedFirst seen Jun 26, 2013
FreeBSD 9 - Address Space Manipulation Privilege Escalation (Metasploit)
Open source ↗ - Exploit-DBEDB-26368✓ verifiedFirst seen Jun 21, 2013
FreeBSD 9.0 < 9.1 - 'mmap/ptrace' Local Privilege Escalation
Open source ↗ - Metasploitexploit/freebsd/local/mmap✓ verifiedFirst seen Jun 18, 2013
FreeBSD 9 Address Space Manipulation Privilege Escalation
Open source ↗
Related CVEs(same product)
Frequently asked(4)
What is CVE-2013-2171?
When was CVE-2013-2171 disclosed?
Is CVE-2013-2171 actively exploited?
How do I remediate CVE-2013-2171?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2013-2171
Is Your Infrastructure Affected by CVE-2013-2171?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.