What’s Vulnerable › Vulnerabilities
CVE-2018-12882
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 6.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-06-26 · updated 2026-06-17
- Weakness: CWE-416
Description
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.
Affected products
- Canonical Ubuntu Linux: 18.04
- NetApp Storage Automation Store: all versions
- PHP: from 7.2.0 through 7.2.7
References
- http://www.securityfocus.com/bid/104551
- https://bugs.php.net/bug.php?id=76409
- https://security.netapp.com/advisory/ntap-20181109-0001/
- https://usn.ubuntu.com/3702-1/
- https://usn.ubuntu.com/3702-2/
- http://www.securityfocus.com/bid/104551
- https://bugs.php.net/bug.php?id=76409
- https://security.netapp.com/advisory/ntap-20181109-0001/
- https://usn.ubuntu.com/3702-1/
- https://usn.ubuntu.com/3702-2/
Get alerted when CVE-2018-12882 or the next vulnerability affects your stack