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.
CVE-2009-4136
This CVE was only ever scored under CVSS v2.0. NVD CVSS v2.0 base 6.5 — v2 rates that MEDIUM (v2 bands: LOW 0.0–3.9 / MEDIUM 4.0–6.9 / HIGH 7.0–10.0; v2 has no CRITICAL band). Vector AV:N/AC:L/Au:S/C:P/I:P/A:P. CVSS v2 is an older, coarser metric than v3.1/v4.0 (no Scope, no User Interaction, no Attack Requirements), so it is not directly comparable to a v3 or v4 score. NVD has never re-scored this record under v3. EPSS predicts 3.6% exploitation probability in the next 30 days, which is reflected in EG Risk but does not lift the v2 base. Confidence: LOW.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v2.0 (legacy)
- 6.5MEDIUMNVD never assigned a CVSS v3 rating to this CVE
- EG Score
- 6.5(low)
- EG Risk
- 35(Track)EG Risk 35/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity65% × 45%Exploitation4% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 4%
- EPSS %ILE
- 89%
- KEV
- Not listed
Published
December 15, 2009
Last Modified
April 23, 2026
References (52)
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2010-01/msg00007.html
- secalert@redhathttp://marc.info/?l=bugtraq&m=134124585221119&w=2
- secalert@redhathttp://osvdb.org/61039
- secalert@redhathttp://secunia.com/advisories/37663
- secalert@redhathttp://secunia.com/advisories/39820
- secalert@redhathttp://wiki.rpath.com/wiki/Advisories:rPSA-2010-0012
- secalert@redhathttp://www.mandriva.com/security/advisories?name=MDVSA-2009:333
- secalert@redhathttp://www.postgresql.org/docs/current/static/release-7-4-27.html
- secalert@redhathttp://www.postgresql.org/docs/current/static/release-8-0-23.html
- secalert@redhathttp://www.postgresql.org/docs/current/static/release-8-1-19.html
- secalert@redhathttp://www.postgresql.org/docs/current/static/release-8-2-15.html
- secalert@redhathttp://www.postgresql.org/docs/current/static/release-8-3-9.html
- secalert@redhathttp://www.postgresql.org/docs/current/static/release-8-4-2.html
- secalert@redhathttp://www.postgresql.org/support/security.html
- secalert@redhathttp://www.redhat.com/support/errata/RHSA-2010-0427.html
Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | postgresql-8.4 (8.4.2-0ubuntu9.10) @ karmic | 2026-05-30 | ubuntu |
| redhat | rh-postgresql-0:7.3.21-3 | 2010-05-19 | redhat |
| redhat | postgresql-0:7.4.29-1.el4_8.1 | 2010-05-19 | redhat |
| redhat | postgresql-0:8.1.21-1.el5_5.1 | 2010-05-19 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(3 across 2 ecosystems)
Debian:4.0(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql-7.4 | 1:7.4.16-1 ... 1:7.4.26-0etch1 (6 versions) | 1:7.4.27-0etch1 | — |
| postgresql-8.1 | 8.1.10-0etch1 ... 8.1.9-1 (13 versions) | 8.1.19-0etch1 | — |
Debian:5.0(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql-8.3 | 8.3.5-1 ... 8.3.9-0lenny1~bpo40+1 (16 versions) | 8.3.9-0lenny1 | — |
All Vendor Advisories
(4)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 2× in last 7d / 10× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 108 total refreshes for this CVE.
- 2026-08-27 14:19 UTCEPSS rescore
- 2026-08-25 13:43 UTCEPSS rescore
- 2026-08-19 16:58 UTCEPSS rescore
- 2026-08-15 01:24 UTCEPSS rescore
- 2026-08-09 13:41 UTCEPSS rescore
- 2026-08-08 16:31 UTCEPSS rescore
- 2026-08-06 13:41 UTCEPSS rescore
- 2026-08-03 10:28 UTCEPSS rescore
- 2026-07-30 16:22 UTCEPSS rescore
- 2026-07-30 01:26 UTCEPSS rescore
- 2026-07-26 13:39 UTCEG score recompute▲ 6.50
- 2026-07-25 14:12 UTCEPSS rescore
- 2026-07-24 14:12 UTCEPSS rescore
- 2026-07-23 14:14 UTCEPSS rescore
- 2026-07-23 01:00 UTCEG score recompute
- 2026-07-23 00:37 UTCEG score recompute
- 2026-07-23 00:04 UTCEG score recompute
- 2026-07-22 21:43 UTCEG score recompute
- 2026-07-22 14:03 UTCEPSS rescore
- 2026-07-21 15:20 UTCEPSS rescore
- 2026-07-20 17:03 UTCEPSS rescore
- 2026-07-20 17:03 UTCEPSS rescore
- 2026-07-18 09:59 UTCEPSS rescore
- 2026-07-16 16:58 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:55 UTCEPSS rescore
- 2026-07-13 22:25 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-09 19:04 UTCEPSS rescore
- 2026-07-08 15:10 UTCEPSS rescore
- 2026-07-06 16:23 UTCEPSS rescore
- 2026-07-06 02:19 UTCEPSS rescore
- 2026-07-06 02:19 UTCEPSS rescore
- 2026-07-05 02:26 UTCEPSS rescore
- 2026-07-05 02:26 UTCEPSS rescore
- 2026-07-04 06:27 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-28 14:03 UTCEPSS rescore
- 2026-06-28 04:52 UTCEPSS rescore
- 2026-06-28 04:52 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-21 14:53 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:44 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-10 22:14 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-08 14:13 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:07 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-30 14:19 UTCEG score recompute
- 2026-05-30 14:19 UTCVendor advisory
- 2026-05-30 14:19 UTCGHSA enrichment
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
Frequently asked(4)
What is CVE-2009-4136?
When was CVE-2009-4136 disclosed?
Is CVE-2009-4136 actively exploited?
How do I remediate CVE-2009-4136?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2009-4136
Is Your Infrastructure Affected by CVE-2009-4136?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.