Vendors › PHP

CVE-2025-1219

Medium (no CVSS assigned) EPSS 0.7% PHP · core

libxml streams use wrong content-type header when requesting a redirected resource

When requesting a HTTP resource using the DOM or SimpleXML extensions, the wrong content-type header is used to determine the charset when the requested resource performs a redirect.

Published2025-03-13
Updated2025-03-13
AffectedPHP versions < 8.1.32; PHP versions < 8.2.28; PHP versions < 8.3.18; PHP versions < 8.4.5
FixUpgrade to 8.1.32, 8.2.28, 8.3.19, 8.4.5 (first fixed release per supported branch).
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-p3x9-6h7p-cgfc

CVEs (1)

CVECWETypeImpactLinks
CVE-2025-1219CWE-1116OtherOtherNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.