{"id":"CVE-2025-14177","sourceIdentifier":"security@php.net","published":"2025-12-27T20:15:40.400","lastModified":"2026-10-13T09:10:00.323","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"En versiones de PHP: 8.1.* anteriores a 8.1.34, 8.2.* anteriores a 8.2.30, 8.3.* anteriores a 8.3.29, 8.4.* anteriores a 8.4.16, 8.5.* anteriores a 8.5.1, la función getimagesize() puede filtrar memoria de pila no inicializada en los segmentos APPn (por ejemplo, APP1) al leer imágenes en modo de múltiples fragmentos (como a través de php://filter). Esto ocurre debido a un error en php_read_stream_all_chunks() que sobrescribe el búfer sin avanzar el puntero, dejando bytes de cola no inicializados. Esto puede llevar a la revelación de información de datos sensibles de la pila y afectar la confidencialidad del servidor objetivo."}],"affected":[{"source":"security@php.net","affectedData":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"affected","packageName":"php","versions":[{"version":"8.1.*","lessThan":"8.1.34","versionType":"semver","status":"affected"},{"version":"8.2.*","lessThan":"8.2.30","versionType":"semver","status":"affected"},{"version":"8.3.*","lessThan":"8.3.29","versionType":"semver","status":"affected"},{"version":"8.4.*","lessThan":"8.4.16","versionType":"semver","status":"affected"},{"version":"8.5.*","lessThan":"8.5.1","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"security@php.net","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":6.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-12-29T16:01:25.714908Z","id":"CVE-2025-14177","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security@php.net","type":"Secondary","description":[{"lang":"en","value":"CWE-125"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"8.1.0","versionEndExcluding":"8.1.34","matchCriteriaId":"56FCF002-3946-40DF-A774-75C6DDE6CA26"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"8.2.0","versionEndExcluding":"8.2.30","matchCriteriaId":"AB314013-4F2F-40F0-968B-35FEC22CC8A4"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"8.3.0","versionEndExcluding":"8.3.29","matchCriteriaId":"DAD5402D-688D-44AA-B083-5157FDC53D7A"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"8.4.0","versionEndExcluding":"8.4.16","matchCriteriaId":"8813328B-AC06-4060-916F-CD27144F41E2"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:8.5.0:*:*:*:*:*:*:*","matchCriteriaId":"F7465128-DC9D-49F2-BFC2-6B307D7BC373"}]}]}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-3237-qqm7-mfv7","source":"security@php.net","tags":["Exploit","Third Party Advisory"]}]}