CVE-2019-11040 | Heap buffer overflow in EXIF extension

Exp

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.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6 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.

Published: 2019-06-19 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2019-11040 is rated High Exploit Risk (79.4/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 1.24%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2019-11040

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2019-11040

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-04 0.89% 1.24% +0.34%
2 2026-03-01 1.24% 0.89% -0.34%
3 2026-02-19 1.24%

Full EPSS history (46 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2019-11040

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.1 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.2 [email protected]
4.8 3.0 MEDIUM
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
2.2 2.5 [email protected]
6.4 2.0 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 4.9 [email protected]

Weakness enumeration for CVE-2019-11040

OS Trackers for CVE-2019-11040

vendor priority summary link
alpine critical CVE-2019-11040: 1 source package rows (php7); 1 state rows across 1 repos (edge-community); fixed 1, open 0. https://security.alpinelinux.org/vuln/CVE-2019-11040
redhat medium https://access.redhat.com/security/cve/CVE-2019-11040
suse medium CVE-2019-11040 severity moderate: SUSE including 944 source package names (apache2-mod_php5-5.2.14-111.54.1, apache2-mod_php5-5.5.14-109.63.2, …), 1874 product×package rows across 47 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 6, … (47 product lines)): Fixed 1470, Known Not Affected 404. https://www.suse.com/security/cve/CVE-2019-11040/
ubuntu medium CVE-2019-11040 medium priority: Ubuntu including 4 source packages (php5, php7.0, php7.2, php7.3), 24 status rows across 6 suites (bionic, cosmic, disco, trusty, upstream, xenial): DNE 15, released 7, needs-triage 2. https://ubuntu.com/security/CVE-2019-11040

Affected software / configurations for CVE-2019-11040

Vendor Product Version Raw CPE
php php >= 7.1.0, < 7.1.30 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 7.2.0, < 7.2.19 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 7.3.0, < 7.3.6 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
redhat software_collections 1.0 cpe:2.3:a:redhat:software_collections:1.0:*:*:*:*:*:*:*
opensuse leap 15.0 cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
opensuse leap 15.1 cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

References for CVE-2019-11040

cvelogic Threat Intelligence