Description
In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* pgsql and pdo_pgsql escaping functions do not check if the underlying quoting functions returned errors. This could cause crashes if Postgres server rejects the string as invalid.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PHP Group | PHP | 8.1.* – < 8.1.33, 8.2.* – < 8.2.29, 8.3.* – < 8.3.23, 8.4.* – < 8.4.10 | 8.1.33 |
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 14 | php8.4 | 8.4.10-1 | — |
| Debian 13 | php8.4 | 8.4.10-1 | — |
| Debian 12 | php8.2 | 8.2.29-1~deb12u1 | DSA-5967-1 |
| Debian 11 | php7.4 | 7.4.33-1+deb11u9 | DLA-4254-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | php8.4 | 8.4.11-1ubuntu1 | — |
| Ubuntu 24.04 LTS | php8.3 | 8.3.6-0ubuntu0.24.04.5 | USN-7648-1 |
| Ubuntu 22.04 LTS | php8.1 | 8.1.2-1ubuntu2.22 | USN-7648-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | php7.4 | 7.4.3-4ubuntu2.29+esm1 | USN-7648-3, USN-7648-2 |
| Ubuntu Pro 18.04 LTS | php7.2 | 7.2.24-0ubuntu0.18.04.17+esm9 | USN-7648-3, USN-7648-2 |
| Ubuntu Pro 16.04 LTS | php7.0 | 7.0.33-0ubuntu0.16.04.16+esm16 | USN-7648-3, USN-7648-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.23-1.module+el9.4.0+20748+b46899d2 | RHSA-2026:1409, RHSA-2025:23309 |
| RHEL 9 | php +23 | 8.2.30-1.module+el9.7.0+23849+7b831f17 | RHSA-2026:1409, RHSA-2025:23309 |
| RHEL 9 | php-pecl-redis6 | 6.1.0-2.module+el9.6.0+22647+1741ae35 | RHSA-2025:23309 |
| RHEL 9 | php-pecl-rrd | 2.0.3-4.module+el9.4.0+20748+b46899d2 | RHSA-2026:1409, RHSA-2025:23309 |
| RHEL 9 | php-pecl-xdebug3 | 3.2.2-2.module+el9.4.0+20796+bd4564df | RHSA-2026:1409, RHSA-2025:23309 |
| RHEL 9 | php-pecl-zip | 1.22.3-1.module+el9.4.0+20748+b46899d2 | RHSA-2026:1409, RHSA-2025:23309 |
| RHEL 8 | apcu-panel +2 | 5.1.18-1.module+el8.10.0+22485+a3539972 | RHSA-2026:2470, RHSA-2026:1412 |
| RHEL 8 | libzip +2 | 1.6.1-1.module+el8.10.0+22485+a3539972 | RHSA-2026:2470, RHSA-2026:1412 |
| RHEL 8 | php +25 | 7.4.33-3.module+el8.10.0+23902+d3c8dd8f | RHSA-2026:2470, RHSA-2026:1412 |
| RHEL 8 | php-pear | 1:1.10.13-1.module+el8.10.0+22485+a3539972 | RHSA-2026:2470, RHSA-2026:1412 |
| RHEL 8 | php-pecl-rrd | 2.0.1-1.module+el8.10.0+22485+a3539972 | RHSA-2026:2470, RHSA-2026:1412 |
| RHEL 8 | php-pecl-xdebug | 2.9.5-1.module+el8.10.0+22485+a3539972 | RHSA-2026:2470 |
| RHEL 8 | php-pecl-xdebug3 | 3.2.2-2.module+el8.10.0+20798+00eaeb41 | RHSA-2026:1412 |
| RHEL 8 | php-pecl-zip | 1.18.2-1.module+el8.10.0+22485+a3539972 | RHSA-2026:2470, RHSA-2026:1412 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | apcu-panel +2 | 5.1.23-1.module_el9.4.0+65+49ff6472 | ALSA-2026:1409, ALSA-2025:23309 |
| AlmaLinux 9 | php +23 | 8.2.30-1.module_el9.7.0+205+fe410f10 | ALSA-2026:1409, ALSA-2025:23309 |
| AlmaLinux 9 | php-pecl-redis6 | 6.1.0-2.module_el9.6.0+151+5f31e576 | ALSA-2025:23309 |
| AlmaLinux 9 | php-pecl-rrd | 2.0.3-4.module_el9.4.0+65+49ff6472 | ALSA-2026:1409, ALSA-2025:23309 |
| AlmaLinux 9 | php-pecl-xdebug3 | 3.2.2-2.module_el9.4.0+65+49ff6472 | ALSA-2026:1409, ALSA-2025:23309 |
| AlmaLinux 9 | php-pecl-zip | 1.22.3-1.module_el9.4.0+65+49ff6472 | ALSA-2026:1409, ALSA-2025:23309 |
| AlmaLinux 8 | apcu-panel +2 | 5.1.18-1.module_el8.6.0+2750+78feabcb | ALSA-2026:2470, ALSA-2026:1412 |
| AlmaLinux 8 | libzip +1 | 1.6.1-1.module_el8.6.0+2750+78feabcb | ALSA-2026:2470, ALSA-2026:1412 |
| AlmaLinux 8 | libzip-devel | 1.6.1-1.module_el8.6.0+3239+bedf0508 | ALSA-2026:2470, ALSA-2026:1412 |
| AlmaLinux 8 | php +25 | 7.4.33-3.module_el8.10.0+4114+3b36c618 | ALSA-2026:2470, ALSA-2026:1412 |
| AlmaLinux 8 | php-pear | 1:1.10.13-1.module_el8.10.0+3935+28808425 | ALSA-2026:2470, ALSA-2026:1412 |
| AlmaLinux 8 | php-pecl-rrd | 2.0.1-1.module_el8.6.0+2750+78feabcb | ALSA-2026:2470, ALSA-2026:1412 |
| AlmaLinux 8 | php-pecl-xdebug | 2.9.5-1.module_el8.6.0+2750+78feabcb | ALSA-2026:2470 |
| AlmaLinux 8 | php-pecl-xdebug3 | 3.2.2-2.module_el8.10.0+3796+30ed3ef7 | ALSA-2026:1412 |
| AlmaLinux 8 | php-pecl-zip | 1.18.2-1.module_el8.6.0+2750+78feabcb | ALSA-2026:2470, ALSA-2026:1412 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | php | 8.3.26-1.module+el9.7.0+40049+21bbec6b | RLSA-2025:23309 |
| Rocky Linux 9 | php-pecl-apcu | 5.1.23-1.module+el9.7.0+40004+bf50a568 | RLSA-2026:1409, RLSA-2025:23309 |
| Rocky Linux 9 | php-pecl-redis6 | 6.1.0-2.module+el9.7.0+40005+715283ec | RLSA-2025:23309 |
| Rocky Linux 9 | php-pecl-rrd | 2.0.3-4.module+el9.7.0+40003+454ed3c4 | RLSA-2026:1409, RLSA-2025:23309 |
| Rocky Linux 9 | php-pecl-xdebug3 | 3.2.2-2.module+el9.7.0+40004+bf50a568 | RLSA-2026:1409, RLSA-2025:23309 |
| Rocky Linux 9 | php-pecl-zip | 1.22.3-1.module+el9.7.0+40004+bf50a568 | RLSA-2026:1409, RLSA-2025:23309 |
| Rocky Linux 8 | libzip | 1.6.1-1.module+el8.10.0+1912+72767185 | RLSA-2026:2470, RLSA-2026:1412 |
| Rocky Linux 8 | php | 8.2.30-1.module+el8.10.0+40072+7124940c | RLSA-2026:1412 |
| Rocky Linux 8 | php-pear | 1:1.10.13-1.module+el8.10.0+1605+02e07af7 | RLSA-2026:2470, RLSA-2026:1412 |
| Rocky Linux 8 | php-pecl-apcu | 5.1.18-1.module+el8.10.0+1912+72767185 | RLSA-2026:2470, RLSA-2026:1412 |
| Rocky Linux 8 | php-pecl-rrd | 2.0.1-1.module+el8.4.0+414+2e7afcdd | RLSA-2026:2470, RLSA-2026:1412 |
| Rocky Linux 8 | php-pecl-xdebug | 2.9.5-1.module+el8.10.0+1912+72767185 | RLSA-2026:2470 |
| Rocky Linux 8 | php-pecl-xdebug3 | 3.2.2-2.module+el8.10.0+1596+477f03f8 | RLSA-2026:1412 |
| Rocky Linux 8 | php-pecl-zip | 1.18.2-1.module+el8.10.0+1912+72767185 | RLSA-2026:2470, RLSA-2026:1412 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | php7 +2 | 7.4.33-150400.4.51.1 | SUSE-SU-2025:02473-1 |
| SLES 15 SP7 | php8 +4 | 8.3.23-150700.3.3.1 | SUSE-SU-2025:02462-1 |
| SLES 15 SP7 | php8-test | 8.3.23-150700.3.3.2 | SUSE-SU-2025:02462-1 |
| SLES 15 SP6 | php7 +4 | 7.4.33-150400.4.51.1 | SUSE-SU-2025:02473-1 |
| SLES 15 SP6 | php8 +4 | 8.2.29-150600.3.19.1 | SUSE-SU-2025:02474-1 |
| SLES 15 SP6 | php8-test | 8.2.29-150600.3.19.2 | SUSE-SU-2025:02474-1 |
| SLES 15 SP5 | php7 +3 | 7.4.33-150400.4.51.1 | SUSE-SU-2025:02473-1 |
| SLES 15 SP5 | php8 +5 | 8.0.30-150400.4.57.1 | SUSE-SU-2025:02463-1 |
| SLES 15 SP4 | php7 +3 | 7.4.33-150400.4.51.1 | SUSE-SU-2025:02473-1 |
| SLES 15 SP4 | php8 +5 | 8.0.30-150400.4.57.1 | SUSE-SU-2025:02463-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | php7 +3 | 7.4.33-150400.4.51.1 | SUSE-SU-2025:02473-1 |
| SLES for SAP 15 SP5 | php8 +5 | 8.0.30-150400.4.57.1 | SUSE-SU-2025:02463-1 |
| SLES for SAP 15 SP4 | php7 +3 | 7.4.33-150400.4.51.1 | SUSE-SU-2025:02473-1 |
| SLES for SAP 15 SP4 | php8 +5 | 8.0.30-150400.4.57.1 | SUSE-SU-2025:02463-1 |
| SLE HPC 15 SP5 | php8 +5 | 8.0.30-150400.4.57.1 | SUSE-SU-2025:02463-1 |
| SLE HPC 15 SP4 | php7 +3 | 7.4.33-150400.4.51.1 | SUSE-SU-2025:02473-1 |
| SLE HPC 15 SP4 | php8 +5 | 8.0.30-150400.4.57.1 | SUSE-SU-2025:02463-1 |
| SUSE Manager Server 4.3 | php8 +5 | 8.0.30-150400.4.57.1 | SUSE-SU-2025:02463-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | php8 | 8.4.10-1.1 | openSUSE-SU-2025:15340-1 |
| openSUSE Leap 15.6 | php7 +5 | 7.4.33-150400.4.51.1 | SUSE-SU-2025:02473-1 |
| openSUSE Leap 15.6 | php8 +4 | 8.2.29-150600.3.19.1 | SUSE-SU-2025:02474-1 |
| openSUSE Leap 15.6 | php8-test | 8.2.29-150600.3.19.2 | SUSE-SU-2025:02474-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | php83 | 8.3.23-r0 | — |
| Alpine v3.24 | php84 | 8.4.9-r0 | — |
| Alpine v3.23 | php83 | 8.3.23-r0 | — |
| Alpine v3.23 | php84 | 8.4.9-r0 | — |
| Alpine v3.22 | php82 | 8.2.29-r0 | — |
| Alpine v3.22 | php83 | 8.3.23-r0 | — |
| Alpine v3.22 | php84 | 8.4.10-r0 | — |
| Alpine v3.19 | php81 | 8.1.33-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | php8.1 +26 | 8.1.33-1.amzn2023.0.1 | ALAS2023-2025-1087 |
| Amazon Linux 2023 | php8.2 +27 | 8.2.29-1.amzn2023.0.1 | ALAS2023-2025-1088 |
| Amazon Linux 2023 | php8.3 +28 | 8.3.23-1.amzn2023.0.1 | ALAS2023-2025-1114 |
| Amazon Linux 2023 | php8.4 +27 | 8.4.10-1.amzn2023.0.1 | ALAS2023-2025-1113 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | php | 8.3.23-1 | — |
| Azure Linux 2 (CBL-Mariner) | php | 8.1.33-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | apcu-panel +2 | 5.1.23-1.module+el9.4.0+90261+af5cc950 | ELSA-2026-1409, ELSA-2025-23309 |
| Oracle Linux 9 | php +23 | 8.2.30-1.module+el9.7.0+90777+7055ad44 | ELSA-2026-1409, ELSA-2025-23309 |
| Oracle Linux 9 | php-pecl-redis6 | 6.1.0-2.module+el9.6.0+90525+5083e899 | ELSA-2025-23309 |
| Oracle Linux 9 | php-pecl-rrd | 2.0.3-4.module+el9.4.0+90261+af5cc950 | ELSA-2026-1409, ELSA-2025-23309 |
| Oracle Linux 9 | php-pecl-xdebug3 | 3.2.2-2.module+el9.4.0+90261+af5cc950 | ELSA-2026-1409, ELSA-2025-23309 |
| Oracle Linux 9 | php-pecl-zip | 1.22.3-1.module+el9.4.0+90261+af5cc950 | ELSA-2026-1409, ELSA-2025-23309 |
| Oracle Linux 8 | apcu-panel +2 | 5.1.18-1.module+el8.10.0+90472+f810484b | ELSA-2026-2470, ELSA-2026-1412 |
| Oracle Linux 8 | libzip +2 | 1.6.1-1.module+el8.10.0+90472+f810484b | ELSA-2026-2470, ELSA-2026-1412 |
| Oracle Linux 8 | php +25 | 7.4.33-3.module+el8.10.0+90781+f71ba651 | ELSA-2026-2470, ELSA-2026-1412 |
| Oracle Linux 8 | php-pear | 1:1.10.13-1.module+el8.10.0+90472+f810484b | ELSA-2026-2470, ELSA-2026-1412 |
| Oracle Linux 8 | php-pecl-rrd | 2.0.1-1.module+el8.10.0+90472+f810484b | ELSA-2026-2470, ELSA-2026-1412 |
| Oracle Linux 8 | php-pecl-xdebug | 2.9.5-1.module+el8.10.0+90472+f810484b | ELSA-2026-2470 |
| Oracle Linux 8 | php-pecl-xdebug3 | 3.2.2-2.module+el8.10.0+90469+8883f508 | ELSA-2026-1412 |
| Oracle Linux 8 | php-pecl-zip | 1.18.2-1.module+el8.10.0+90472+f810484b | ELSA-2026-2470, ELSA-2026-1412 |
Advisories 31
- ALSA-2025:23309 Moderate: php:8.3 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:1409 Important: php:8.2 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:1412 Important: php:8.2 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:2470 Moderate: php:7.4 security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2025-1460 PHP: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 21, 2026
- RHSA-2026:2470 Red Hat Security Advisory: php:7.4 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:1412 Red Hat Security Advisory: php:8.2 security update Red Hat Security Advisories (RHSA) · Jul 23, 2026
- RHSA-2026:1409 Red Hat Security Advisory: php:8.2 security update Red Hat Security Advisories (RHSA) · Jul 23, 2026
- RHSA-2025:23309 Red Hat Security Advisory: php:8.3 security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- USN-7648-2 php7.0, php7.2, php7.4 vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-7648-3 php7.0, php7.2, php7.4 regression Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-7648-1 php8.1, php8.3, php8.4 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- SUSE-SU-2025:02463-1 Security update for php8 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02473-1 Security update for php7 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02474-1 Security update for php8 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02462-1 Security update for php8 SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-5967-1 php8.2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4254-1 php7.4 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2026:2470 Moderate: php:7.4 security update Rocky Linux Security Advisories · Feb 11, 2026
- ELSA-2026-2470 Moderate: php:7.4 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Feb 11, 2026
- openSUSE-SU-2025:15340-1 php8-8.4.10-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2026-1409 Important: php:8.2 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jan 29, 2026
- RLSA-2026:1412 Important: php:8.2 security update Rocky Linux Security Advisories · Jan 28, 2026
- RLSA-2026:1409 Important: php:8.2 security update Rocky Linux Security Advisories · Jan 28, 2026
- ELSA-2026-1412 Important: php:8.2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jan 28, 2026
- RLSA-2025:23309 Moderate: php:8.3 security update Rocky Linux Security Advisories · Dec 19, 2025
- ELSA-2025-23309 Moderate: php:8.3 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Dec 19, 2025
- ALAS2023-2025-1087 Moderate: php8.1 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 8, 2025
- ALAS2023-2025-1088 Moderate: php8.2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 8, 2025
- ALAS2023-2025-1113 Moderate: php8.4 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 8, 2025
- ALAS2023-2025-1114 Moderate: php8.3 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 8, 2025