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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php5 (PTS)jessie (security), jessie5.6.33+dfsg-0+deb8u1vulnerable
php7.0 (PTS)stretch (security), stretch7.0.27-0+deb9u1vulnerable
sid7.0.29-1vulnerable
php7.1 (PTS)buster, sid7.1.16-1vulnerable
php7.2 (PTS)buster, sid7.2.4-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5source(unstable)(unfixed)medium
php5sourcewheezy(not affected)
php7.0source(unstable)(unfixed)medium
php7.1source(unstable)(unfixed)medium
php7.2source(unstable)(unfixed)medium

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