IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or ""). If an administrator has installed files of a vulnerable, trusted, non-bundled extension, an attacker with database-level CREATE privilege can execute arbitrary code as the bootstrap superuser.
CVE-2023-39417
This high-severity CVE scores 8.8 under NVD CVSS v3. EPSS exploit probability: 1.7% (75th percentile of EPSS-scored CVEs). GitHub Security Advisory enrichment pending alignment with NVD CVSS.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.8
- EG Score
- 8.8HIGHmedium confidence
- EG Risk
- 40EG Risk 40/100CISA SSVC
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 computedSeverity88% × 45%Exploitation2% × 40%Automatability0% × 15%CISA SSVC: Track at low or medium mission impact; Track* at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 1.7%
- EPSS %ILE
- 76th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track* at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
August 11, 2023
Last Modified
September 30, 2026
Advisory Details (10)
Auto-updated Sep 30, 2026Affected: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Telecommunications Update
https://access.redhat.com/errata/RHSA-2023:7695Affected: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Telecommunications Update
https://access.redhat.com/errata/RHSA-2023:7694Affected: Red Hat Enterprise Linux 8.2 Advanced Update Support, Red Hat Enterprise Linux 8.2 Telecommunications Update Service, and Red
https://access.redhat.com/errata/RHSA-2023:7667Affected: Red Hat Enterprise Linux 8.6 Extended Update Support.
https://access.redhat.com/errata/RHSA-2023:7666Affected: Red Hat Enterprise Linux 8.8 Extended Update Support.
https://access.redhat.com/errata/RHSA-2023:7656Affected: Red Hat Enterprise Linux 9.2 Extended Update Support.
https://access.redhat.com/errata/RHSA-2023:7616Affected: Red Hat Enterprise Linux 8.
https://access.redhat.com/errata/RHSA-2023:7581Affected: Red Hat Enterprise Linux 8.6 Extended Update Support.
https://access.redhat.com/errata/RHSA-2023:7580Affected: Red Hat Enterprise Linux 8.8 Extended Update Support.
https://access.redhat.com/errata/RHSA-2023:7579Affected: Red Hat Enterprise Linux 9.0 Extended Update Support.
https://access.redhat.com/errata/RHSA-2023:7545Vendor Advisories for CVE-2023-39417(10)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2023:7772Red Hat Product SecurityHigh
Red Hat Security Advisory: rh-postgresql13-postgresql security update
- RHSA-2023:7695Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:13 security update
- RHSA-2023:7694Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:12 security update
- RHSA-2023:7666Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:12 security update
- RHSA-2023:7667Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:12 security update
- patch-release-gitlab-16-6-1-releasedGitLab Security
GitLab Security Release: 16.6.1, 16.5.3, 16.4.3
- RHSA-2023:7580Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:13 security update
- RHSA-2023:7545Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql security update
- +2 more
Patch Availability(23)
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
(19 across 13 ecosystems)
Alpine:v3.15(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql13 | — |
| — |
| postgresql14 | — |
| — |
Alpine:v3.16(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql13 | — |
| — |
| postgresql14 | — |
| — |
Alpine:v3.17(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql14 | — |
| — |
| postgresql15 | — |
| — |
Alpine:v3.18(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql14 | — |
| — |
| postgresql15 | — |
| — |
Debian:11(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pgextwlist | 1.11-4 ... 1.20-1 (14 versions) |
| — |
| postgresql-13 | 13.10-0+deb11u1 ... 13.9-0+deb11u1 (12 versions) |
| — |
Debian:12(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pgextwlist | 1.15-2 |
| — |
| postgresql-15 | 15.3-0+deb12u1 ... 15.4-3 (6 versions) |
| — |
Alpine:v3.13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql | — |
| — |
Alpine:v3.14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql | — |
| — |
Alpine:v3.19(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql15 | — |
| — |
Alpine:v3.20(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql15 | — |
| — |
Debian:10(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql-11 | 11.10-0+deb10u1 ... 11.9-0+deb10u1 (21 versions) |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pgextwlist | 1.19-1 |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pgextwlist | 1.19-1, 1.19-2 |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(16)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2023:7579MODERATE2023-08-10
RHSA-2023:7579 — Moderate
- Red HatRHSA-2023:7581MODERATE2023-08-10
RHSA-2023:7581 — Moderate
- Red HatRHSA-2023:7616MODERATE2023-08-10
RHSA-2023:7616 — Moderate
- Red HatRHSA-2023:7656MODERATE2023-08-10
RHSA-2023:7656 — Moderate
- Red HatRHSA-2023:7714MODERATE2023-08-10
RHSA-2023:7714 — Moderate
- Red HatRHSA-2023:7770MODERATE2023-08-10
RHSA-2023:7770 — Moderate
- Red HatRHSA-2023:7784MODERATE2023-08-10
RHSA-2023:7784 — Moderate
- Red HatRHSA-2023:7785MODERATE2023-08-10
RHSA-2023:7785 — Moderate
- Red HatRHSA-2023:7883MODERATE2023-08-10
RHSA-2023:7883 — Moderate
- Red HatRHSA-2023:7884MODERATE2023-08-10
RHSA-2023:7884 — Moderate
- Red HatRHSA-2023:7885MODERATE2023-08-10
RHSA-2023:7885 — Moderate
- Red HatRHSA-2024:0304MODERATE2023-08-10
RHSA-2024:0304 — Moderate
- Red HatRHSA-2024:0332MODERATE2023-08-10
RHSA-2024:0332 — Moderate
- Red HatRHSA-2024:0337MODERATE2023-08-10
RHSA-2024:0337 — Moderate
- UbuntuUSN-6296-1MEDIUM
PostgreSQL vulnerabilities
- UbuntuUSN-6366-1MEDIUM
PostgreSQL vulnerability
Data Freshness Timeline
(refreshed 8× in last 7d / 38× 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 202 total refreshes for this CVE.
- 2026-10-09 20:05 UTCEPSS rescore
- 2026-10-08 17:06 UTCEPSS rescore
- 2026-10-07 23:46 UTCEPSS rescore
- 2026-10-06 15:15 UTCEPSS rescore
- 2026-10-05 17:41 UTCEPSS rescore
- 2026-10-04 23:20 UTCEPSS rescore
- 2026-10-03 14:23 UTCEPSS rescore
- 2026-10-03 14:23 UTCEPSS rescore
- 2026-10-01 19:48 UTCEPSS rescore
- 2026-09-30 20:24 UTCEG score recompute▲ 1.30
- 2026-09-30 20:24 UTCVendor advisory
- 2026-09-30 20:24 UTCGHSA enrichment
- 2026-09-30 20:22 UTCNVD updateCVSS v3 → 8.8
- 2026-09-30 19:26 UTCVendor advisory
- 2026-09-30 19:26 UTCGHSA enrichment
- 2026-09-30 16:28 UTCEG score recompute
- 2026-09-30 15:01 UTCEPSS rescore
- 2026-09-29 15:17 UTCEPSS rescore
- 2026-09-28 13:49 UTCEPSS rescore
- 2026-09-28 13:49 UTCEPSS rescore
- 2026-09-27 13:42 UTCEPSS rescore
- 2026-09-27 13:42 UTCEPSS rescore
- 2026-09-26 15:56 UTCEPSS rescore
- 2026-09-26 00:22 UTCEPSS rescore
- 2026-09-24 14:01 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-24 14:01 UTCEPSS rescore
- 2026-09-23 13:46 UTCEPSS rescore
- 2026-09-23 03:02 UTCOSV refresh
- 2026-09-20 20:14 UTCEPSS rescore
- 2026-09-20 20:14 UTCEPSS rescore
- 2026-09-18 19:25 UTCEPSS rescore
- 2026-09-17 19:25 UTCEPSS rescore
- 2026-09-16 14:06 UTCEPSS rescore
- 2026-09-16 14:06 UTCEPSS rescore
- 2026-09-16 05:11 UTCEPSS rescore
- 2026-09-12 14:58 UTCEPSS rescore
- 2026-09-11 14:50 UTCEPSS rescore
- 2026-09-11 09:34 UTCEPSS rescore
- 2026-09-08 21:58 UTCEPSS rescore
- 2026-09-07 15:59 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-05 15:26 UTCEPSS rescore
- 2026-09-04 13:58 UTCEPSS rescore
- 2026-09-04 05:04 UTCEPSS rescore
- 2026-09-03 21:46 UTCOSV refresh
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-09-01 13:51 UTCEPSS rescore
- 2026-08-30 19:15 UTCEPSS rescore
- 2026-08-30 01:20 UTCEPSS rescore
- 2026-08-28 21:39 UTCEPSS rescore
- 2026-08-27 14:23 UTCEPSS rescore
- 2026-08-26 14:44 UTCEPSS rescore
- 2026-08-26 14:43 UTCEPSS rescore
- 2026-08-25 13:46 UTCEPSS rescore
- 2026-08-23 00:17 UTCEPSS rescore
- 2026-08-21 23:47 UTCEPSS rescore
- 2026-08-20 22:53 UTCEPSS rescore
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-18 13:46 UTCEPSS rescore
- 2026-08-17 13:45 UTCEPSS rescore
- 2026-08-17 10:55 UTCOSV refresh
- 2026-08-16 14:54 UTCEPSS rescore
- 2026-08-16 02:12 UTCEPSS rescore
- 2026-08-15 01:28 UTCEPSS rescore
- 2026-08-15 01:28 UTCEPSS rescore
- 2026-08-13 21:58 UTCEPSS rescore
- 2026-08-12 13:48 UTCEPSS rescore
- 2026-08-11 13:39 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-08 16:35 UTCEPSS rescore
- 2026-08-07 16:25 UTCEPSS rescore
- 2026-08-06 13:45 UTCEPSS rescore
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-04 15:07 UTCEPSS rescore
- 2026-08-03 10:34 UTCEPSS rescore
- 2026-08-03 10:34 UTCEPSS rescore
- 2026-08-02 04:58 UTCOSV refresh
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-01 04:14 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-25 14:16 UTCEPSS rescore
- 2026-07-24 14:16 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 02:25 UTCEG score recompute
- 2026-07-22 23:12 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownAlpine:v3.15:postgresql13
Same vendor
8 shownredhat:RHSA-2023:7545 · redhat:RHSA-2023:7785
Frequently asked(5)
What is CVE-2023-39417?
When was CVE-2023-39417 disclosed?
Is CVE-2023-39417 actively exploited?
What is the CVSS score of CVE-2023-39417?
How do I remediate CVE-2023-39417?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2023-39417
Is Your Infrastructure Affected by CVE-2023-39417?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.