Description
PostgreSQL 9.2.x before 9.2.3, 9.1.x before 9.1.8, 9.0.x before 9.0.12, 8.4.x before 8.4.16, and 8.3.x before 8.3.23 does not properly declare the enum_recv function in backend/utils/adt/enum.c, which causes it to be invoked with incorrect arguments and allows remote authenticated users to cause a denial of service (server crash) or read sensitive process memory via a crafted SQL command, which triggers an array index error and an out-of-bounds read.
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 6.0 | postgresql-8.4 | 8.4.16-0squeeze1 | DSA-2630-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | postgresql +9 | 8.4.18-1.el6_4 | RHSA-2013:1475 |
| RHEL 5 | postgresql84 +11 | 8.4.18-1.el5_10 | RHSA-2013:1475 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | postgresql93 | 9.3.15-1.1 | openSUSE-SU-2024:10256-1 |
| openSUSE Tumbleweed | postgresql94 | 9.4.10-1.1 | openSUSE-SU-2024:10030-1 |
| openSUSE Tumbleweed | postgresql95 | 9.5.4-1.2 | openSUSE-SU-2024:10273-1 |
Advisories 6
- RHSA-2013:1475 Red Hat Security Advisory: postgresql and postgresql84 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2630-1 postgresql-8.4 - programming error Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10030-1 postgresql94-9.4.10-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10273-1 libecpg6-32bit-9.5.4-1.2 on GA media 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
- WID-SEC-2024-3751 PostgreSQL: Schwachstelle ermöglicht Denial Of Service BSI CERT-Bund (WID) · Dec 23, 2024
References
- FEDORA-2013-2123 vendor-advisory
- DSA-2630 vendor-advisory
- openSUSE-SU-2013:0319 vendor-advisory
- openSUSE-SU-2013:0318 vendor-advisory
- http://www.postgresql.org/docs/8.4/static/release-8-4-16.html
- MDVSA-2013:142 vendor-advisory
- postgresql-enumrecv-dos(81917) vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=907892
- 51923 third-party-advisory
- http://www.postgresql.org/docs/9.1/static/release-9-1-8.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- 57844 vdb-entry
- https://blogs.oracle.com/sunsecurity/entry/cve_2013_0255_array_index
- USN-1717-1 vendor-advisory
- 1028092 vdb-entry
- http://www.postgresql.org/docs/8.3/static/release-8-3-23.html
- 89935 vdb-entry
- RHSA-2013:1475 vendor-advisory
- http://www.postgresql.org/docs/9.2/static/release-9-2-3.html
- http://www.postgresql.org/docs/9.0/static/release-9-0-12.html
- 52819 third-party-advisory