Use-after-free vulnerability in exif_read_from_impl in PHP 7.2.x through 7.2.7

Use-after-free vulnerability in exif_read_from_impl in PHP 7.2.x through 7.2.7

CVE-2018-12882 · HIGH Severity

AV:N/AC:L/AU:N/C:P/I:P/A:P

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.

Learn more about our Web Application Penetration Testing UK.