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.
References (13)
Core 13
Core References
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/104019
Third Party Advisory, VDB Entry vdb-entry
x_refsource_sectrack
http://www.securitytracker.com/id/1040807
Issue Tracking, Patch, Vendor Advisory x_refsource_confirm
https://bugs.php.net/bug.php?id=76130
Third Party Advisory x_refsource_confirm
https://www.synology.com/support/security/Synology_SA_18_20
Third Party Advisory vendor-advisory
x_refsource_debian
https://www.debian.org/security/2018/dsa-4240
Third Party Advisory x_refsource_confirm
https://www.tenable.com/security/tns-2018-12
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3646-1/
Patch, Vendor Advisory x_refsource_confirm
http://php.net/ChangeLog-5.php
Patch, Vendor Advisory x_refsource_confirm
http://php.net/ChangeLog-7.php
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201812-01
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20180607-0003/
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/06/msg00005.html
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2519
Scores
CVSS v3
8.8
EPSS
0.0245
EPSS Percentile
85.3%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-125
Status
published
Products (7)
canonical/ubuntu_linux
16.04
canonical/ubuntu_linux
17.10
canonical/ubuntu_linux
18.04
debian/debian_linux
8.0
debian/debian_linux
9.0
netapp/storage_automation_store
php/php
< 5.6.36
Published
Apr 29, 2018
Tracked Since
Feb 18, 2026