{"schemaVersion":3,"id":"CVE-2016-4543","aliases":["UBUNTU-CVE-2016-4543"],"status":"published","duplicateOf":null,"title":null,"description":"The exif_process_IFD_in_JPEG function in ext/exif/exif.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 does not validate IFD sizes, which allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via crafted header data.","dates":{"published":"2016-05-22T01:00:00.000Z","modified":"2024-08-06T00:32:25.788Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.1186,"percentile":0.96087,"severity":"medium","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":1.963999999999999,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.09896},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.09896,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.1186,"percentile":0.96087}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.09896,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.12179,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.1186,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.1186,"percentile":0.96087}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_EF34F59F9E68A787","name":"Exploit Reference (bugs.php.net)","source":"reference","url":"https://bugs.php.net/bug.php?id=72094","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"ubuntu","product":"php5","name":"php5","label":"php5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php5","purlType":"deb","versions":[{"text":"< 5.5.9+dfsg-1ubuntu4.17","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.5.9+dfsg-1ubuntu4.17","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php7.0","name":"php7.0","label":"php7.0","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php7.0","purlType":"deb","versions":[{"text":"< 7.0.4-7ubuntu2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.4-7ubuntu2.1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"24","noFixRecorded":false,"fixedIn":null}],"versionsText":"24","eol":{"isEol":true,"eolDate":"2017-08-08T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"24","label":"24","eolFrom":"2017-08-08T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"hp","product":"system_management_homepage","name":"system management homepage","label":"system_management_homepage","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 7.5.5.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 7.5.5.6","eol":null,"hubHref":"/vendor/hp/system_management_homepage"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"42.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"42.1","eol":{"isEol":true,"eolDate":"2017-05-17T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"42.1","label":"Leap 42.1","eolFrom":"2017-05-17T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"vendor":"php","product":"php","name":"php","label":"php","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5.5.34","noFixRecorded":false,"fixedIn":null},{"text":"5.6.0","noFixRecorded":false,"fixedIn":null},{"text":"5.6.1","noFixRecorded":false,"fixedIn":null},{"text":"5.6.2","noFixRecorded":false,"fixedIn":null},{"text":"5.6.3","noFixRecorded":false,"fixedIn":null},{"text":"5.6.4","noFixRecorded":false,"fixedIn":null},{"text":"5.6.5","noFixRecorded":false,"fixedIn":null},{"text":"5.6.6","noFixRecorded":false,"fixedIn":null},{"text":"5.6.7","noFixRecorded":false,"fixedIn":null},{"text":"5.6.8","noFixRecorded":false,"fixedIn":null},{"text":"5.6.9","noFixRecorded":false,"fixedIn":null},{"text":"5.6.10","noFixRecorded":false,"fixedIn":null},{"text":"5.6.11","noFixRecorded":false,"fixedIn":null},{"text":"5.6.12","noFixRecorded":false,"fixedIn":null},{"text":"5.6.13","noFixRecorded":false,"fixedIn":null},{"text":"5.6.14","noFixRecorded":false,"fixedIn":null},{"text":"5.6.15","noFixRecorded":false,"fixedIn":null},{"text":"5.6.16","noFixRecorded":false,"fixedIn":null},{"text":"5.6.17","noFixRecorded":false,"fixedIn":null},{"text":"5.6.18","noFixRecorded":false,"fixedIn":null},{"text":"5.6.19","noFixRecorded":false,"fixedIn":null},{"text":"5.6.20","noFixRecorded":false,"fixedIn":null},{"text":"7.0.0","noFixRecorded":false,"fixedIn":null},{"text":"7.0.1","noFixRecorded":false,"fixedIn":null},{"text":"7.0.2","noFixRecorded":false,"fixedIn":null},{"text":"7.0.3","noFixRecorded":false,"fixedIn":null},{"text":"7.0.4","noFixRecorded":false,"fixedIn":null},{"text":"7.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 5.5.34 | 5.6.0 | 5.6.1 | 5.6.2 | 5.6.3 | 5.6.4 | 5.6.5 | 5.6.6 | 5.6.7 | 5.6.8 | 5.6.9 | 5.6.10 | 5.6.11 | 5.6.12 | 5.6.13 | 5.6.14 | 5.6.15 | 5.6.16 | 5.6.17 | 5.6.18 | 5.6.19 | 5.6.20 | 7.0.0 | 7.0.1 | 7.0.2 | 7.0.3 | 7.0.4 | 7.0.5","eol":{"isEol":true,"eolDate":"2018-12-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"5.6","label":"5.6","eolFrom":"2018-12-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"5.6.40"},"product":{"name":"php","label":"PHP","category":"lang"}},"hubHref":"/vendor/php/php"}],"affectedCount":6,"eol":{"hasEol":true,"count":3},"references":[{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149","label":"h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149","hostname":"h20566.www2.hpe.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/89844","label":"www.securityfocus.com/bid/89844","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"http://lists.opensuse.org/opensuse-updates/2016-06/msg00027.html","label":"lists.opensuse.org/opensuse-updates/2016-06/msg00027.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201611-22","label":"security.gentoo.org/glsa/201611-22","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","label":"rhn.redhat.com/errata/RHSA-2016-2750.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2016/05/05/21","label":"www.openwall.com/lists/oss-security/2016/05/05/21","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","REPORT"]},{"url":"http://www.debian.org/security/2016/dsa-3602","label":"www.debian.org/security/2016/dsa-3602","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN"]},{"url":"http://php.net/ChangeLog-5.php","label":"php.net/ChangeLog-5.php","hostname":"php.net","tags":["X Refsource CONFIRM","Patch","Release Notes"]},{"url":"https://bugs.php.net/bug.php?id=72094","label":"bugs.php.net/bug.php?id=72094","hostname":"bugs.php.net","tags":["X Refsource CONFIRM","Exploit"]},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722","label":"h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722","hostname":"h20566.www2.hpe.com","tags":["X Refsource CONFIRM"]},{"url":"http://php.net/ChangeLog-7.php","label":"php.net/ChangeLog-7.php","hostname":"php.net","tags":["X Refsource CONFIRM","Patch"]},{"url":"https://git.php.net/?p=php-src.git%3Ba=commit%3Bh=082aecfc3a753ad03be82cf14f03ac065723ec92","label":"git.php.net?p=php-src.git%3Ba=commit%3Bh=082aecfc3a753ad03be82cf14f03ac065723ec92","hostname":"git.php.net","tags":["X Refsource CONFIRM"]},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731","label":"h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731","hostname":"h20566.www2.hpe.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00086.html","label":"lists.opensuse.org/opensuse-updates/2016-05/msg00086.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/183736.html","label":"lists.fedoraproject.org/pipermail/package-announce/2016-May/183736.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Mailing List"]},{"url":"https://ubuntu.com/security/CVE-2016-4543","label":"ubuntu.com/security/CVE-2016-4543","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-2984-1","label":"ubuntu.com/security/notices/USN-2984-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-4543","label":"www.cve.org/CVERecord?id=CVE-2016-4543","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["DLA-499-1","DSA-3602-1","RHSA-2016:2750","SUSE-SU-2016:1504-1","SUSE-SU-2016:1581-1","SUSE-SU-2016:1638-1","USN-2984-1"],"duplicates":[],"related":["SUSE-SU-2016:1504-1","SUSE-SU-2016:1581-1","SUSE-SU-2016:1638-1","USN-2984-1"]},"timeline":[{"kind":"published","date":"2016-05-22T01:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T00:32:25.788Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T05:53:53.101Z","stale":false,"partial":false}}