CVE-2009-1271 json
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 (segmentat…
published 2009-04-08 17 y ago modified 2026-06-16 4 mo ago also EUVD-2009-1270
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-gd RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-cli RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-dba RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-pdo RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-xml RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-imap RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
- php-ldap RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
red hat advisories RHSA-2009:0350
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-1271 updated cvss 4.3
php: crash on malformed input in json_decode()
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.40% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Technology feeds
References
-
debian.org
/security/2009/dsa-1775
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2009-May/msg01451.html
vendor-advisory
-
lists.apple.com
/archives/security-announce/2009/Sep/msg00004.html
vendor-advisory
-
ubuntu.com
/usn/USN-761-2
vendor-advisory
-
redhat.com
/support/errata/RHSA-2009-0350.html
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2009-May/msg01465.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2009-07/msg00002.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2009:090
vendor-advisory
-
usn.ubuntu.com
/761-1/
vendor-advisory
-
debian.org
/security/2009/dsa-1789
vendor-advisory
-
php.net
/releases/5_2_9.php
vendor-advisory
-
openwall.com
/lists/oss-security/2009/04/01/9
mailing-list
- cvs.php.net /viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.1.2.14&r2=1.1.2.15
-
secunia.com
/advisories/34770
third-party-advisory
-
secunia.com
/advisories/35007
third-party-advisory
-
secunia.com
/advisories/34933
third-party-advisory
-
secunia.com
/advisories/34830
third-party-advisory
-
secunia.com
/advisories/35003
third-party-advisory
-
secunia.com
/advisories/35685
third-party-advisory
- support.apple.com /kb/HT3865
-
secunia.com
/advisories/36701
third-party-advisory
-
secunia.com
/advisories/35306
third-party-advisory
Sources
- CVE List CVE-2009-1271
- NVD CVE-2009-1271
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.