Описание
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.
A flaw was found in PHP's DOM and SimpleXML extensions. This vulnerability allows incorrect parsing of a redirected HTTP resource via improper content-type header handling.
Отчет
Moderate impact: Red Hat Enterprise Linux is affected by a PHP flaw in the DOM and SimpleXML extensions. When an application requests an HTTP resource that performs a redirect, the wrong Content-Type header is used to determine the character set, which can cause the resulting document to be parsed incorrectly or allow validations to be bypassed. The affected RHEL entries include streams with delegated resolution, for which a fix is being pursued; RHEL entries marked not affected remain outside the affected scope. Red Hat In-Vehicle OS entries are affected with resolution deferred, so the residual risk is that redirected HTTP resources processed by DOM or SimpleXML may still be parsed incorrectly or bypass validations. Fedora 40 and Fedora 41 are not affected because inline mitigations already exist. Red Hat rates the issue Low (CVSS 3.7) rather than the external Moderate ratings because its assessment assigns high attack complexity and limited confidentiality impact.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | php | Out of support scope | ||
| Red Hat Enterprise Linux 7 | php | Out of support scope | ||
| Red Hat Enterprise Linux 10 | php | Fixed | RHSA-2025:7489 | 13.05.2025 |
| Red Hat Enterprise Linux 8 | php | Fixed | RHSA-2025:15687 | 11.09.2025 |
| Red Hat Enterprise Linux 8 | php | Fixed | RHSA-2026:2470 | 10.02.2026 |
| Red Hat Enterprise Linux 9 | php | Fixed | RHSA-2025:4263 | 28.04.2025 |
| Red Hat Enterprise Linux 9 | php | Fixed | RHSA-2025:7418 | 13.05.2025 |
| Red Hat Enterprise Linux 9 | php | Fixed | RHSA-2025:7431 | 13.05.2025 |
| Red Hat Enterprise Linux 9 | php | Fixed | RHSA-2025:7432 | 13.05.2025 |
Показывать по
Дополнительная информация
Статус:
EPSS
3.7 Low
CVSS3
Связанные уязвимости
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.
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.
libxml streams use wrong content-type header when requesting a redirected resource
In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* ...
libxml streams use wrong `content-type` header when requesting a redirected resource
EPSS
3.7 Low
CVSS3