{"id":"CVE-2018-10549","details":"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.","modified":"2026-07-07T08:49:44.023331587Z","published":"2018-04-29T21:29:00.540Z","database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"],"extracted_events":[{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"17.10"},{"last_affected":"17.10"},{"introduced":"18.04"},{"last_affected":"18.04"}],"source":"CPE_STRING","vendor_product":"canonical:ubuntu_linux"},{"cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"8.0"},{"last_affected":"8.0"},{"introduced":"9.0"},{"last_affected":"9.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux"}]},"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/104019"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1040807"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:2519"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/06/msg00005.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201812-01"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20180607-0003/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3646-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4240"},{"type":"ADVISORY","url":"https://www.synology.com/support/security/Synology_SA_18_20"},{"type":"ADVISORY","url":"https://www.tenable.com/security/tns-2018-12"},{"type":"FIX","url":"http://php.net/ChangeLog-5.php"},{"type":"FIX","url":"http://php.net/ChangeLog-7.php"},{"type":"FIX","url":"https://bugs.php.net/bug.php?id=76130"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"0"},{"fixed":"405e6b5c683c733043d16fee98d97d1596ccfb8f"},{"introduced":"60fffd296abce5fc071f3c173c25a2696cf683c6"},{"fixed":"3d5d1e569e8c35fb600801d96fb66a3458808381"},{"introduced":"0221e9f827632942225586687a33cfd554860d5e"},{"fixed":"0f3897573515b7aca3e5425d77baee14fe33edd4"},{"introduced":"8148cbb78841c8ec0759c0836e7f35dec799d300"},{"fixed":"ba2fe0c96bee278ed1b1b715b52b70a316135995"}],"database_specific":{"cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"5.6.36"},{"introduced":"7.0.0"},{"fixed":"7.0.30"},{"introduced":"7.1.0"},{"fixed":"7.1.17"},{"introduced":"7.2.0"},{"fixed":"7.2.5"}],"source":"CPE_RANGE"}}],"versions":["php-7.1.17RC1","POST_PHP7_NSAPI_REMOVAL","PRE_PHP7_NSAPI_REMOVAL","PRE_PHP7_EREG_MYSQL_REMOVALS","PRE_PHP7_REMOVALS","POST_PHP7_REMOVALS","POST_AST_MERGE","PRE_AST_MERGE","POST_64BIT_BRANCH_MERGE","PRE_64BIT_BRANCH_MERGE","POST_PHPNG_MERGE"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-10549.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}