CVE-2025-14177 Details
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.
A vulnerability exists in PHP versions 8.1.* prior to 8.1.34, 8.2.* prior to 8.2.30, 8.3.* prior to 8.3.29, 8.4.* prior to 8.4.16, and 8.5.* prior to 8.5.1. The issue arises in the getimagesize() function, which may inadvertently leak uninitialized heap memory into the APPn segments (such as APP1) when processing images in multi-chunk mode, for example via php://filter. This behavior is caused by a flaw in the php_read_stream_all_chunks() function, which overwrites the data buffer without properly advancing the pointer, leaving trailing bytes uninitialized. Consequently, this vulnerability could lead to the unintentional disclosure of sensitive heap information, compromising the confidentiality of the affected server.
Users can upgrade to PHP versions 8.1.34, 8.2.30, 8.3.29, 8.4.16, or 8.5.1 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/php/php-src/security/advisories/GHSA-3237-qqm7-mfv7 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php 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 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 8, 2026 | Initial Analysis | [email protected] |
| Dec 27, 2025 | New CVE Received | [email protected] |