Input validation error in PHP - CVE-2009-1271

 

Input validation error in PHP - CVE-2009-1271

Published: October 3, 2018 / Updated: June 8, 2025


Vulnerability identifier: #VU110327
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2009-1271
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

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.


Affected software

PHP

How to mitigate CVE-2009-1271

Install update from vendor's website.

PHP - update to 5.2.9

External References

Related Security Bulletins