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

# CVE-2017-12932

Publication date 18 August 2017

Last updated 25 August 2025

---

Ubuntu priority

**Low**

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

## Cvss 3 Severity Score

**9.8 · Critical**

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

Toggle side navigation

## Description

ext/standard/var\_unserializer.re in PHP 7.0.x through 7.0.22 and 7.1.x
through 7.1.8 is prone to a heap use after free while unserializing
untrusted data, related to improper use of the hash API for key deletion in
a situation with an invalid array size. Exploitation of this issue can have
an unspecified impact on the integrity of PHP.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 17.10 artful | Not in release |
| 17.04 zesty | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not affected |
| php7.0 | 17.10 artful | Not in release |
| 17.04 zesty | Ignored end of life |
| 16.04 LTS xenial | Fixed 7.0.25-0ubuntu0.16.04.1 |
| 14.04 LTS trusty | Not in release |
| php7.1 | 17.10 artful | Not affected |
| 17.04 zesty | 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-2017-12932?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 |
| --- | --- |
| php7.0 | * Upstream:   [1a23ebc](https://github.com/php/php-src/commit/1a23ebc1fff59bf480ca92963b36eba5c1b904c4) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Other references

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