6.3medium
libxml streams use wrong content-type header when requesting a redirected resource
- Severity
- 6.3medium CVSS:4.0 by php
- Exploit likelihood
- 0.74% (higher than 55% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- php
- Also known as
- BIT-LIBPHP-2025-1219BIT-PHP-2025-1219BIT-PHP-MIN-2025-1219GHSA-p3x9-6h7p-cgfc
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| PHP Group 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 | CVE List |
| php php | from 8.1.0 before 8.1.32, from 8.2.0 before 8.2.28, from 8.3.0 before 8.3.19, from 8.4.0 before 8.4.5 | NVD |
| libphp (Bitnami) | before 8.1.32, from 8.2.0 before 8.2.28, from 8.3.0 before 8.3.19, from 8.4.0 before 8.4.5 | Bitnami Vulnerability Database |
| php (Bitnami) | before 8.1.32, from 8.2.0 before 8.2.28, from 8.3.0 before 8.3.19, from 8.4.0 before 8.4.5 | Bitnami Vulnerability Database |
| php-min (Bitnami) | before 8.1.32, from 8.2.0 before 8.2.28, from 8.3.0 before 8.3.19, from 8.4.0 before 8.4.5 | Bitnami Vulnerability Database |
All scores
| php | 6.3medium CVSS:4.0 | 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 |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En PHP (versión 8.1.* anterior a 8.1.32, 8.2.* anterior a 8.2.28, 8.3.* anterior a 8.3.19 y 8.4.* anterior a 8.4.5), al solicitar un recurso HTTP mediante las extensiones DOM o SimpleXML, se utiliza un encabezado de tipo de contenido incorrecto para determinar el conjunto de caracteres cuando el recurso solicitado realiza una redirección. Esto puede provocar que el documento resultante se analice incorrectamente o que se omitan las validaciones.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-1219 changed 2025-11-03 | CVE Terms of Use |
| NVD | CVE-2025-1219 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-LIBPHP-2025-1219 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PHP-2025-1219 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PHP-MIN-2025-1219 changed 2026-09-08 | Apache-2.0 |