Description
PostgreSQL 8.3.x before 8.3.19, 8.4.x before 8.4.12, 9.0.x before 9.0.8, and 9.1.x before 9.1.4 allows remote authenticated users to cause a denial of service (server crash) by adding the (1) SECURITY DEFINER or (2) SET attributes to a procedural language's call handler.
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.12-0squeeze1 | DSA-2491-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | postgresql +9 | 8.4.12-1.el6_2 | RHSA-2012:1037 |
| RHEL 5 | postgresql84 +11 | 8.4.12-1.el5_8 | RHSA-2012:1037 |
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 5
- RHSA-2012:1037 Red Hat Security Advisory: postgresql and postgresql84 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2491-1 postgresql-8.4 - several 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
References
- http://www.postgresql.org/about/news/1398/
- 50718 third-party-advisory
- FEDORA-2012-8924 vendor-advisory
- FEDORA-2012-8893 vendor-advisory
- DSA-2491 vendor-advisory
- RHSA-2012:1037 vendor-advisory
- FEDORA-2012-8915 vendor-advisory
- MDVSA-2012:092 vendor-advisory
- openSUSE-SU-2012:1251 vendor-advisory
- openSUSE-SU-2012:1288 vendor-advisory
- openSUSE-SU-2012:1299 vendor-advisory