CVE-2009-4136 json
PostgreSQL 7.4.x before 7.4.27, 8.0.x before 8.0.23, 8.1.x before 8.1.19, 8.2.x before 8.2.15, 8.3.x before 8.3.9, and 8.4.x before 8.4.2 d…
published 2009-12-15 16 y ago modified 2026-06-16 4 mo ago also EUVD-2009-4106
- cvss
- 6.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.6%
- EPSS 3.6% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
PostgreSQL 7.4.x before 7.4.27, 8.0.x before 8.0.23, 8.1.x before 8.1.19, 8.2.x before 8.2.15, 8.3.x before 8.3.9, and 8.4.x before 8.4.2 does not properly manage session-local state during execution of an index function by a database superuser, which allows remote authenticated users to gain privileges via a table with crafted index functions, as demonstrated by functions that modify (1) search_path or (2) a prepared statement, a related issue to CVE-2007-6600 and CVE-2009-3230.
Patch / fix
- postgresql RHEL 5 8.1.21-1.el5_5.1
- postgresql-pl RHEL 5 8.1.21-1.el5_5.1
- postgresql-tcl RHEL 5 8.1.21-1.el5_5.1
- postgresql-libs RHEL 5 8.1.21-1.el5_5.1
- postgresql-test RHEL 5 8.1.21-1.el5_5.1
- postgresql-python RHEL 5 8.1.21-1.el5_5.1
- postgresql-server RHEL 5 8.1.21-1.el5_5.1
- postgresql-contrib RHEL 5 8.1.21-1.el5_5.1
red hat advisories RHSA-2010:0429RHSA-2010:0428RHSA-2010:0427
- postgresql94 openSUSE Tumbleweed 9.4.10-1.1
- postgresql93 openSUSE Tumbleweed 9.3.15-1.1
- postgresql95 openSUSE Tumbleweed 9.5.4-1.2
opensuse advisories openSUSE-SU-2024:10030-1openSUSE-SU-2024:10256-1openSUSE-SU-2024:10273-1
- bugzilla.redhat.com/show_bug.cgi?id=546321 patch
- postgresql.org/docs/current/static/release-8-2-15.html advisory
- postgresql.org/docs/current/static/release-8-4-2.html advisory
- postgresql.org/docs/current/static/release-8-0-23.html advisory
- postgresql.org/docs/current/static/release-8-3-9.html advisory
- postgresql.org/docs/current/static/release-7-4-27.html advisory
- postgresql.org/docs/current/static/release-8-1-19.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-4136 updated cvss 4.0
postgresql: SQL privilege escalation via modifications to session-local state
-
Red Hat Desktop version 3 rh-postgresql 7.3.21-3, rh-postgresql-pl 7.3.21-3, rh-postgresql-tcl 7.3.21-3, rh-postgresql-jdbc 7.3.21-3, rh-postgresql-libs 7.3.21-3, rh-postgresql-test 7.3.21-3, +3 morefixed: vendor fix RHSA-2010:0427
-
Red Hat Enterprise Linux (v. 5 server) postgresql 8.1.21-1.el5_5.1, postgresql-pl 8.1.21-1.el5_5.1, postgresql-tcl 8.1.21-1.el5_5.1, postgresql-libs 8.1.21-1.el5_5.1, postgresql-test 8.1.21-1.el5_5.1, postgresql-python 8.1.21-1.el5_5.1, +2 morefixed: vendor fix RHSA-2010:0429
-
Red Hat Enterprise Linux AS version 3 rh-postgresql 7.3.21-3, rh-postgresql-pl 7.3.21-3, rh-postgresql-tcl 7.3.21-3, rh-postgresql-jdbc 7.3.21-3, rh-postgresql-libs 7.3.21-3, rh-postgresql-test 7.3.21-3, +3 morefixed: vendor fix RHSA-2010:0427
-
Red Hat Enterprise Linux AS version 4 postgresql 7.4.29-1.el4_8.1, postgresql-pl 7.4.29-1.el4_8.1, postgresql-tcl 7.4.29-1.el4_8.1, postgresql-jdbc 7.4.29-1.el4_8.1, postgresql-libs 7.4.29-1.el4_8.1, postgresql-test 7.4.29-1.el4_8.1, +3 morefixed: vendor fix RHSA-2010:0428
-
Red Hat Enterprise Linux Desktop (v. 5 client) postgresql 8.1.21-1.el5_5.1, postgresql-pl 8.1.21-1.el5_5.1, postgresql-tcl 8.1.21-1.el5_5.1, postgresql-libs 8.1.21-1.el5_5.1, postgresql-test 8.1.21-1.el5_5.1, postgresql-python 8.1.21-1.el5_5.1, +2 morefixed: vendor fix RHSA-2010:0429
-
Red Hat Enterprise Linux Desktop version 4 postgresql 7.4.29-1.el4_8.1, postgresql-pl 7.4.29-1.el4_8.1, postgresql-tcl 7.4.29-1.el4_8.1, postgresql-jdbc 7.4.29-1.el4_8.1, postgresql-libs 7.4.29-1.el4_8.1, postgresql-test 7.4.29-1.el4_8.1, +3 morefixed: vendor fix RHSA-2010:0428
-
Red Hat Enterprise Linux Desktop Workstation (v. 5 client) postgresql 8.1.21-1.el5_5.1, postgresql-pl 8.1.21-1.el5_5.1, postgresql-tcl 8.1.21-1.el5_5.1, postgresql-libs 8.1.21-1.el5_5.1, postgresql-test 8.1.21-1.el5_5.1, postgresql-python 8.1.21-1.el5_5.1, +2 morefixed: vendor fix RHSA-2010:0429
-
Red Hat Enterprise Linux ES version 3 rh-postgresql 7.3.21-3, rh-postgresql-pl 7.3.21-3, rh-postgresql-tcl 7.3.21-3, rh-postgresql-jdbc 7.3.21-3, rh-postgresql-libs 7.3.21-3, rh-postgresql-test 7.3.21-3, +3 morefixed: vendor fix RHSA-2010:0427
show 3 moreshow fewer
-
Red Hat Enterprise Linux ES version 4 postgresql 7.4.29-1.el4_8.1, postgresql-pl 7.4.29-1.el4_8.1, postgresql-tcl 7.4.29-1.el4_8.1, postgresql-jdbc 7.4.29-1.el4_8.1, postgresql-libs 7.4.29-1.el4_8.1, postgresql-test 7.4.29-1.el4_8.1, +3 morefixed: vendor fix RHSA-2010:0428
-
Red Hat Enterprise Linux WS version 3 rh-postgresql 7.3.21-3, rh-postgresql-pl 7.3.21-3, rh-postgresql-tcl 7.3.21-3, rh-postgresql-jdbc 7.3.21-3, rh-postgresql-libs 7.3.21-3, rh-postgresql-test 7.3.21-3, +3 morefixed: vendor fix RHSA-2010:0427
-
Red Hat Enterprise Linux WS version 4 postgresql 7.4.29-1.el4_8.1, postgresql-pl 7.4.29-1.el4_8.1, postgresql-tcl 7.4.29-1.el4_8.1, postgresql-jdbc 7.4.29-1.el4_8.1, postgresql-libs 7.4.29-1.el4_8.1, postgresql-test 7.4.29-1.el4_8.1, +3 morefixed: vendor fix RHSA-2010:0428
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.64% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
- Technology feeds
References
-
postgresql.org
/docs/current/static/release-8-2-15.html
patch, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=546321
patch
-
postgresql.org
/docs/current/static/release-8-4-2.html
patch, vendor-advisory
-
postgresql.org
/docs/current/static/release-8-0-23.html
patch, vendor-advisory
-
postgresql.org
/docs/current/static/release-8-3-9.html
patch, vendor-advisory
-
postgresql.org
/docs/current/static/release-7-4-27.html
patch, vendor-advisory
-
postgresql.org
/docs/current/static/release-8-1-19.html
patch, vendor-advisory
-
redhat.com
/support/errata/RHSA-2010-0427.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2010-0428.html
vendor-advisory
-
marc.info
/?l=bugtraq&m=134124585221119&w=2
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2009-December/msg01035.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2010-01/msg00007.html
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2009-December/msg01056.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2009:333
vendor-advisory
-
redhat.com
/support/errata/RHSA-2010-0429.html
vendor-advisory
-
postgresql.org
/support/security.html
vendor-advisory
-
securitytracker.com
/id?1023326
vdb-entry
-
secunia.com
/advisories/39820
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9358
vdb-entry, signature
-
securityfocus.com
/archive/1/509917/100/0/threaded
mailing-list
-
vupen.com
/english/advisories/2009/3519
vdb-entry
-
osvdb.org
/61039
vdb-entry
-
secunia.com
/advisories/37663
third-party-advisory
-
securityfocus.com
/bid/37333
vdb-entry
- wiki.rpath.com /wiki/Advisories:rPSA-2010-0012
-
vupen.com
/english/advisories/2010/1197
vdb-entry
Sources
- CVE List CVE-2009-4136
- NVD CVE-2009-4136
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.