Skip to content
OpenAdvisories
Unscored CVE-2009-1271 EUVD-2009-1270GHSA-2c9q-p5rf-5vp8

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 Apr 8, 2009 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 php5 5.2.6.dfsg.1-1+lenny3 DSA-1789-1
Debian 4.0 php-json-ext 1.2.1-3.2+etch1 DSA-1775-1
Debian 4.0 php5 5.2.0+dfsg-8+etch15 DSA-1789-1
ReleasePackageFixed inAdvisory
Red Hat Rhel Application Stack 2 php +18 5.2.6-4.el5s2 RHSA-2009:0350

Advisories 3

References