---
title: 'USN-3646-1: PHP vulnerabilities | Ubuntu security notices'
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/notices/USN-3646-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-3646-1

---

# USN-3646-1: PHP vulnerabilities

Publication date

14 May 2018

Overview

Several security issues were fixed in PHP.

Releases

[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)
[17.10](https://ubuntu.com/security/notices?release=artful)
[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)
[14.04 LTS](https://ubuntu.com/security/notices?release=trusty)

---

Open side navigation

## Packages

* [php5](https://ubuntu.com/security/cves?package=php5) - HTML-embedded scripting language interpreter
* [php7.0](https://ubuntu.com/security/cves?package=php7.0) - HTML-embedded scripting language interpreter
* [php7.1](https://ubuntu.com/security/cves?package=php7.1) - HTML-embedded scripting language interpreter
* [php7.2](https://ubuntu.com/security/cves?package=php7.2) - HTML-embedded scripting language interpreter

## Details

It was discovered that PHP incorrectly handled opcache access controls
when configured to use PHP-FPM. A local user could possibly use this issue
to obtain sensitive information from another user's PHP applications.
([CVE-2018-10545](https://ubuntu.com/security/CVE-2018-10545))

It was discovered that the PHP iconv stream filter incorrect handled
certain invalid multibyte sequences. A remote attacker could possibly use
this issue to cause PHP to hang, resulting in a denial of service.
([CVE-2018-10546](https://ubuntu.com/security/CVE-2018-10546))

It was discovered that the PHP PHAR error pages incorrectly filtered
certain data. A remote attacker could possibly use this issue to perform
a reflected XSS attack. ([CVE-2018-10547](https://ubuntu.com/security/CVE-2018-10547))

It was discovered that PHP incorrectly handled LDAP. A malicious remote
LDAP server could possibly use this issue to cause PHP to crash, resulting
in a denial of service....

---

Show more

## Update instructions

In Ubuntu 16.04 LTS, Ubuntu 17.10, and Ubuntu 18.04 LTS, this update uses a
new upstream release, which includes additional bug fixes.
In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 18.04 LTS bionic | [libapache2-mod-php7.2](https://launchpad.net/ubuntu/+source/php7.2) –  [7.2.5-0ubuntu0.18.04.1](https://launchpad.net/ubuntu/+source/php7.2/7.2.5-0ubuntu0.18.04.1) | | |
| [php7.2-cgi](https://launchpad.net/ubuntu/+source/php7.2) –  [7.2.5-0ubuntu0.18.04.1](https://launchpad.net/ubuntu/+source/php7.2/7.2.5-0ubuntu0.18.04.1) | | |
| [php7.2-cli](https://launchpad.net/ubuntu/+source/php7.2) –  [7.2.5-0ubuntu0.18.04.1](https://launchpad.net/ubuntu/+source/php7.2/7.2.5-0ubuntu0.18.04.1) | | |
| [php7.2-fpm](https://launchpad.net/ubuntu/+source/php7.2) –  [7.2.5-0ubuntu0.18.04.1](https://launchpad.net/ubuntu/+source/php7.2/7.2.5-0ubuntu0.18.04.1) | | |
| 17.10 artful | [libapache2-mod-php7.1](https://launchpad.net/ubuntu/+source/php7.1) –  [7.1.17-0ubuntu0.17.10.1](https://launchpad.net/ubuntu/+source/php7.1/7.1.17-0ubuntu0.17.10.1) | | |
| [php7.1-cgi](https://launchpad.net/ubuntu/+source/php7.1) –  [7.1.17-0ubuntu0.17.10.1](https://launchpad.net/ubuntu/+source/php7.1/7.1.17-0ubuntu0.17.10.1) | | |
| [php7.1-cli](https://launchpad.net/ubuntu/+source/php7.1) –  [7.1.17-0ubuntu0.17.10.1](https://launchpad.net/ubuntu/+source/php7.1/7.1.17-0ubuntu0.17.10.1) | | |
| [php7.1-fpm](https://launchpad.net/ubuntu/+source/php7.1) –  [7.1.17-0ubuntu0.17.10.1](https://launchpad.net/ubuntu/+source/php7.1/7.1.17-0ubuntu0.17.10.1) | | |
| 16.04 LTS xenial | [libapache2-mod-php7.0](https://launchpad.net/ubuntu/+source/php7.0) –  [7.0.30-0ubuntu0.16.04.1](https://launchpad.net/ubuntu/+source/php7.0/7.0.30-0ubuntu0.16.04.1) | | |
| [php7.0-cgi](https://launchpad.net/ubuntu/+source/php7.0) –  [7.0.30-0ubuntu0.16.04.1](https://launchpad.net/ubuntu/+source/php7.0/7.0.30-0ubuntu0.16.04.1) | | |
| [php7.0-cli](https://launchpad.net/ubuntu/+source/php7.0) –  [7.0.30-0ubuntu0.16.04.1](https://launchpad.net/ubuntu/+source/php7.0/7.0.30-0ubuntu0.16.04.1) | | |
| [php7.0-fpm](https://launchpad.net/ubuntu/+source/php7.0) –  [7.0.30-0ubuntu0.16.04.1](https://launchpad.net/ubuntu/+source/php7.0/7.0.30-0ubuntu0.16.04.1) | | |
| 14.04 LTS trusty | [libapache2-mod-php5](https://launchpad.net/ubuntu/+source/php5) –  [5.5.9+dfsg-1ubuntu4.25](https://launchpad.net/ubuntu/+source/php5/5.5.9+dfsg-1ubuntu4.25) | | |
| [php5-cgi](https://launchpad.net/ubuntu/+source/php5) –  [5.5.9+dfsg-1ubuntu4.25](https://launchpad.net/ubuntu/+source/php5/5.5.9+dfsg-1ubuntu4.25) | | |
| [php5-cli](https://launchpad.net/ubuntu/+source/php5) –  [5.5.9+dfsg-1ubuntu4.25](https://launchpad.net/ubuntu/+source/php5/5.5.9+dfsg-1ubuntu4.25) | | |
| [php5-fpm](https://launchpad.net/ubuntu/+source/php5) –  [5.5.9+dfsg-1ubuntu4.25](https://launchpad.net/ubuntu/+source/php5/5.5.9+dfsg-1ubuntu4.25) | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2018-10549](https://ubuntu.com/security/CVE-2018-10549)
* [CVE-2018-10548](https://ubuntu.com/security/CVE-2018-10548)
* [CVE-2018-10547](https://ubuntu.com/security/CVE-2018-10547)
* [CVE-2018-10546](https://ubuntu.com/security/CVE-2018-10546)
* [CVE-2018-10545](https://ubuntu.com/security/CVE-2018-10545)

## Related notices

* [USN-3646-2](https://ubuntu.com/security/notices/USN-3646-2)
