CVE-2009-1271
The JSON_parser function (ext/json/JSON_parser.c) in PHP 5.2.x before 5.2.9 allows remote...
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2009-1271- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2009-1271- Updated
- 2026-11-02
EUVDEUVD-2009-1270 No score
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.
- Record
EUVD-2009-1270- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2c9q-p5rf-5vp8 No score
The JSON_parser function (ext/json/JSON_parser.c) in PHP 5.2.x before 5.2.9 allows remote...
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.
- Record
GHSA-2c9q-p5rf-5vp8- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
php-json-extDebian:4.0 |
before 1.2.1-3.2+etch1, plus listed versions 1.2.1-3.2 |
1.2.1-3.2+etch1 |
php5Debian:4.0 From an advisory covering 8 CVEs |
before 5.2.0+dfsg-8+etch15, plus listed versions 5.2.0-105.2.0-10+lenny15.2.0-115.2.0-8+etch15.2.0-8+etch10 Show 12 moreShow less5.2.0-8+etch115.2.0-8+etch11~p15.2.0-8+etch135.2.0-8+etch35.2.0-8+etch45.2.0-8+etch5~pu15.2.0-8+etch65.2.0-8+etch75.2.0-8+etch85.2.0-8+etch95.2.0-8+etch9~bpo31+15.2.0-9 |
5.2.0+dfsg-8+etch15 |
php5Debian:5.0 From an advisory covering 8 CVEs |
before 5.2.6.dfsg.1-1+lenny3, plus listed versions 5.2.6.dfsg.1-1+lenny2 |
5.2.6.dfsg.1-1+lenny3 |
phpRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-bcmathRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-cliRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-commonRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-dbaRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-debuginfoRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-develRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
php-gdRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-imapRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-ldapRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-mbstringRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-mysqlRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-ncursesRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-odbcRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-pdoRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-pgsqlRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-snmpRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-soapRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-xmlRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
php-xmlrpcRed Hat:rhel_application_stack:2 From an advisory covering 8 CVEs |
before 0:5.2.6-4.el5s2 | 0:5.2.6-4.el5s2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2009-1271 is a medium vulnerability (CVSS 5.0) in Php, published April 8, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.40%, the 84th percentile. Fixed in php-json-ext 1.2.1-3.2+etch1.
References
openwall.com/lists/oss-security/2009/04/01/9
debian.org/security/2009/dsa-1775
redhat.com/archives/fedora-package-announce/2009-May/msg01451.html
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
lists.apple.com/archives/security-announce/2009/Sep/msg00004.html
Show 52 moreShow less
php.net/releases/5_2_9.php
secunia.com/advisories/35007
secunia.com/advisories/34933
secunia.com/advisories/34830
ubuntu.com/usn/USN-761-2
redhat.com/support/errata/RHSA-2009-0350.html
redhat.com/archives/fedora-package-announce/2009-May/msg01465.html
secunia.com/advisories/35003
secunia.com/advisories/35685
lists.opensuse.org/opensuse-security-announce/2009-07/msg00002.html
support.apple.com/kb/HT3865
secunia.com/advisories/36701
mandriva.com/security/advisories?name=MDVSA-2009:090
secunia.com/advisories/35306
usn.ubuntu.com/761-1
debian.org/security/2009/dsa-1789
nvd.nist.gov/vuln/detail/CVE-2009-1271
github.com/advisories/GHSA-2c9q-p5rf-5vp8
access.redhat.com/errata/RHSA-2009:0350
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=459529
bugzilla.redhat.com/show_bug.cgi?id=459572
bugzilla.redhat.com/show_bug.cgi?id=474824
bugzilla.redhat.com/show_bug.cgi?id=478425
bugzilla.redhat.com/show_bug.cgi?id=478848
bugzilla.redhat.com/show_bug.cgi?id=479272
bugzilla.redhat.com/show_bug.cgi?id=480167
bugzilla.redhat.com/show_bug.cgi?id=494530
security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_0350.json
access.redhat.com/security/cve/CVE-2008-3658
cve.org/CVERecord?id=CVE-2008-3658
nvd.nist.gov/vuln/detail/CVE-2008-3658
access.redhat.com/security/cve/CVE-2008-3660
cve.org/CVERecord?id=CVE-2008-3660
nvd.nist.gov/vuln/detail/CVE-2008-3660
access.redhat.com/security/cve/CVE-2008-5498
cve.org/CVERecord?id=CVE-2008-5498
nvd.nist.gov/vuln/detail/CVE-2008-5498
access.redhat.com/security/cve/CVE-2008-5557
cve.org/CVERecord?id=CVE-2008-5557
nvd.nist.gov/vuln/detail/CVE-2008-5557
access.redhat.com/security/cve/CVE-2008-5658
cve.org/CVERecord?id=CVE-2008-5658
nvd.nist.gov/vuln/detail/CVE-2008-5658
access.redhat.com/security/cve/CVE-2008-5814
cve.org/CVERecord?id=CVE-2008-5814
nvd.nist.gov/vuln/detail/CVE-2008-5814
access.redhat.com/security/cve/CVE-2009-0754
cve.org/CVERecord?id=CVE-2009-0754
nvd.nist.gov/vuln/detail/CVE-2009-0754
access.redhat.com/security/cve/CVE-2009-1271
cve.org/CVERecord?id=CVE-2009-1271