CVE-2025-1219
CVE-2025-1219 · libxml streams use wrong content-type header when requesting a redirected resource
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.3 · Medium · EPSS 0.7% · Fix available
- Published
- Updated
Affected products and versions
php
- Versions
- ≥ 8.1.*, < 8.1.32: Affected (semver)
- ≥ 8.2.*, < 8.2.28: Affected (semver)
- ≥ 8.3.*, < 8.3.19: Affected (semver)
- ≥ 8.4.*, < 8.4.5: Affected (semver)
Update to 8.1.32; Update to 8.2.28; Update to 8.3.19; Update to 8.4.5
php8.2 Debian:12
- Versions
- 8.2.10-1
- 8.2.10-2
- 8.2.12-1
- 8.2.16-1
- 8.2.16-2
- 8.2.17-1
- 8.2.18-1
- 8.2.18-1~deb12u1
- 8.2.20-1~deb12u1
- 8.2.20-2
- 8.2.20-3
- 8.2.21-1
- 8.2.23-1
- 8.2.24-1
- 8.2.24-1~deb12u1
- 8.2.26-1~deb12u1
- 8.2.26-4
- 8.2.27-1
- 8.2.5-2
- 8.2.7-1
- 8.2.7-1.1
- 8.2.7-1.2
- 8.2.7-1~deb12u1
- Affected ranges
- ECOSYSTEM: < 8.2.28-1~deb12u1
Update to 8.2.28-1~deb12u1
php8.4 Debian:13
- Affected ranges
- ECOSYSTEM: < 8.4.5-1
Update to 8.4.5-1
php8.4 Debian:14
- Affected ranges
- ECOSYSTEM: < 8.4.5-1
Update to 8.4.5-1
php7.4 Ubuntu:Pro:20.04:LTS
- Versions
- 7.4.3-4build1
- 7.4.3-4build2
- 7.4.3-4ubuntu1
- 7.4.3-4ubuntu1.1
- 7.4.3-4ubuntu2.2
- 7.4.3-4ubuntu2.4
- 7.4.3-4ubuntu2.5
- 7.4.3-4ubuntu2.6
- 7.4.3-4ubuntu2.7
- 7.4.3-4ubuntu2.8
- 7.4.3-4ubuntu2.9
- 7.4.3-4ubuntu2.10
- 7.4.3-4ubuntu2.11
- 7.4.3-4ubuntu2.12
- 7.4.3-4ubuntu2.13
- 7.4.3-4ubuntu2.15
- 7.4.3-4ubuntu2.16
- 7.4.3-4ubuntu2.17
- 7.4.3-4ubuntu2.18
- 7.4.3-4ubuntu2.19
- 7.4.3-4ubuntu2.20
- 7.4.3-4ubuntu2.22
- 7.4.3-4ubuntu2.23
- 7.4.3-4ubuntu2.24
- 7.4.3-4ubuntu2.26
- 7.4.3-4ubuntu2.28
- 7.4.3-4ubuntu2.29
- 7.4.3-4ubuntu2.29+esm1
- 7.4.3-4ubuntu2.29+esm2
- 7.4.3-4ubuntu2.29+esm3
- 7.4.3-4ubuntu2.29+esm4
- 7.4.3-4ubuntu2.29+esm5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php8.1 Ubuntu:22.04:LTS
- Versions
- 8.1.0~rc4-1ubuntu2
- 8.1.0-1
- 8.1.2-1ubuntu1
- 8.1.2-1ubuntu2
- 8.1.2-1ubuntu2.1
- 8.1.2-1ubuntu2.2
- 8.1.2-1ubuntu2.3
- 8.1.2-1ubuntu2.4
- 8.1.2-1ubuntu2.5
- 8.1.2-1ubuntu2.6
- 8.1.2-1ubuntu2.8
- 8.1.2-1ubuntu2.9
- 8.1.2-1ubuntu2.10
- 8.1.2-1ubuntu2.11
- 8.1.2-1ubuntu2.13
- 8.1.2-1ubuntu2.14
- 8.1.2-1ubuntu2.15
- 8.1.2-1ubuntu2.17
- 8.1.2-1ubuntu2.18
- 8.1.2-1ubuntu2.19
- 8.1.2-1ubuntu2.20
- Affected ranges
- ECOSYSTEM: < 8.1.2-1ubuntu2.21
Update to 8.1.2-1ubuntu2.21
php8.3 Ubuntu:24.04:LTS
- Versions
- 8.3.0-1
- 8.3.0-1ubuntu1
- 8.3.4-1
- 8.3.4-1build1
- 8.3.6-0maysync1
- 8.3.6-0ubuntu0.24.04.1
- 8.3.6-0ubuntu0.24.04.2
- 8.3.6-0ubuntu0.24.04.3
- Affected ranges
- ECOSYSTEM: < 8.3.6-0ubuntu0.24.04.4
Update to 8.3.6-0ubuntu0.24.04.4