Vulnerability record · CVE-2018-12882 · published 26 June 2018
CVE-2018-12882: Php use after free vulnerability
Php · Php
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.
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.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.securityfocus.com/bid/104551 | Third Party AdvisoryVDB Entry |
| https://bugs.php.net/bug.php?id=76409 | Issue TrackingPatchVendor Advisory |
| https://security.netapp.com/advisory/ntap-20181109-0001/ | Third Party Advisory |
| https://usn.ubuntu.com/3702-1/ | Third Party Advisory |
| https://usn.ubuntu.com/3702-2/ | Third Party Advisory |
| http://www.securityfocus.com/bid/104551 | Third Party AdvisoryVDB Entry |
| https://bugs.php.net/bug.php?id=76409 | Issue TrackingPatchVendor Advisory |
| https://security.netapp.com/advisory/ntap-20181109-0001/ | Third Party Advisory |
| https://usn.ubuntu.com/3702-1/ | Third Party Advisory |
| https://usn.ubuntu.com/3702-2/ | Third Party Advisory |
Track CVE-2018-12882 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-12882), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.