CVE-2018-12882: Canonical Ubuntu Linux
Critical severity, CVSS 9.8. EPSS: 6.7% chance of exploitation in the next 30 days.
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: version 18.04 only
- Netapp Storage Automation Store: affected versions not specified
- PHP PHP: from 7.2.0, up to and including 7.2.7
Published 2018-06-26. Last modified 2026-06-17.