Heap buffer overflow in EXIF extension
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.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for help- Published
- Jun 18, 2019
- Updated
- Jun 16, 2026
- EPSS
- 4.1% · 90th percentile
- CWE
- CWE-125
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
37
Monitor
Low priority for now.
- CVSS
- 36 / 40 · 9.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.1%
CNA vs NVD score
- NVD
- 9.1
- CNA · php
- 4.8
- 4.3 point gap
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
| redhat | software collections | cpe:2.3:a:redhat:software_collections |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php php7.1.0 and later · before 7.1.30
- php php7.2.0 and later · before 7.2.19
- php php7.3.0 and later · before 7.3.6
Versions reported by the vendor
Affected version ranges reported by the assigning authority (php). Independent of NVD's CPE analysis and usually ahead of it.
PHP Group PHP
- 7.1.30, 7.2.19, 7.3.6affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | apcu-panel | before 5.1.12-2.module_el8.3.0+2010+7c76a223 | 5.1.12-2.module_el8.3.0+2010+7c76a223 |
| AlmaLinux:8 | apcu-panel | before 5.1.17-1.module_el8.3.0+2009+b272fdef | 5.1.17-1.module_el8.3.0+2009+b272fdef |
| AlmaLinux:8 | libzip | before 1.5.1-2.module_el8.4.0+2228+7c76a223 | 1.5.1-2.module_el8.4.0+2228+7c76a223 |
| AlmaLinux:8 | libzip | before 1.5.2-1.module_el8.4.0+2229+b272fdef | 1.5.2-1.module_el8.4.0+2229+b272fdef |
| AlmaLinux:8 | libzip | before 1.5.2-1.module_el8.5.0+152+112d3b8c | 1.5.2-1.module_el8.5.0+152+112d3b8c |
| AlmaLinux:8 | libzip | before 1.5.1-2.module_el8.5.0+53+9945c2af | 1.5.1-2.module_el8.5.0+53+9945c2af |
| AlmaLinux:8 | libzip | before 1.5.2-1.module_el8.3.0+2009+b272fdef | 1.5.2-1.module_el8.3.0+2009+b272fdef |
| AlmaLinux:8 | libzip | before 1.5.1-2.module_el8.3.0+2010+7c76a223 | 1.5.1-2.module_el8.3.0+2010+7c76a223 |
| AlmaLinux:8 | libzip-devel | before 1.5.1-2.module_el8.5.0+53+9945c2af | 1.5.1-2.module_el8.5.0+53+9945c2af |
| AlmaLinux:8 | libzip-devel | before 1.5.1-2.module_el8.4.0+2228+7c76a223 | 1.5.1-2.module_el8.4.0+2228+7c76a223 |
| AlmaLinux:8 | libzip-devel | before 1.5.2-1.module_el8.4.0+2229+b272fdef | 1.5.2-1.module_el8.4.0+2229+b272fdef |
| AlmaLinux:8 | libzip-devel | before 1.5.1-2.module_el8.3.0+2010+7c76a223 | 1.5.1-2.module_el8.3.0+2010+7c76a223 |
| AlmaLinux:8 | libzip-devel | before 1.5.2-1.module_el8.5.0+152+112d3b8c | 1.5.2-1.module_el8.5.0+152+112d3b8c |
| AlmaLinux:8 | libzip-devel | before 1.5.2-1.module_el8.3.0+2009+b272fdef | 1.5.2-1.module_el8.3.0+2009+b272fdef |
| AlmaLinux:8 | libzip-tools | before 1.5.1-2.module_el8.5.0+53+9945c2af | 1.5.1-2.module_el8.5.0+53+9945c2af |
| AlmaLinux:8 | libzip-tools | before 1.5.1-2.module_el8.4.0+2228+7c76a223 | 1.5.1-2.module_el8.4.0+2228+7c76a223 |
| AlmaLinux:8 | libzip-tools | before 1.5.2-1.module_el8.3.0+2009+b272fdef | 1.5.2-1.module_el8.3.0+2009+b272fdef |
| AlmaLinux:8 | libzip-tools | before 1.5.2-1.module_el8.5.0+152+112d3b8c | 1.5.2-1.module_el8.5.0+152+112d3b8c |
| AlmaLinux:8 | libzip-tools | before 1.5.2-1.module_el8.4.0+2229+b272fdef | 1.5.2-1.module_el8.4.0+2229+b272fdef |
| AlmaLinux:8 | libzip-tools | before 1.5.1-2.module_el8.3.0+2010+7c76a223 | 1.5.1-2.module_el8.3.0+2010+7c76a223 |
| AlmaLinux:8 | php | before 7.2.24-1.module_el8.5.0+53+9945c2af | 7.2.24-1.module_el8.5.0+53+9945c2af |
| AlmaLinux:8 | php | before 7.3.20-1.module_el8.4.0+2229+b272fdef | 7.3.20-1.module_el8.4.0+2229+b272fdef |
| AlmaLinux:8 | php | before 7.2.24-1.module_el8.4.0+2228+7c76a223 | 7.2.24-1.module_el8.4.0+2228+7c76a223 |
| AlmaLinux:8 | php | before 7.3.20-1.module_el8.3.0+2009+b272fdef | 7.3.20-1.module_el8.3.0+2009+b272fdef |
+96
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle queKEV99Now
- CVE-2018-7584In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while pa65This week
- CVE-2018-19518University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of 59Plan
- CVE-2016-3078Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-b56Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:apcu-panel | 5.1.12-2.module_el8.3.0+2010+7c76a223 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libzip | 1.5.1-2.module_el8.3.0+2010+7c76a223 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libzip-devel | 1.5.1-2.module_el8.4.0+2228+7c76a223 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libzip-tools | 1.5.1-2.module_el8.4.0+2228+7c76a223 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php | 7.2.24-1.module_el8.3.0+2010+7c76a223 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-bcmath | 7.2.24-1.module_el8.3.0+2010+7c76a223 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-cli | 7.2.24-1.module_el8.4.0+2228+7c76a223 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-common | 7.2.24-1.module_el8.4.0+2228+7c76a223 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-dba | 7.2.24-1.module_el8.4.0+2228+7c76a223 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-dbg | 7.2.24-1.module_el8.3.0+2010+7c76a223 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-devel | 7.2.24-1.module_el8.3.0+2010+7c76a223 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-embedded | 7.2.24-1.module_el8.4.0+2228+7c76a223 · AlmaLinux:8 | Package registry (OSV) |
| debian:php5 | 5.6.40+dfsg-0+deb8u4 · Debian:8 | Package registry (OSV) |
| debian:php7.0 | 7.0.33-0+deb9u5 · Debian:9 | Package registry (OSV) |
| debian:php7.3 | 7.3.9-1~deb10u1 · Debian:10 | Package registry (OSV) |
| opensuse:php7 | 7.2.34-150000.4.103.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| red hat:rh-php72-php | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php72-php-bcmath | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php72-php-cli | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php72-php-common | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php72-php-dba | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php72-php-dbg | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php72-php-debuginfo | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php72-php-devel | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php72-php-embedded | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php72-php-enchant | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php72-php-fpm | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php72-php-gd | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| rocky linux:libzip | 0:1.5.1-2.module+el8.4.0+413+c9202dda · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:php | 0:7.2.24-1.module+el8.4.0+413+c9202dda · Rocky Linux:8 | Package registry (OSV) |
+9
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- By orestiskouridesgmail dot com
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-125 · Out-of-bounds ReadCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-security-announce/2019-07/msg00029.html
- access.redhat.com/errata/RHSA-2019:2519
- access.redhat.com/errata/RHSA-2019:3299
- seclists.org/bugtraq/2019/Sep/35
- seclists.org/bugtraq/2019/Sep/38
- www.debian.org/security/2019/dsa-4527
- www.debian.org/security/2019/dsa-4529
Vendor advisories and official records. Exploit/PoC links are deliberately left out.