Skip to content

CVE-2018-10549 An issue was discovered in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. exif_read_data in ext/exif/exif.c has an out-of-bounds read for crafted JPEG data becaus...

HighCVSS 8.8 EPSS 6.9%
Published
Updated
Exploit status
No public exploit known

Description

An issue was discovered in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. exif_read_data in ext/exif/exif.c has an out-of-bounds read for crafted JPEG data because exif_iif_add_value mishandles the case of a MakerNote that lacks a final '\0' character.

Affected products

ProductAffected versionsFixed in
PHP < 5.6.36 5.6.36
PHP >= 7.0.0, < 7.0.30 7.0.30
PHP >= 7.1.0, < 7.1.17 7.1.17
PHP >= 7.2.0, < 7.2.5 7.2.5
Canonical Ubuntu Linux = 16.04 No fix listed
Canonical Ubuntu Linux = 17.10 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
netapp storage automation store All versions No fix listed
alpine/php7(Alpine:v3.10) < 7.2.5-r0 7.2.5-r0
alpine/php7(Alpine:v3.11) < 7.2.5-r0 7.2.5-r0
alpine/php7(Alpine:v3.12) < 7.2.5-r0 7.2.5-r0
alpine/php7(Alpine:v3.13) < 7.2.5-r0 7.2.5-r0
alpine/php7(Alpine:v3.14) < 7.2.5-r0 7.2.5-r0
alpine/php7(Alpine:v3.15) < 7.2.5-r0 7.2.5-r0
alpine/php7(Alpine:v3.7) < 7.1.17-r0 7.1.17-r0
alpine/php7(Alpine:v3.8) < 7.2.5-r0 7.2.5-r0
alpine/php7(Alpine:v3.9) < 7.2.5-r0 7.2.5-r0

References