CVE-2009-1271

Summary

CVECVE-2009-1271
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2009-04-08 18:30:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:N/I:N/A:P

Problem Types: NVD-CWE-Other | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial

AV:N/AC:L/Au:N/C:N/I:N/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php 5.2.0 All All All
Application Php Php 5.2.1 All All All
Application Php Php 5.2.2 All All All
Application Php Php 5.2.3 All All All
Application Php Php 5.2.4 All All All
Application Php Php 5.2.4 All windows All
Application Php Php 5.2.5 All All All
Application Php Php 5.2.6 All All All
Application Php Php 5.2.7 All All All
Application Php Php 5.2.8 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c af854a3a-2127-422b-91ae-364da2661108 cvs.php.net
Fedora update for php - Advisories - Community af854a3a-2127-422b-91ae-364da2661108 secunia.com
[SECURITY] Fedora 9 Update: maniadrive-1.2-13.fc9 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Debian update for php-json-ext - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Ubuntu update for php5 - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
USN-761-2: PHP vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Support / Security / Advisories / / MDVSA-2009:090 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Apple Mac OS X Security Update Fixes Multiple Vulnerabilities - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
PHP: PHP 5.2.9 Release Announcement af854a3a-2127-422b-91ae-364da2661108 www.php.net Vendor Advisory
USN-761-1: PHP vulnerabilities | Ubuntu security notices af854a3a-2127-422b-91ae-364da2661108 usn.ubuntu.com
Ubuntu update for php5 - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Debian -- Security Information -- DSA-1775-1 php-json-ext af854a3a-2127-422b-91ae-364da2661108 www.debian.org
[SECURITY] Fedora 10 Update: maniadrive-1.2-13.fc10 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Debian update for php5 - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
About Security Update 2009-005 af854a3a-2127-422b-91ae-364da2661108 support.apple.com
oss-security - CVE request: PHP 5.2.9 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Debian update for php5 - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
SUSE Update for Multiple Packages - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
APPLE-SA-2009-09-10-2 Security Update 2009-005 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com
Debian -- Security Information -- DSA-1789-1 php5 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
[security-announce] SUSE Security Summary Report: SUSE-SR:2009:012 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2009-04-15Tomas HogerThis issue did not affect PHP versions as shipped in Red Hat Enterprise Linux 2.1, 3, 4, and 5, and Red Hat Application Stack v1. PHP version in Red Hat Application Stack v2 was fixed via: https://rhn.redhat.com/errata/RHSA-2009-0350.html

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report