{"id":"CVE-2018-12882","published":"2018-06-26T03:00:00Z","modified":"2024-08-05T08:45:02Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06478,"percentile":0.93908,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/104551","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://usn.ubuntu.com/3702-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://bugs.php.net/bug.php?id=76409","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/3702-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://security.netapp.com/advisory/ntap-20181109-0001/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":18.78}]},"summary":{"text":"The flaw is a use-after-free in exif_read_from_impl in ext/exif/exif.c in PHP 7.2.x through 7.2.7, which closes a stream it is not responsible for closing, with the vulnerable code reachable through the PHP exif_read_data function. An attacker can trigger the use-after-free (in exif_read_from_file) by causing exif_read_data to process input.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:59:33Z"},"euvd":{"id":"EUVD-2018-4835","exploited":false,"provenance":"source"}}