{"id":"CVE-2025-1219","summary":"libxml streams use wrong content-type header when requesting a redirected resource","details":"In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, 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. This may cause the resulting document to be parsed incorrectly or bypass validations.","aliases":["BIT-libphp-2025-1219","BIT-php-2025-1219","BIT-php-min-2025-1219","GHSA-p3x9-6h7p-cgfc"],"modified":"2026-08-12T03:30:51.406412675Z","published":"2025-03-30T05:33:13.801Z","related":["ALSA-2025:15687","ALSA-2025:4263","ALSA-2025:7418","ALSA-2025:7431","ALSA-2025:7432","ALSA-2025:7489","ALSA-2026:2470","SUSE-SU-2025:0994-1","SUSE-SU-2025:1012-1","SUSE-SU-2025:1025-1","SUSE-SU-2025:1026-1","openSUSE-SU-2025:14895-1"],"database_specific":{"cna_assigner":"php","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1219.json"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00014.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1219.json"},{"type":"ADVISORY","url":"https://github.com/php/php-src/security/advisories/GHSA-p3x9-6h7p-cgfc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1219"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20250523-0007/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"381ba9f5d0edd0c9c8ec1dea7e21d513ad08b115"},{"fixed":"aa4bed90d8927de8c2648ea5f3f4a32c56301b71"},{"introduced":"70ee6c20ad97e02c2b8098aeea96fefbbc3ac5c2"},{"fixed":"997ec633e4d024e50315e722c89733f77a2248f8"},{"introduced":"d26068059e83fe40de3430a512471d194119bee0"},{"fixed":"fdeadcd9ba0627cf1967220489ab6caa031e4034"},{"introduced":"b437f2b32eb364c9496d24abcc734272e5c9c980"},{"fixed":"23e05bdcf23319f4922513a91bb0d5e3925d5249"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"8.1.0"},{"fixed":"8.1.32"},{"introduced":"8.2.0"},{"fixed":"8.2.28"},{"introduced":"8.3.0"},{"fixed":"8.3.19"},{"introduced":"8.4.0"},{"fixed":"8.4.5"}]}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-1219.json"}}],"schema_version":"1.9.0","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:N/SI:N/SA:N"}]}