Skip to content

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 closin...

CriticalCVSS 9.8 EPSS 6.5%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
PHP >= 7.2.0, <= 7.2.7 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
netapp storage automation store All versions No fix listed
alpine/php7(Alpine:v3.10) < 7.2.8-r0 7.2.8-r0
alpine/php7(Alpine:v3.11) < 7.2.8-r0 7.2.8-r0
alpine/php7(Alpine:v3.12) < 7.2.8-r0 7.2.8-r0
alpine/php7(Alpine:v3.13) < 7.2.8-r0 7.2.8-r0
alpine/php7(Alpine:v3.14) < 7.2.8-r0 7.2.8-r0
alpine/php7(Alpine:v3.15) < 7.2.8-r0 7.2.8-r0
alpine/php7(Alpine:v3.8) < 7.2.8-r0 7.2.8-r0
alpine/php7(Alpine:v3.9) < 7.2.8-r0 7.2.8-r0

References