SecurityContext

CVE-2017-12934: PHP - Use After Free

  • Cve: CVE-2017-12934
  • Name: PHP - Use After Free
  • Description: ext/standard/var_unserializer.re in PHP 7.0.x before 7.0.21 and 7.1.x before 7.1.7 is prone to a heap use after free while unserializing untrusted data, related to the zval_get_type function in Zend/zend_types.h. Exploitation of this issue can have an unspecified impact on the integrity of PHP.
  • Impact: Attackers can potentially cause memory corruption, leading to denial of service or arbitrary code execution.
  • Remediation: Update PHP to version 7.0.21 or later for 7.0.x, and 7.1.7 or later for 7.1.x.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.03253
  • Epss percentile: 0.88664
  • Assignee: [email protected]
  • Published at: 2017-08-18T03:29:00Z
  • Age in days: 3385
  • Modified at: 2026-06-17T01:04:09Z
  • References total: 5
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-12934
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-416Use After Free

Hackerone

  • Reports: 1
  • Rank: 5193

References

Same in every row:

  • Source: nvd
UrlTags
http://php.net/ChangeLog-7.phpVendor Advisory
http://www.securityfocus.com/bid/100428Third Party Advisory, VDB Entry
https://bugs.php.net/bug.php?id=74101Issue Tracking, Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1296
https://www.debian.org/security/2018/dsa-4080

Products

ProductAffectedPlatform boundSourcesUrl
php:php= 7.1.6, = 7.1.5, = 7.1.4, = 7.1.3, = 7.1.2, = 7.1.1, = 7.1.0, = 7.0.20, = 7.0.19, = 7.0.18, = 7.0.17, = 7.0.16, = 7.0.15, = 7.0.14, = 7.0.13, = 7.0.12, = 7.0.11, = 7.0.10, = 7.0.9, = 7.0.8, = 7.0.7, = 7.0.6, = 7.0.5, = 7.0.4, = 7.0.3, = 7.0.2, = 7.0.1, = 7.0.0nonvd/v1/products/php/php

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 6175026
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since