---
title: "CVE-2009-1271\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2009-1271?format=md
keywords: index, follow
---

# CVE-2009-1271

Publication date 8 April 2009

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php-json-ext | 9.10 karmic | Not in release |
| 9.04 jaunty | Not in release |
| 8.10 intrepid | Not in release |
| 8.04 LTS hardy | Not in release |
| 7.10 gutsy | Not in release |
| 6.06 LTS dapper | Ignored end of life |
| php5 | 9.10 karmic | Not affected |
| 9.04 jaunty | Fixed 5.2.6.dfsg.1-3ubuntu4.1 |
| 8.10 intrepid | Fixed 5.2.6-2ubuntu4.2 |
| 8.04 LTS hardy | Fixed 5.2.4-2ubuntu5.6 |
| 7.10 gutsy | Ignored end of life, was needed |
| 6.06 LTS dapper | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2009-1271?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| php5 | * Upstream:   <http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.1.2.14&r2=1.1.2.15> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1271)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2009-1271)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2009-1271)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2009-1271)

### Related Ubuntu Security Notices (USN)

+ [USN-761-1](https://usn.ubuntu.com/USN-761-1)
+ PHP vulnerabilities
+ 20 April 2009

+ [USN-761-2](https://usn.ubuntu.com/USN-761-2)
+ PHP vulnerabilities
+ 27 April 2009

### Other references

* <http://www.php.net/releases/5_2_9.php>
* <https://www.cve.org/CVERecord?id=CVE-2009-1271>
