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

# CVE-2018-10548

Publication date 29 April 2018

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**7.5 · High**

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

Toggle side navigation

## Description

An issue was discovered in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x
before 7.1.17, and 7.2.x before 7.2.5. ext/ldap/ldap.c allows remote LDAP
servers to cause a denial of service (NULL pointer dereference and
application crash) because of mishandling of the ldap\_get\_dn return value.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Fixed 5.5.9+dfsg-1ubuntu4.25 |
| php7.0 | 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Fixed 7.0.30-0ubuntu0.16.04.1 |
| 14.04 LTS trusty | Not in release |
| php7.1 | 18.04 LTS bionic | Not in release |
| 17.10 artful | Fixed 7.1.17-0ubuntu0.17.10.1 |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| php7.2 | 18.04 LTS bionic | Fixed 7.2.5-0ubuntu0.18.04.1 |
| 17.10 artful | 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-2018-10548?format=md#patch-details)

## Notes

---

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

PEAR issues should go against php-pear as of xenial

### 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:   [49782c5](https://github.com/php/php-src/commit/49782c54994ecca2ef2a061063bd5a7079c43527) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-3646-1](https://usn.ubuntu.com/USN-3646-1)
+ PHP vulnerabilities
+ 14 May 2018

+ [USN-3646-2](https://usn.ubuntu.com/USN-3646-2)
+ PHP vulnerabilities
+ 16 May 2018

### Other references

* <http://php.net/ChangeLog-5.php>
* <http://php.net/ChangeLog-7.php>
* <https://www.cve.org/CVERecord?id=CVE-2018-10548>
