CVE-2025-14177: Information Leak of Memory in getimagesize
Vulnerability summary
CVE-2025-14177 is a high (CVSS 7.5) Out-of-bounds Read vulnerability in php group php. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 46.9% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 16 · Related 6Timeline
- 27-12-2025PublishedVulnerability first disclosed.
- 29-12-2025Last modifiedVulnerability information updated.
Description
In PHP versions:8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.* before 8.5.1, the getimagesize() function may leak uninitialized heap memory into the APPn segments (e.g., APP1) when reading images in multi-chunk mode (such as via php://filter). This occurs due to a bug in php_read_stream_all_chunks() that overwrites the buffer without advancing the pointer, leaving tail bytes uninitialized. This may lead to information disclosure of sensitive heap data and affect the confidentiality of the target server.
CVSS metrics
7 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
- NVDNIST6.3MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.54%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.50% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPhp Src
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine5 products
- php81< 8.1.34-r0
- php82< 8.2.30-r0
- php83< 8.3.29-r0
- php84< 8.4.16-r0
- php85< 8.5.1-r0
Debian2 products
- php8.2< 8.2.30-1~deb12u1
- php8.4< 8.4.16-1~deb13u1 | < 8.4.16-1
Ubuntu2 products
- php8.3< 8.3.6-0ubuntu0.24.04.6
- php8.4< 8.4.11-1ubuntu1.1
Php1 product
- php≥ 8.1.0, < 8.1.34 | ≥ 8.2.0, < 8.2.30 | ≥ 8.3.0, < 8.3.29 | ≥ 8.4.0, < 8.4.16 | 8.5.0
Php group1 product
- php≥ 8.1.*, < 8.1.34 | ≥ 8.2.*, < 8.2.30 | ≥ 8.3.*, < 8.3.29 | ≥ 8.4.*, < 8.4.16 | ≥ 8.5.*, < 8.5.1
5 vendors · 11 products