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

# CVE-2019-11045

Publication date 23 December 2019

Last updated 25 August 2025

---

Ubuntu priority

**Low**

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

## Cvss 3 Severity Score

**5.9 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2019-11045?format=md#impact-score)

Toggle side navigation

## Description

In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP
DirectoryIterator class accepts filenames with embedded \0 byte and treats
them as terminating at that byte. This could lead to security
vulnerabilities, e.g. in applications checking paths that the code is
allowed to access.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 19.10 eoan | Not in release |
| 19.04 disco | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Fixed 5.5.9+dfsg-1ubuntu4.29+esm8  Ubuntu Pro |
| php7.0 | 19.10 eoan | Not in release |
| 19.04 disco | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Fixed 7.0.33-0ubuntu0.16.04.9 |
| 14.04 LTS trusty | Not in release |
| php7.2 | 19.10 eoan | Not in release |
| 19.04 disco | Fixed 7.2.24-0ubuntu0.19.04.2 |
| 18.04 LTS bionic | Fixed 7.2.24-0ubuntu0.18.04.2 |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| php7.3 | 19.10 eoan | Fixed 7.3.11-0ubuntu0.19.10.2 |
| 19.04 disco | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |

---

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

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Notes

---

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

in precise-esm, php is the 5.3 and not has support for
type specifier 'p' that was introduced in 5.5.

### 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 |
| --- | --- |
| php7.3 | * Upstream:   <http://git.php.net/?p=php-src.git;a=commit;h=a5a15965da23c8e97657278fc8dfbf1dfb20c016> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.9 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | High |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.9 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-4239-1](https://usn.ubuntu.com/USN-4239-1)
+ PHP vulnerabilities
+ 15 January 2020

### Other references

* <http://git.php.net/?p=php-src.git;a=patch;h=d74907b8575e6edb83b728c2a94df434c23e1f79>
* <https://www.cve.org/CVERecord?id=CVE-2019-11045>
