Description
PostgreSQL before 8.3.7, 8.2.13, 8.1.17, 8.0.21, and 7.4.25 allows remote authenticated users to cause a denial of service (stack consumption and crash) by triggering a failure in the conversion of a localized error message to a client-specified encoding, as demonstrated using mismatched encoding conversion requests.
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.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | postgresql +9 | 8.1.18-2.el5_4.1 | RHSA-2009:1484 |
| RHEL 4 | postgresql +10 | 7.4.26-1.el4_8.1 | RHSA-2009:1484 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Application Stack 2 | httpd +2 | 2.2.11-2.el5s2 | RHSA-2009:1067 |
| Red Hat Rhel Application Stack 2 | mod_jk +1 | 1.2.28-2.el5s2 | RHSA-2009:1067 |
| Red Hat Rhel Application Stack 2 | mod_ssl | 1:2.2.11-2.el5s2 | RHSA-2009:1067 |
| Red Hat Rhel Application Stack 2 | mysql +6 | 5.0.79-2.el5s2 | RHSA-2009:1067 |
| Red Hat Rhel Application Stack 2 | mysql-connector-odbc | 3.51.27r695-1.el5s2 | RHSA-2009:1067 |
| Red Hat Rhel Application Stack 2 | perl-DBD-MySQL | 4.010-1.el5s2 | RHSA-2009:1067 |
| Red Hat Rhel Application Stack 2 | perl-DBD-Pg | 1.49-5.el5s2 | RHSA-2009:1067 |
| Red Hat Rhel Application Stack 2 | php +18 | 5.2.9-2.el5s2 | RHSA-2009:1067 |
| Red Hat Rhel Application Stack 2 | postgresql +11 | 8.2.13-2.el5s2 | RHSA-2009:1067 |
| Red Hat Rhel Application Stack 2 | postgresql-jdbc | 8.2.509-2jpp.el5s2 | RHSA-2009:1067 |
| Red Hat Rhel Application Stack 2 | postgresqlclient81 | 8.1.17-1.el5s2 | RHSA-2009:1067 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- PostgreSQL 8.3.6 - Conversion Encoding Remote Denial of Service EDB-32849 · dos · Mar 11, 2009 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- RHSA-2009:1484 Red Hat Security Advisory: postgresql security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2009:1067 Red Hat Security Advisory: Red Hat Application Stack v2.3 security and enhancement update Red Hat Security Advisories (RHSA) · Nov 22, 2025
References
- http://www.postgresql.org/about/news.1065
- 1021860 vdb-entry
- FEDORA-2009-2959 vendor-advisory
- RHSA-2009:1067 vendor-advisory
- [pgsql-bugs] 20090227 Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions mailing-list
- 34090 vdb-entry
- oval:org.mitre.oval:def:10874 vdb-entry signature
- HPSBMU02781 vendor-advisory
- [oss-security] 20090311 CVE request -- postgresql mailing-list
- 258808 vendor-advisory
- 34453 third-party-advisory
- ADV-2009-0767 vdb-entry
- 20090519 rPSA-2009-0086-1 postgresql postgresql-contrib postgresql-server mailing-list
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517405
- MDVSA-2009:079 vendor-advisory
- [pgsql-bugs] 20090227 BUG #4680: Server crashed if using wrong (mismatch) conversion functions mailing-list
- FEDORA-2009-2927 vendor-advisory
- 35100 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=488156
- http://wiki.rpath.com/Advisories:rPSA-2009-0086
- ADV-2009-1316 vdb-entry
- oval:org.mitre.oval:def:6252 vdb-entry signature
- SUSE-SR:2009:009 vendor-advisory
- 1020455 vendor-advisory