CVE-2025-14177

Information Leak of Memory in getimagesize

HIGH
7.5
CVSS Score
Published: December 27, 2025 at 07:33 PM UTC
Updated: October 13, 2026 at 09:10 AM UTC
1 product affected across 1 vendorPHP

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.5%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
8.1.0 ≤ v < 8.1.348.2.0 ≤ v < 8.2.308.3.0 ≤ v < 8.3.298.4.0 ≤ v < 8.4.168.1.*8.2.*8.3.*8.4.*8.5.*8.5.0
Affected range stops below 8.1.34, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.2.30, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.3.29, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.4.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.5.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (1)

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card