Skip to content
OpenAdvisories
Unscored CVE-2018-10549 EUVD-2018-2621GHSA-89g9-q2qh-fmrm

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/…

Published Apr 29, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 9 php7.0 7.0.30-0+deb9u1 DSA-4240-1
Debian 8 php5 5.6.36+dfsg-0+deb8u1 DLA-1397-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS php7.2 7.2.5-0ubuntu0.18.04.1 USN-3646-1
Ubuntu 16.04 LTS php7.0 7.0.30-0ubuntu0.16.04.1 USN-3646-1
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.25 USN-3646-1
ReleasePackageFixed inAdvisory
RHEL 3 rh-php71-php +27 7.1.30-1.el7 RHSA-2019:2519
ReleasePackageFixed inAdvisory
Alpine v3.15 php7 7.2.5-r0 —
Alpine v3.14 php7 7.2.5-r0 —
Alpine v3.13 php7 7.2.5-r0 —
Alpine v3.12 php7 7.2.5-r0 —
Alpine v3.11 php7 7.2.5-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.10 php7 7.2.5-r0 —
Alpine v3.9 php7 7.2.5-r0 —
Alpine v3.8 php7 7.2.5-r0 —
Alpine v3.7 php7 7.1.17-r0 —

Advisories 4

References