Description
PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 does not properly handle errors while reading a protocol message, which allows remote attackers to conduct SQL injection attacks via crafted binary data in a parameter and causing an error, which triggers the loss of synchronization and part of the protocol message to be treated as a new message, as demonstrated by causing a timeout or query cancellation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PostgreSQL Global Development Group | PostgreSQL | before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, 9.4.x before 9.4.1 | — |
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 7 | postgresql-9.1 | 9.1.15-0+deb7u1 | DSA-3155-1 |
| Debian 6.0 | postgresql-8.4 | 8.4.22lts1-0+deb6u1 | DLA-152-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | postgresql-9.1 | 9.1.15-0ubuntu0.14.04 | — |
| Ubuntu 14.04 LTS | postgresql-9.3 | 9.3.6-0ubuntu0.14.04 | USN-2499-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | postgresql +10 | 9.2.10-2.ael7b_1 | RHSA-2015:0750 |
| RHEL 6 | postgresql +9 | 8.4.20-2.el6_6 | RHSA-2015:0750 |
| RHEL 1 | postgresql92-postgresql +10 | 9.2.10-1.el7 | RHSA-2015:0699 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Network Satellite Managed Db 5 | postgresql92-postgresql +5 | 9.2.10-2.el6 | RHSA-2015:0856 |
| Red Hat Network Satellite 5 | postgresql92-postgresql +5 | 9.2.10-2.el6 | RHSA-2015:0856 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | postgresql93 | 9.3.6-5.2 | SUSE-SU-2015:0478-1 |
| SLES 12 | postgresql93-libs | 9.3.6-5.1 | SUSE-SU-2015:0478-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 | postgresql93 | 9.3.6-5.2 | SUSE-SU-2015:0478-1 |
| SLES for SAP 12 | postgresql93-libs | 9.3.6-5.1 | SUSE-SU-2015:0478-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | postgresql93 | 9.3.15-1.1 | openSUSE-SU-2024:10256-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | postgresql +10 | 9.2.10-2.el7_1 | ELSA-2015-0750 |
Advisories 9
- RHSA-2015:0856 Red Hat Security Advisory: postgresql92-postgresql security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:0750 Red Hat Security Advisory: postgresql security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:0699 Red Hat Security Advisory: postgresql92-postgresql security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2499-1 postgresql-8.4, postgresql-9.1, postgresql-9.3, postgresql-9.4 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3155-1 postgresql-9.1 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-152-1 postgresql-8.4 - new minor release Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2015:0478-1 Security update for postgresql93 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10256-1 postgresql93-9.3.15-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- ELSA-2015-0750 Moderate: postgresql security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 30, 2015
References
- http://www.postgresql.org/docs/9.4/static/release-9-4-1.html
- http://www.postgresql.org/docs/current/static/release-9-0-19.html
- http://www.postgresql.org/docs/current/static/release-9-1-15.html
- http://www.postgresql.org/docs/current/static/release-9-2-10.html
- http://www.postgresql.org/docs/current/static/release-9-3-6.html
- http://www.postgresql.org/about/news/1569/
- http://www.debian.org/security/2015/dsa-3155