{
    "id": "CVE-2009-2626",
    "published": "2009-12-01 16:30:01",
    "last_modified": "2026-06-16 23:09:52",
    "cvss_score": "6.4",
    "cvss_severity": "MEDIUM",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:L/Au:N/C:P/I:N/A:P",
    "cwe": null,
    "description": "The zend_restore_ini_entry_cb function in zend_ini.c in PHP 5.3.0, 5.2.10, and earlier versions allows context-specific attackers to obtain sensitive information (memory contents) and cause a PHP crash by using the ini_set function to declare a variable, then using the ini_restore function to restore the variable.",
    "epss_score": "0.08306",
    "epss_percentile": "0.94750",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-29 18:17:08",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "php",
            "product": "php"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "10296",
            "title": "PHP 5.2.10/5.3.0 - 'ini_restore()' Memory Information Disclosure",
            "date": "2009-12-03",
            "url": "https://www.exploit-db.com/exploits/10296"
        },
        {
            "source": "exploit-db",
            "ref_id": "33162",
            "title": "PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (1)",
            "date": "2009-08-10",
            "url": "https://www.exploit-db.com/exploits/33162"
        },
        {
            "source": "exploit-db",
            "ref_id": "33163",
            "title": "PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (2)",
            "date": "2009-08-10",
            "url": "https://www.exploit-db.com/exploits/33163"
        }
    ],
    "refs_list": [
        "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540605",
        "http://secunia.com/advisories/37482",
        "http://securityreason.com/achievement_securityalert/65",
        "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/Zend/zend_ini.c?r1=272370&r2=284156",
        "http://www.debian.org/security/2009/dsa-1940",
        "http://www.securityfocus.com/bid/36009",
        "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540605",
        "http://secunia.com/advisories/37482",
        "http://securityreason.com/achievement_securityalert/65",
        "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/Zend/zend_ini.c?r1=272370&r2=284156",
        "http://www.debian.org/security/2009/dsa-1940",
        "http://www.securityfocus.com/bid/36009"
    ]
}