CVE-2009-1271 Denial of service in n/a
Remote attackers can cause a denial of service via segmentation fault in PHP's JSON parser by sending malformed strings to json_decode.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2009-1271?
CVE-2009-1271 is a medium-severity denial of service vulnerability in Php Php, published on 8 Apr 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2009-1271?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2009-1271?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2009-1271 being exploited?
There is no known exploitation of CVE-2009-1271 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as DSA-1775-1, GHSA-2c9q-p5rf-5vp8.