Description
In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PHP Group | PHP | 8.1.* – < 8.1.29, 8.2.* – < 8.2.20, 8.3.* – < 8.3.8 | 8.1.29 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | php8.2 | 8.2.20-1~deb12u1 | DSA-5717-1 |
| Debian 11 | php7.4 | 7.4.33-1+deb11u6 | DLA-3920-1 |
| Debian 10 | php7.3 | 7.3.31-1~deb10u7 | DLA-3833-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | php8.3 | 8.3.6-0ubuntu0.24.04.1 | USN-6841-1 |
| Ubuntu 22.04 LTS | php8.1 | 8.1.2-1ubuntu2.18 | USN-6841-1 |
| Ubuntu 20.04 LTS | php7.4 | 7.4.3-4ubuntu2.23 | USN-6841-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | php7.2 | 7.2.24-0ubuntu0.18.04.17+esm5 | USN-6841-2 |
| Ubuntu Pro 16.04 LTS | php7.0 | 7.0.33-0ubuntu0.16.04.16+esm11 | USN-6841-2 |
| Ubuntu Pro 14.04 LTS | php5 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | apcu-panel +2 | 5.1.21-1.module+el9.1.0.z+15477+cb86791d | RHSA-2024:10950, RHSA-2024:10949 |
| RHEL 9 | php +23 | 8.0.30-2.el9 | RHSA-2025:7315, RHSA-2024:10950, RHSA-2024:10949 |
| RHEL 9 | php-pecl-rrd | 2.0.3-4.module+el9.1.0.z+15477+cb86791d | RHSA-2024:10950, RHSA-2024:10949 |
| RHEL 9 | php-pecl-xdebug3 | 3.1.4-1.module+el9.1.0.z+15477+cb86791d | RHSA-2024:10950, RHSA-2024:10949 |
| RHEL 9 | php-pecl-zip | 1.20.1-1.module+el9.1.0.z+15477+cb86791d | RHSA-2024:10950, RHSA-2024:10949 |
| RHEL 8 | apcu-panel +2 | 5.1.18-1.module+el8.10.0+22485+a3539972 | RHSA-2024:10952, RHSA-2024:10951 |
| RHEL 8 | libzip +2 | 1.6.1-1.module+el8.10.0+22485+a3539972 | RHSA-2024:10952, RHSA-2024:10951 |
| RHEL 8 | php +25 | 7.4.33-2.module+el8.10.0+22485+a3539972 | RHSA-2024:10952, RHSA-2024:10951 |
| RHEL 8 | php-pear | 1:1.10.13-1.module+el8.10.0+22485+a3539972 | RHSA-2024:10952, RHSA-2024:10951 |
| RHEL 8 | php-pecl-rrd | 2.0.1-1.module+el8.10.0+22485+a3539972 | RHSA-2024:10952, RHSA-2024:10951 |
| RHEL 8 | php-pecl-xdebug | 2.9.5-1.module+el8.10.0+22485+a3539972 | RHSA-2024:10952 |
| RHEL 8 | php-pecl-xdebug3 | 3.2.2-2.module+el8.10.0+20798+00eaeb41 | RHSA-2024:10951 |
| RHEL 8 | php-pecl-zip | 1.18.2-1.module+el8.10.0+22485+a3539972 | RHSA-2024:10952, RHSA-2024:10951 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | apcu-panel +2 | 5.1.21-1.module_el9.1.0+15+94ba28e4 | ALSA-2024:10950, ALSA-2024:10949 |
| AlmaLinux 9 | php +23 | 8.1.30-1.module_el9.5.0+131+62ecd687 | ALSA-2024:10950, ALSA-2024:10949 |
| AlmaLinux 9 | php-pecl-rrd | 2.0.3-4.module_el9.1.0+15+94ba28e4 | ALSA-2024:10950, ALSA-2024:10949 |
| AlmaLinux 9 | php-pecl-xdebug3 | 3.1.4-1.module_el9.1.0+15+94ba28e4 | ALSA-2024:10950, ALSA-2024:10949 |
| AlmaLinux 9 | php-pecl-zip | 1.20.1-1.module_el9.1.0+15+94ba28e4 | ALSA-2024:10950, ALSA-2024:10949 |
| AlmaLinux 8 | apcu-panel +2 | 5.1.18-1.module_el8.6.0+2750+78feabcb | ALSA-2024:10952, ALSA-2024:10951 |
| AlmaLinux 8 | libzip +1 | 1.6.1-1.module_el8.6.0+2750+78feabcb | ALSA-2024:10952, ALSA-2024:10951 |
| AlmaLinux 8 | libzip-devel | 1.6.1-1.module_el8.6.0+3239+bedf0508 | ALSA-2024:10952, ALSA-2024:10951 |
| AlmaLinux 8 | php +25 | 7.4.33-2.module_el8.10.0+3935+28808425 | ALSA-2024:10952, ALSA-2024:10951 |
| AlmaLinux 8 | php-pear | 1:1.10.13-1.module_el8.10.0+3935+28808425 | ALSA-2024:10952, ALSA-2024:10951 |
| AlmaLinux 8 | php-pecl-rrd | 2.0.1-1.module_el8.3.0+2009+b272fdef | ALSA-2024:10952, ALSA-2024:10951 |
| AlmaLinux 8 | php-pecl-xdebug | 2.9.5-1.module_el8.6.0+2750+78feabcb | ALSA-2024:10952 |
| AlmaLinux 8 | php-pecl-xdebug3 | 3.2.2-2.module_el8.10.0+3796+30ed3ef7 | ALSA-2024:10951 |
| AlmaLinux 8 | php-pecl-zip | 1.18.2-1.module_el8.6.0+2750+78feabcb | ALSA-2024:10952, ALSA-2024:10951 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | php-pecl-apcu | 5.1.21-1.module+el9.6.0+32040+1f1dedb8 | RLSA-2024:10950, RLSA-2024:10949 |
| Rocky Linux 9 | php-pecl-rrd | 2.0.3-4.module+el9.6.0+32040+1f1dedb8 | RLSA-2024:10950, RLSA-2024:10949 |
| Rocky Linux 9 | php-pecl-xdebug3 | 3.1.4-1.module+el9.6.0+32040+1f1dedb8 | RLSA-2024:10950, RLSA-2024:10949 |
| Rocky Linux 9 | php-pecl-zip | 1.20.1-1.module+el9.6.0+32040+1f1dedb8 | RLSA-2024:10950, RLSA-2024:10949 |
| Rocky Linux 8 | libzip | 1.6.1-1.module+el8.10.0+1604+6558efc7 | RLSA-2024:10952, RLSA-2024:10951 |
| Rocky Linux 8 | php | 7.4.33-2.module+el8.10.0+1912+72767185 | RLSA-2024:10952, RLSA-2024:10951 |
| Rocky Linux 8 | php-pear | 1:1.10.13-1.module+el8.10.0+1604+6558efc7 | RLSA-2024:10952, RLSA-2024:10951 |
| Rocky Linux 8 | php-pecl-apcu | 5.1.18-1.module+el8.10.0+1604+6558efc7 | RLSA-2024:10952, RLSA-2024:10951 |
| Rocky Linux 8 | php-pecl-rrd | 2.0.1-1.module+el8.10.0+1604+6558efc7 | RLSA-2024:10952, RLSA-2024:10951 |
| Rocky Linux 8 | php-pecl-xdebug | 2.9.5-1.module+el8.10.0+1604+6558efc7 | RLSA-2024:10952 |
| Rocky Linux 8 | php-pecl-xdebug3 | 3.2.2-2.module+el8.10.0+1596+477f03f8 | RLSA-2024:10951 |
| Rocky Linux 8 | php-pecl-zip | 1.18.2-1.module+el8.10.0+1604+6558efc7 | RLSA-2024:10952, RLSA-2024:10951 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | php7 +4 | 7.4.33-150400.4.37.1 | SUSE-SU-2024:2038-1 |
| SLES 15 SP5 | php7 +4 | 7.4.33-150400.4.37.1 | SUSE-SU-2024:2038-1 |
| SLES 15 SP5 | php8 +5 | 8.0.30-150400.4.43.1 | SUSE-SU-2024:2039-1 |
| SLES 15 SP4 | php7 +3 | 7.4.33-150400.4.37.1 | SUSE-SU-2024:2038-1 |
| SLES 15 SP4 | php8 +5 | 8.0.30-150400.4.43.1 | SUSE-SU-2024:2039-1 |
| SLES 15 SP3 | php7 | 7.4.33-150200.3.65.1 | SUSE-SU-2024:2037-1 |
| SLES 15 SP2 | php7 | 7.4.33-150200.3.65.1 | SUSE-SU-2024:2037-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | php74 | 7.4.33-1.68.2 | SUSE-SU-2024:2027-1 |
| SLES 12 | php74 | 7.4.33-1.68.2 | SUSE-SU-2024:2027-1 |
| SLES for SAP 15 SP4 | php7 +3 | 7.4.33-150400.4.37.1 | SUSE-SU-2024:2038-1 |
| SLES for SAP 15 SP4 | php8 +5 | 8.0.30-150400.4.43.1 | SUSE-SU-2024:2039-1 |
| SLES for SAP 15 SP3 | php7 | 7.4.33-150200.3.65.1 | SUSE-SU-2024:2037-1 |
| SLES for SAP 15 SP2 | php7 | 7.4.33-150200.3.65.1 | SUSE-SU-2024:2037-1 |
| SLE HPC 15 SP4 | php7 +3 | 7.4.33-150400.4.37.1 | SUSE-SU-2024:2038-1 |
| SLE HPC 15 SP4 | php8 +5 | 8.0.30-150400.4.43.1 | SUSE-SU-2024:2039-1 |
| SLE HPC 15 SP3 | php7 | 7.4.33-150200.3.65.1 | SUSE-SU-2024:2037-1 |
| SLE HPC 15 SP2 | php7 | 7.4.33-150200.3.65.1 | SUSE-SU-2024:2037-1 |
| SUSE Manager Server 4.3 | php8 +5 | 8.0.30-150400.4.43.1 | SUSE-SU-2024:2039-1 |
| SUSE Enterprise Storage 7.1 | php7 | 7.4.33-150200.3.65.1 | SUSE-SU-2024:2037-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | php8 | 8.3.8-1.1 | openSUSE-SU-2024:14033-1 |
| openSUSE Leap 15.6 | php7 +5 | 7.4.33-150400.4.37.1 | SUSE-SU-2024:2038-1 |
| openSUSE Leap 15.5 | php7 +5 | 7.4.33-150400.4.37.1 | SUSE-SU-2024:2038-1 |
| openSUSE Leap 15.5 | php8 +5 | 8.0.30-150400.4.43.1 | SUSE-SU-2024:2039-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | php81 | 8.1.29-r0 | — |
| Alpine v3.19 | php82 | 8.2.20-r0 | — |
| Alpine v3.19 | php83 | 8.3.8-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | php8.1 +26 | 8.1.29-1.amzn2023.0.1 | ALAS2023-2024-654 |
| Amazon Linux 2023 | php8.2 +27 | 8.2.21-1.amzn2023.0.1 | ALAS2023-2024-678 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | php | 8.3.8-1 | — |
| Azure Linux 2 (CBL-Mariner) | php | 8.1.29-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | apcu-panel +2 | 5.1.21-1.module+el9.1.0+20776+c1b960c0 | ELSA-2024-10950, ELSA-2024-10949 |
| Oracle Linux 9 | php +23 | 8.0.30-2.el9 | ELSA-2025-7315, ELSA-2024-10950, ELSA-2024-10949 |
| Oracle Linux 9 | php-pecl-rrd | 2.0.3-4.module+el9.1.0+20776+c1b960c0 | ELSA-2024-10950, ELSA-2024-10949 |
| Oracle Linux 9 | php-pecl-xdebug3 | 3.1.4-1.module+el9.1.0+20776+c1b960c0 | ELSA-2024-10950, ELSA-2024-10949 |
| Oracle Linux 9 | php-pecl-zip | 1.20.1-1.module+el9.1.0+20776+c1b960c0 | ELSA-2024-10950, ELSA-2024-10949 |
| Oracle Linux 8 | apcu-panel +2 | 5.1.18-1.module+el8.10.0+90472+f810484b | ELSA-2024-10952, ELSA-2024-10951 |
| Oracle Linux 8 | libzip +2 | 1.6.1-1.module+el8.10.0+90472+f810484b | ELSA-2024-10952, ELSA-2024-10951 |
| Oracle Linux 8 | php +25 | 7.4.33-2.module+el8.10.0+90472+f810484b | ELSA-2024-10952, ELSA-2024-10951 |
| Oracle Linux 8 | php-pear | 1:1.10.13-1.module+el8.10.0+90472+f810484b | ELSA-2024-10952, ELSA-2024-10951 |
| Oracle Linux 8 | php-pecl-rrd | 2.0.1-1.module+el8.10.0+90472+f810484b | ELSA-2024-10952, ELSA-2024-10951 |
| Oracle Linux 8 | php-pecl-xdebug | 2.9.5-1.module+el8.10.0+90472+f810484b | ELSA-2024-10952 |
| Oracle Linux 8 | php-pecl-xdebug3 | 3.2.2-2.module+el8.10.0+90469+8883f508 | ELSA-2024-10951 |
| Oracle Linux 8 | php-pecl-zip | 1.18.2-1.module+el8.10.0+90472+f810484b | ELSA-2024-10952, ELSA-2024-10951 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | php-8.1 | 8.1.29-r0 | — |
| Wolfi rolling | php-8.2 | 8.2.20-r0 | — |
Advisories 33
- ALSA-2024:10949 Moderate: php:8.2 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:10950 Moderate: php:8.1 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:10952 Moderate: php:7.4 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:10951 Moderate: php:8.2 security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2024-1320 PHP: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 21, 2026
- RHSA-2025:7315 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:10952 Red Hat Security Advisory: php:7.4 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:10951 Red Hat Security Advisory: php:8.2 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:10950 Red Hat Security Advisory: php:8.1 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2024:10949 Red Hat Security Advisory: php:8.2 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- USN-6841-2 php7.0, php7.2 vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-6841-1 php7.4, php8.1, php8.2, php8.3 vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5717-1 php8.2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3920-1 php7.4 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3833-1 php7.3 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2024:10951 Moderate: php:8.2 security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2024:10952 Moderate: php:7.4 security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2024:2027-1 Security update for php8 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14033-1 php8-8.3.8-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2037-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2038-1 Security update for php8 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2039-1 Security update for php8 SUSE / openSUSE Security Updates · Feb 4, 2026
- RLSA-2024:10949 Moderate: php:8.2 security update Rocky Linux Security Advisories · Oct 9, 2025
- RLSA-2024:10950 Moderate: php:8.1 security update Rocky Linux Security Advisories · Oct 9, 2025
- ELSA-2025-7315 Moderate: php security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 16, 2025
- ELSA-2024-10952 Moderate: php:7.4 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Dec 12, 2024
- ELSA-2024-10950 Moderate: php:8.1 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Dec 12, 2024
- ELSA-2024-10951 Moderate: php:8.2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Dec 11, 2024
- ELSA-2024-10949 Moderate: php:8.2 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Dec 11, 2024
- NCSC-2024-0411 Kwetsbaarheden verholpen in Oracle Database producten NCSC-NL (Netherlands) · Oct 17, 2024
- ALAS2023-2024-678 Moderate: php8.2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 6, 2024
- ALAS2023-2024-654 Moderate: php8.1 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 22, 2024
- NCSC-2024-0243 Kwetsbaarheden verholpen in PHP NCSC-NL (Netherlands) · Jun 10, 2024
References
- https://github.com/php/php-src/security/advisories/GHSA-w8qr-v226-r27w
- http://www.openwall.com/lists/oss-security/2024/06/07/1
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/
- https://lists.debian.org/debian-lts-announce/2024/06/msg00009.html
- https://security.netapp.com/advisory/ntap-20240726-0001/