Back

MEDIUM

php: crash on malformed input in json_decode()

Published Apr 8, 2009

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.

Affected products

Remediation

Red Hat statement

This 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.

Metrics

Weaknesses (0)

No CWE recorded.

References (26)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Apr 8, 2009
Updated Aug 7, 2024
Reserved Apr 8, 2009
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Low
Public date Dec 19, 2008