{
    "id": "CVE-2013-2171",
    "published": "2013-07-02 03:43:33",
    "last_modified": "2026-06-16 23:52:52",
    "cvss_score": "6.9",
    "cvss_severity": "MEDIUM",
    "cvss_version": "2.0",
    "cvss_vector": "AV:L/AC:M/Au:N/C:C/I:C/A:C",
    "cwe": "CWE-264",
    "description": "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.",
    "epss_score": "0.06942",
    "epss_percentile": "0.93907",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-30 18:17:11",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "freebsd",
            "product": "freebsd"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "26454",
            "title": "FreeBSD 9 - Address Space Manipulation Privilege Escalation (Metasploit)",
            "date": "2013-06-26",
            "url": "https://www.exploit-db.com/exploits/26454"
        },
        {
            "source": "exploit-db",
            "ref_id": "26368",
            "title": "FreeBSD 9.0 < 9.1 - 'mmap/ptrace' Local Privilege Escalation",
            "date": "2013-06-21",
            "url": "https://www.exploit-db.com/exploits/26368"
        }
    ],
    "refs_list": [
        "http://svnweb.freebsd.org/base?view=revision&revision=251901",
        "http://www.debian.org/security/2013/dsa-2714",
        "http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc",
        "http://svnweb.freebsd.org/base?view=revision&revision=251901",
        "http://www.debian.org/security/2013/dsa-2714",
        "http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc"
    ]
}