{"id":"CVE-2025-14177","summary":"Information Leak of Memory in getimagesize","details":"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.","aliases":["BIT-libphp-2025-14177","BIT-php-2025-14177","BIT-php-min-2025-14177","GHSA-3237-qqm7-mfv7"],"modified":"2026-05-28T03:53:36.304276565Z","published":"2025-12-27T19:33:23.973Z","related":["ALSA-2026:1409","ALSA-2026:1412","ALSA-2026:1429","ALSA-2026:1628","ALSA-2026:2470","ALSA-2026:2799","SUSE-SU-2026:0071-1","SUSE-SU-2026:0086-1","SUSE-SU-2026:20146-1","openSUSE-SU-2025:15837-1","openSUSE-SU-2026:20113-1"],"database_specific":{"cna_assigner":"php","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14177.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14177.json"},{"type":"ADVISORY","url":"https://github.com/php/php-src/security/advisories/GHSA-3237-qqm7-mfv7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14177"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"685e99655ae97c667950f7f7d176985958718f56"},{"fixed":"3f6a5c8a76764dcea9872fee5beed8fa7d1d5bcd"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-14177.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}