Back to CVE records
Medium 6.3Published Dec 27, 2025

CVE-2025-14177Information Leak of Memory in getimagesize

Updated under an hour ago ()

Does this affect you?

It affects PHP Group PHP and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
6.3 MEDIUM (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
Weakness (CWE)
CWE-125
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
php
NVD analysis
Analyzed
Record last updated
Dec 29, 2025
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
PHP Group PHP
php_group:php (from the name)
from 8.1.* before 8.1.34; from 8.2.* before 8.2.30; from 8.3.* before 8.3.29; from 8.4.* before 8.4.16; from 8.5.* before 8.5.1
CNA record
php php
php:php
from 8.1.0 before 8.1.34; from 8.2.0 before 8.2.30; from 8.3.0 before 8.3.29; from 8.4.0 before 8.4.16; 8.5.0
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.