{"id":"CVE-2018-12882","details":"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.","modified":"2026-03-15T22:25:36.930419Z","published":"2018-06-26T03:29:00.210Z","related":["SUSE-SU-2018:1886-1","SUSE-SU-2018:1936-1","SUSE-SU-2018:1936-2","SUSE-SU-2018:2044-1","SUSE-SU-2018:2682-1","SUSE-SU-2022:4067-1","openSUSE-SU-2024:11167-1","openSUSE-SU-2024:11169-1"],"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/104551"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20181109-0001/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3702-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3702-2/"},{"type":"FIX","url":"https://bugs.php.net/bug.php?id=76409"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"8148cbb78841c8ec0759c0836e7f35dec799d300"},{"last_affected":"a70ed769120fd596db56bba791766ecb2d1ad39f"}],"database_specific":{"versions":[{"introduced":"7.2.0"},{"last_affected":"7.2.7"}]}}],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"18.04"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12882.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}