php: crash on malformed input in json_decode()
Published Apr 8, 2009
5.0
MEDIUMCVSS 2.0
EPSS 2.40%
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
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
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
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.40% (0.02396) | 83.40th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.40% (0.02396) | 81.78th | v5 (v2026.06.15) |
| Dec 28, 2025 | 10.22% (0.10218) | 92.89th | v4 (v2025.03.14) |
| Dec 27, 2025 | 8.80% (0.08804) | 92.27th | v4 (v2025.03.14) |
| Oct 28, 2025 | 10.22% (0.10218) | 92.79th | v4 (v2025.03.14) |
| Oct 27, 2025 | 8.80% (0.08804) | 92.17th | v4 (v2025.03.14) |
| Oct 1, 2025 | 10.22% (0.10218) | 92.90th | v4 (v2025.03.14) |
| Jul 30, 2025 | 8.80% (0.08804) | 92.15th | v4 (v2025.03.14) |
| Mar 30, 2025 | 10.22% (0.10218) | 92.41th | v4 (v2025.03.14) |
| Mar 29, 2025 | 19.15% (0.19150) | 92.38th | v4 (v2025.03.14) |
| Mar 19, 2025 | 10.22% (0.10218) | 92.16th | v4 (v2025.03.14) |
| Mar 17, 2025 | 6.17% (0.06175) | 90.14th | v4 (v2025.03.14) |
| Dec 12, 2024 | 9.56% (0.09560) | 95.02th | v3 (v2023.03.01) |
| Mar 7, 2023 | 8.93% (0.08926) | 93.56th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.36% (0.04358) | 88.02th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.36% (0.04358) | 86.83th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.36% (0.04358) | 70.59th | v2 (v2022.01.01) |
No CWE recorded.
References (26)
- http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.1.2.14&r2=1.1.2.15 x_refsource_MISC
- http://lists.apple.com/archives/security-announce/2009/Sep/msg00004.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-security-announce/2009-07/msg00002.html vendor-advisoryx_refsource_SUSE
- http://secunia.com/advisories/34770 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/34830 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/34933 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/35003 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/35007 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/35306 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/35685 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/36701 third-party-advisoryx_refsource_SECUNIA
- http://support.apple.com/kb/HT3865 x_refsource_CONFIRM
- http://www.debian.org/security/2009/dsa-1775 vendor-advisoryx_refsource_DEBIAN
- http://www.debian.org/security/2009/dsa-1789 vendor-advisoryx_refsource_DEBIAN
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:090 vendor-advisoryx_refsource_MANDRIVA
- http://www.openwall.com/lists/oss-security/2009/04/01/9 mailing-listx_refsource_MLIST
- http://www.php.net/releases/5_2_9.php x_refsource_CONFIRMVendor Advisory
- http://www.redhat.com/support/errata/RHSA-2009-0350.html vendor-advisoryx_refsource_REDHAT
- http://www.ubuntu.com/usn/USN-761-2 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2009-1271 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=494530 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2009-1271
- https://usn.ubuntu.com/761-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2009-1271
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html vendor-advisoryx_refsource_FEDORA
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html vendor-advisoryx_refsource_FEDORA
Change history (0)
No recorded changes yet.