# CVE-2019-11042: heap-buffer-overflow on exif_process_user_comment in EXIF extension

- Severity: Medium 4.8 (CVSS:3.0, scored by php) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.42%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-08-09T19:26:34.193Z
- Modified: 2026-06-17T02:12:11.543Z
- Weaknesses: CWE-125
- Assigned by: php

## Description

When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.1.x below 7.1.31, 7.2.x below 7.2.21 and 7.3.x below 7.3.8 it is possible to supply it with data what will cause it to read past the allocated buffer. This may lead to information disclosure or crash.

(As written by CVE List.)

## Affected

- PHP Group PHP: 7.1.x below 7.1.31; 7.2.x below 7.2.21; 7.3.x below 7.3.8
- php php: from 7.1.0 before 7.1.31; from 7.2.0 before 7.2.21; from 7.3.0 before 7.3.8
- debian debian_linux: 8.0; 9.0; 10.0
- canonical ubuntu_linux: 12.04; 14.04; 16.04; 18.04; 19.04
- apple mac_os_x: before 10.15.1
- opensuse leap: 15.0
- redhat software_collections: 1.0
- tenable tenable.sc: before 5.19.0

## Every score

- php: CVSS:3.0 4.8 Medium `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:P`

## References

- <https://bugs.php.net/bug.php?id=78256> (exploit, patch, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2019/08/msg00010.html> (mailing-list, third-party-advisory)
- <https://usn.ubuntu.com/4097-2/> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4097-1/> (third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20190822-0003/> (third-party-advisory)
- <https://seclists.org/bugtraq/2019/Sep/35> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2019/dsa-4527> (third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2019/dsa-4529> (third-party-advisory, vendor-advisory)
- <https://seclists.org/bugtraq/2019/Sep/38> (mailing-list, third-party-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00019.html> (third-party-advisory, vendor-advisory)
- <https://support.apple.com/kb/HT210634> (third-party-advisory)
- <https://seclists.org/bugtraq/2019/Oct/9> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2019/Oct/15> (mailing-list, third-party-advisory)
- <https://support.apple.com/kb/HT210722> (third-party-advisory)
- <http://seclists.org/fulldisclosure/2019/Oct/55> (mailing-list, third-party-advisory)
- <https://access.redhat.com/errata/RHSA-2019:3299> (third-party-advisory, vendor-advisory)
- <https://www.tenable.com/security/tns-2021-14> (third-party-advisory)

## Sources

- CVE List: [CVE-2019-11042](https://www.cve.org/CVERecord?id=CVE-2019-11042), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2019-11042](https://nvd.nist.gov/vuln/detail/CVE-2019-11042), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-11042 · Whole record: https://cve.day/CVE-2019-11042.json · Rebuilt by cve.day 2026-11-25T22:57:46.438Z
