Skip to content
Fencer Intel
medium 6.5

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 16y ago modified 4mo 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

Is CVE-2009-4136 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: vendor fix RHSA-2010:0427
show 3 more
  • 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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-14).

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

Sources

Fencer Intel 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.