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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (6.71%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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
- 9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 6.71% probability · 94th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-416
- Affected
- php/php · canonical/ubuntu linux · netapp/storage automation store
- Source
- cve@mitre.org
References
- http://www.securityfocus.com/bid/104551Third Party Advisory, VDB Entry
- https://bugs.php.net/bug.php?id=76409Issue Tracking, Patch, Vendor 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/104551Third Party Advisory, VDB Entry
- https://bugs.php.net/bug.php?id=76409Issue Tracking, Patch, Vendor 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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.