All vulnerabilities

Servers and applications

CVE-2018-12882

exif_read_from_impl in ext/exif/exif.c in PHP 7.2.x through 7.2.7 allows attackers to trigger a use-after-free (in exif_read_from_file) because it closes a stream that it is not responsible for closing. The vulnerable code is reachable through the PHP exif_read_data function.

Severity
Critical 9.8
Published
26 Jun 2018
Last changed
17 Jun 2026
Added to UpHeron
14 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • From 7.2.0 up to 7.2.7

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2018-12882
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-12882