---
title: "CVE-2013-4248\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-2013-4248?format=md
keywords: index, follow
---

# CVE-2013-4248

Publication date 17 August 2013

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

The openssl\_x509\_parse function in openssl.c in the OpenSSL module in PHP
before 5.4.18 and 5.5.x before 5.5.2 does not properly handle a '\0'
character in a domain name in the Subject Alternative Name field of an
X.509 certificate, which allows man-in-the-middle attackers to spoof
arbitrary SSL servers via a crafted certificate issued by a legitimate
Certification Authority, a related issue to CVE-2009-2408.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2013-4248?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 13.04 raring | Fixed 5.4.9-4ubuntu2.3 |
| 12.10 quantal | Fixed 5.4.6-1ubuntu1.4 |
| 12.04 LTS precise | Fixed 5.3.10-1ubuntu3.8 |
| 10.04 LTS lucid | Fixed 5.3.2-1ubuntu4.21 |

---

* [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-2013-4248?format=md#patch-details)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

initially fixed in 5.5.2 and 5.4.18
regression fixed in 5.5.3 and 5.4.19

### 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://git.php.net/?p=php-src.git;a=commit;h=dcea4ec698dcae39b7bba6f6aa08933cbfee6755> * Upstream:   <http://git.php.net/?p=php-src.git;a=commit;h=c1c49d6e3983c9ce0b43ffe7bf6e03b809ed048b> * Upstream:   <http://git.php.net/?p=php-src.git;a=commit;h=2874696a5a8d46639d261571f915c493cd875897> * Upstream:   <http://git.php.net/?p=php-src.git;a=commit;h=c1c49d6e3983c9ce0b43ffe7bf6e03b809ed048b> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-1937-1](https://usn.ubuntu.com/USN-1937-1)
+ PHP vulnerability
+ 5 September 2013

### Other references

* <http://openwall.com/lists/oss-security/2013/08/14/4>
* <https://www.cve.org/CVERecord?id=CVE-2013-4248>
