CVE-2018-10549

NameCVE-2018-10549
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1397-1, DSA-4240-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php5 (PTS)jessie, jessie (lts)5.6.40+dfsg-0+deb8u21fixed
php7.0 (PTS)stretch (security)7.0.33-0+deb9u12fixed
stretch (lts), stretch7.0.33-0+deb9u19fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5sourcewheezy(not affected)
php5sourcejessie5.6.36+dfsg-0+deb8u1DLA-1397-1
php5source(unstable)(unfixed)
php7.0sourcestretch7.0.30-0+deb9u1DSA-4240-1
php7.0source(unstable)7.0.30-1
php7.1source(unstable)7.1.19-1
php7.2source(unstable)7.2.8-1

Notes

[wheezy] - php5 <not-affected> (vulnerable code is not present)
Fixed in 5.6.36, 7.0.30, 7.1.17, 7.2.5
PHP Bug: https://bugs.php.net/bug.php?id=76130

Search for package or bug name: Reporting problems