{"id":"CVE-2025-14177","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-03-12T02:31:08.006070Z","published":"2025-12-27T20:15:40.400Z","related":["ALSA-2026:1409","ALSA-2026:1412","ALSA-2026:1429","ALSA-2026:1628","ALSA-2026:2470","ALSA-2026:2799","MGASA-2025-0330","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"],"references":[{"type":"EVIDENCE","url":"https://github.com/php/php-src/security/advisories/GHSA-3237-qqm7-mfv7"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"381ba9f5d0edd0c9c8ec1dea7e21d513ad08b115"},{"fixed":"94abff74457effe4432f0bd49f5230aa11155dff"},{"introduced":"70ee6c20ad97e02c2b8098aeea96fefbbc3ac5c2"},{"fixed":"b233e9d0631bd14e775db4e7b93f6bb82fccf1a0"},{"introduced":"d26068059e83fe40de3430a512471d194119bee0"},{"fixed":"2fe579bc267e70c53b45b859d8f312a55edd38a6"},{"introduced":"b437f2b32eb364c9496d24abcc734272e5c9c980"},{"fixed":"2890cbbc4940f382f2f781d08f12c127b1a06a26"},{"introduced":"0"},{"last_affected":"685e99655ae97c667950f7f7d176985958718f56"}],"database_specific":{"versions":[{"introduced":"8.1.0"},{"fixed":"8.1.34"},{"introduced":"8.2.0"},{"fixed":"8.2.30"},{"introduced":"8.3.0"},{"fixed":"8.3.29"},{"introduced":"8.4.0"},{"fixed":"8.4.16"},{"introduced":"0"},{"last_affected":"8.5.0"}]}}],"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_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}