Summary
PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.
Security Fix(es):
* php: Header parser of http stream wrapper does not handle folded headers (CVE-2025-1217)
* php: Stream HTTP wrapper header check might omit basic auth header (CVE-2025-1736)
* php: Streams HTTP wrapper does not fail for headers with invalid name and no colon (CVE-2025-1734)
* php: libxml streams use wrong content-type header when requesting a redirected resource (CVE-2025-1219)
* php: Stream HTTP wrapper truncates redirect location to 1024 bytes (CVE-2025-1861)
* php: Reference counting in php_request_shutdown causes Use-After-Free (CVE-2024-11235)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Fixed packages 25
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 10 | php | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-bcmath | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-cli | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-common | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-dba | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-dbg | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-devel | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-embedded | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-enchant | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-ffi | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-fpm | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-gd | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-gmp | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-intl | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-ldap | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-mbstring | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-mysqlnd | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-odbc | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-opcache | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-pdo | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-pgsql | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-process | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-snmp | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-soap | 8.3.19-1.el10_0 |
| AlmaLinux · 10 | php-xml | 8.3.19-1.el10_0 |
Vulnerabilities 6
-
Critical 9.2
Reference counting in php_request_shutdown causes Use-After-Free
In PHP versions 8.3.* before 8.3.19 and 8.4.* before 8.4.5, a code sequence involving __set handler or ??= operator and exceptions can lead to a use-after-free vulnerability. If the third party can control the memory layout leading to this, for example by su…
-
Medium 6.3
Header parser of http stream wrapper does not handle folded headers
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 http request module parses HTTP response obtained from a server, folded headers are parsed incorrectly, which may lead to misinterpreting the re…
-
Medium 6.3CVE-2025-1219 Public exploit
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.* 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 reques…
-
Medium 6.3
Streams HTTP wrapper does not fail for headers with invalid name and no colon
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 receiving headers from HTTP server, the headers missing a colon (:) are treated as valid headers even though they are not. This may confuse appl…
-
Medium 6.3
Stream HTTP wrapper header check might omit basic auth header
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 user-supplied headers are sent, the insufficient validation of the end-of-line characters may prevent certain headers from being sent or lead to…
-
Medium 6.3
Stream HTTP wrapper truncates redirect location to 1024 bytes
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 parsing HTTP redirect in the response to an HTTP request, there is currently limit on the location value size caused by limited size of the loca…
References
-
report
https://access.redhat.com/security/cve/CVE-2024-11235
-
report
https://access.redhat.com/security/cve/CVE-2025-1217
-
report
https://access.redhat.com/security/cve/CVE-2025-1219
-
report
https://access.redhat.com/security/cve/CVE-2025-1734
-
report
https://access.redhat.com/security/cve/CVE-2025-1736
-
report
https://access.redhat.com/security/cve/CVE-2025-1861
-
report
https://bugzilla.redhat.com/2355917
-
report
https://bugzilla.redhat.com/2356041
-
report
https://bugzilla.redhat.com/2356042
-
report
https://bugzilla.redhat.com/2356043
-
report
https://bugzilla.redhat.com/2356046
-
report
https://bugzilla.redhat.com/2357531
-
advisory
https://errata.almalinux.org/10/ALSA-2025-7489.html