{
    "id": "CVE-2007-2052",
    "published": "2007-04-16 22:19:00",
    "last_modified": "2026-06-16 22:38:49",
    "cvss_score": "5.0",
    "cvss_severity": "MEDIUM",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
    "cwe": "CWE-193",
    "description": "Off-by-one error in the PyLocale_strxfrm function in Modules/_localemodule.c for Python 2.4 and 2.5 causes an incorrect buffer size to be used for the strxfrm function, which allows context-dependent attackers to read portions of memory via unknown manipulations that trigger a buffer over-read due to missing null termination.",
    "epss_score": "0.13637",
    "epss_percentile": "0.96355",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-28 18:17:06",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "python",
            "product": "python"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "30018",
            "title": "Python 2.5 - 'PyLocale_strxfrm' Remote Information Leak",
            "date": "2007-05-08",
            "url": "https://www.exploit-db.com/exploits/30018"
        }
    ],
    "refs_list": [
        "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416934",
        "http://lists.vmware.com/pipermail/security-announce/2008/000005.html",
        "http://secunia.com/advisories/25190",
        "http://secunia.com/advisories/25217",
        "http://secunia.com/advisories/25233",
        "http://secunia.com/advisories/25353",
        "http://secunia.com/advisories/25787",
        "http://secunia.com/advisories/28027",
        "http://secunia.com/advisories/28050",
        "http://secunia.com/advisories/29032",
        "http://secunia.com/advisories/29303",
        "http://secunia.com/advisories/29889",
        "http://secunia.com/advisories/31255",
        "http://secunia.com/advisories/31492",
        "http://secunia.com/advisories/37471",
        "http://www.debian.org/security/2008/dsa-1551",
        "http://www.debian.org/security/2008/dsa-1620",
        "http://www.mandriva.com/security/advisories?name=MDKSA-2007:099",
        "http://www.novell.com/linux/security/advisories/2007_13_sr.html",
        "http://www.python.org/download/releases/2.5.1/NEWS.txt",
        "http://www.redhat.com/support/errata/RHSA-2007-1076.html",
        "http://www.redhat.com/support/errata/RHSA-2007-1077.html",
        "http://www.redhat.com/support/errata/RHSA-2008-0629.html",
        "http://www.securityfocus.com/archive/1/469294/30/6450/threaded",
        "http://www.securityfocus.com/archive/1/488457/100/0/threaded"
    ]
}