{"id":"CVE-2009-1271","aliases":["DEBIAN-CVE-2009-1271","DSA-1775-1","DSA-1789-1","EUVD-2009-1270","GHSA-2c9q-p5rf-5vp8","RHSA-2009:0350"],"status":"published","title":"The JSON_parser function (ext/json/JSON_parser.c) in PHP 5.2.x before 5.2.9 allows remote...","description":"The JSON_parser function (ext/json/JSON_parser.c) in PHP 5.2.x before 5.2.9 allows remote attackers to cause a denial of service (segmentation fault) via a malformed string to the json_decode API function.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02396,"percentile":0.84108,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2009-04-08T18:00:00Z","modified":"2026-06-16T23:06:54Z","fixes":[{"ecosystem":"Debian:4.0","package":"php-json-ext","fixed_in":["1.2.1-3.2+etch1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"php-json-ext","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1-3.2+etch1"}]}],"versions":["1.2.1-3.2"]},{"source":"osv","ecosystem":"Debian:4.0","package":"php5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0+dfsg-8+etch15"}]}],"versions":["5.2.0-10","5.2.0-10+lenny1","5.2.0-11","5.2.0-8+etch1","5.2.0-8+etch10","5.2.0-8+etch11","5.2.0-8+etch11~p1","5.2.0-8+etch13","5.2.0-8+etch3","5.2.0-8+etch4","5.2.0-8+etch5~pu1","5.2.0-8+etch6","5.2.0-8+etch7","5.2.0-8+etch8","5.2.0-8+etch9","5.2.0-8+etch9~bpo31+1","5.2.0-9"],"bundled":8},{"source":"osv","ecosystem":"Debian:5.0","package":"php5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.6.dfsg.1-1+lenny3"}]}],"versions":["5.2.6.dfsg.1-1+lenny2"],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-bcmath","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-cli","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-dba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-gd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-imap","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-ldap","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-mbstring","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-odbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-pdo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-pgsql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-snmp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-soap","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-xml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_application_stack:2","package":"php-xmlrpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.2.6-4.el5s2"}]}],"bundled":8}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2009/04/01/9","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.debian.org/security/2009/dsa-1775","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.1.2.14\u0026r2=1.1.2.15","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://secunia.com/advisories/34770","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2009/Sep/msg00004.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.php.net/releases/5_2_9.php","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/35007","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/34933","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/34830","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-761-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2009-0350.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://secunia.com/advisories/35003","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/35685","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-07/msg00002.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://support.apple.com/kb/HT3865","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/36701","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:090","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/35306","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://usn.ubuntu.com/761-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.debian.org/security/2009/dsa-1789","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-1271","tags":["advisory"]},{"url":"https://usn.ubuntu.com/761-1"},{"url":"https://github.com/advisories/GHSA-2c9q-p5rf-5vp8"},{"url":"https://access.redhat.com/errata/RHSA-2009:0350","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=459529","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=459572","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=474824","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=478425","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=478848","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=479272","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=480167","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=494530","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_0350.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-3658","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-3658","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-3658","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-3660","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-3660","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-3660","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-5498","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-5498","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5498","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-5557","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-5557","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5557","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-5658","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-5658","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5658","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-5814","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-5814","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5814","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2009-0754","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2009-0754","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-0754","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2009-1271","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2009-1271","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2009-1271","description":"The JSON_parser function (ext/json/JSON_parser.c) in PHP 5.2.x before 5.2.9 allows remote attackers to cause a denial of service (segmentation fault) via a malformed string to the json_decode API function.","status":"published","published":"2009-04-08T18:00:00Z","modified":"2024-08-07T05:04:49.407Z","updated_at":"2026-11-02T14:33:25.516454Z"}],"euvd":[{"id":"EUVD-2009-1270","description":"The JSON_parser function (ext/json/JSON_parser.c) in PHP 5.2.x before 5.2.9 allows remote attackers to cause a denial of service (segmentation fault) via a malformed string to the json_decode API function.","status":"published","published":"2009-04-08T18:00:00Z","modified":"2024-08-07T05:04:49Z","updated_at":"2026-11-03T01:39:22.412498Z"}],"ghsa":[{"id":"GHSA-2c9q-p5rf-5vp8","title":"The JSON_parser function (ext/json/JSON_parser.c) in PHP 5.2.x before 5.2.9 allows remote...","description":"The JSON_parser function (ext/json/JSON_parser.c) in PHP 5.2.x before 5.2.9 allows remote attackers to cause a denial of service (segmentation fault) via a malformed string to the json_decode API function.","status":"published","published":"2022-05-02T03:23:15Z","modified":"2025-04-09T04:08:55Z","updated_at":"2026-11-02T15:01:00.026247Z"}],"nvd":[{"id":"CVE-2009-1271","description":"The JSON_parser function (ext/json/JSON_parser.c) in PHP 5.2.x before 5.2.9 allows remote attackers to cause a denial of service (segmentation fault) via a malformed string to the json_decode API function.","status":"published","published":"2009-04-08T18:30:00.187Z","modified":"2026-06-16T23:06:54.82Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:34.44527Z"}],"osv":[{"id":"DSA-1775-1","title":"php-json-ext - denial of service","status":"published","published":"2009-04-20T00:00:00Z","modified":"2026-03-09T01:21:40.6987Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"DSA-1789-1","title":"php5 - several vulnerabilities","status":"published","published":"2009-05-04T00:00:00Z","modified":"2026-03-09T01:21:04.686666Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"RHSA-2009:0350","title":"Red Hat Security Advisory: php security update","status":"published","published":"2024-09-15T17:47:04Z","modified":"2025-11-22T10:20:02Z","updated_at":"2026-11-02T15:53:00.468834Z"}]}}
