Skip to main content
Network Thinking Solutions Logo

CVE-2017-12932

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.

All CVEs
CVE-2017-12932Published 8/18/2017

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.

Vendor advisory
CVSS9.8Critical

Overview

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.

Published
8/18/2017
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
php
php
7.0.0

Verify advisory

Source
php
php
7.0.1

Verify advisory

Source
php
php
7.0.2

Verify advisory

Source
php
php
7.0.3

Verify advisory

Source
php
php
7.0.4

Verify advisory

Source
php
php
7.0.5

Verify advisory

Source
php
php
7.0.6

Verify advisory

Source
php
php
7.0.7

Verify advisory

Source
php
php
7.0.8

Verify advisory

Source
php
php
7.0.9

Verify advisory

Source
php
php
7.0.10

Verify advisory

Source
php
php
7.0.11

Verify advisory

Source
php
php
7.0.12

Verify advisory

Source
php
php
7.0.13

Verify advisory

Source
php
php
7.0.14

Verify advisory

Source
php
php
7.0.15

Verify advisory

Source
php
php
7.0.16

Verify advisory

Source
php
php
7.0.17

Verify advisory

Source
php
php
7.0.18

Verify advisory

Source
php
php
7.0.19

Verify advisory

Source
php
php
7.0.20

Verify advisory

Source
php
php
7.0.21

Verify advisory

Source
php
php
7.0.22

Verify advisory

Source
php
php
7.1.0

Verify advisory

Source
php
php
7.1.1

Verify advisory

Source
php
php
7.1.2

Verify advisory

Source
php
php
7.1.3

Verify advisory

Source
php
php
7.1.4

Verify advisory

Source
php
php
7.1.5

Verify advisory

Source
php
php
7.1.6

Verify advisory

Source
php
php
7.1.7

Verify advisory

Source
php
php
7.1.8

Verify advisory

Source
n/a
n/a
n/a

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.