Skip to main content
No exploitation reportedFix available

CVE-2023-2454

No exploitation reported by the sources we read.

  • Published2023-06-09
  • Fixed in15.3 · 14.8 · 13.11 · 12.15 · 11.20
  • WeaknessCWE-20

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

schema_element defeats protective search_path changes; It was found that certain database calls in PostgreSQL could permit an authed attacker with elevated database-level privileges to execute arbitrary code.

Timeline

dates in UTC
  1. 2023-06-0919:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2023-2454?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-2454?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
PostgreSQL
BranchAffectedFixed in
15.x≥ 15.0, < 15.315.3
14.x≥ 14.0, < 14.814.8
13.x≥ 13.0, < 13.1113.11
12.x≥ 12.0, < 12.1512.15
11.x≥ 11.0, < 11.2011.20
postgresql
BranchAffectedFixed in
15.x≥ 15.0.0, < 15.3.015.3.0
14.x≥ 14.0.0, < 14.8.014.8.0
13.x≥ 13.0.0, < 13.11.013.11.0
12.x≥ 12.0.0, < 12.15.012.15.0
11.x≥ 11.0.0, < 11.20.011.20.0
Redhat enterprise linux
BranchAffectedFixed in
8.0= 8.0no fix published
9.0= 9.0no fix published

2 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • pg_repackAlmaLinux:9all versions · fixed in 1.4.8-1.module_el9.2.0+22+09653793
  • pg_repackAlmaLinux:8all versions · fixed in 1.4.6-3.module_el8.6.0+2758+4f4474df
  • pg_repackAlmaLinux:8all versions · fixed in 1.4.6-3.module_el8.6.0+2760+1746ec94
  • pg_repackAlmaLinux:8all versions · fixed in 1.4.6-3.module_el8.6.0+3094+eb237fb8
  • pg_repackAlmaLinux:8all versions · fixed in 1.4.6-3.module_el8.6.0+3095+ee60d910
  • pg_repackAlmaLinux:8all versions · fixed in 1.4.8-1.module_el8.8.0+3487+43ec1b9f
  • pgauditAlmaLinux:9all versions · fixed in 1.7.0-1.module_el9.2.0+22+09653793
  • pgauditAlmaLinux:8all versions · fixed in 1.4.0-5.module_el8.6.0+2758+4f4474df

16 more package ranges on OSV.dev

Vendor advisories

  • RHSA-2023:7772 Red Hat Product Security66 products fixed

    Red Hat Security Advisory: rh-postgresql13-postgresql security update

  • RHSA-2023:7695 Red Hat Product Security192 products fixed

    Red Hat Security Advisory: postgresql:13 security update

  • RHSA-2023:7694 Red Hat Product Security192 products fixed

    Red Hat Security Advisory: postgresql:12 security update

  • RHSA-2023:7666 Red Hat Product Security137 products fixed

    Red Hat Security Advisory: postgresql:12 security update

  • RHSA-2023:7667 Red Hat Product Security132 products fixed

    Red Hat Security Advisory: postgresql:12 security update

  • RHSA-2023:7580 Red Hat Product Security137 products fixed

    Red Hat Security Advisory: postgresql:13 security update

8 more advisories

Full record on NVD

Fix

  1. Update PostgreSQL to 15.3 · 14.8 · 13.11 · 12.15 · 11.20
  2. Vendor fix Red Hat Product Security RHSA-2023:7772 · 66 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 If the postgresql service is running, it will be automatically restarted after installing this update.
  3. Workaround from the vendor Red Hat Product Security RHSA-2023:7772 · 66 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • CISA-ADPSSVC decisionnone2025-06-03
  • OpenCVESSVC decisionnone—
  • CISA-ADPCVSS 3.17.22025-01-06
  • NVDCVSS 3.17.2read 2026-10-23
  • CNAweakness (CWE)CWE-20read 2026-10-23
  • FIRST EPSSEPSS score1.2 %2026-10-22
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published
2023-06-09
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2023-2454?

schema_element defeats protective search_path changes; It was found that certain database calls in PostgreSQL could permit an authed attacker with elevated database-level privileges to execute arbitrary code.

Is CVE-2023-2454 actively exploited?

Active exploitation of CVE-2023-2454 has not been confirmed. Its EPSS score was 1.2% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-2454?

CVE-2023-2454 has a CVSS v3 base score of 7.2 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Running PostgreSQL? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month