CVE-2022-2625
A vulnerability was found in PostgreSQL. This attack requires permission to create non-temporary objects in at least one schema, the ability to lure or wait for an administrator to create or update an affected extension in that schema, and the ability to lure or wait for a victim to use the object targeted in CREATE OR REPLACE or CREATE IF NOT EXISTS. Given all three prerequisites, this flaw allows an attacker to run arbitrary code as the victim role, which may be a superuser.
Key facts
- CVSS score
- 8.0 (v3.1)
- Severity
- HIGH
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H- Weakness (CWE)
- CWE-915
- EPSS score
- 2.0% (81th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2022-34872)
- Published
- August 18, 2022
- NVD last modified
- June 17, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2022-34872 in the EU Vulnerability Database. Last updated in EUVD on August 3, 2024.
View on the EU Vulnerability DatabaseAffected products
- fedoraproject / fedora
- postgresql / postgresql
- postgresql / postgresql
- postgresql / postgresql
- redhat / enterprise linux
- redhat / enterprise linux
- redhat / enterprise linux
- redhat / enterprise linux
Certified products that may be affected
31 FIPS 140 or Common Criteria certified products, from automated matching by sec-certs.org.
- Red Hat Enterprise Linux 8 NSS Cryptographic Module - Red Hat, Inc. - FIPS 140 5513 - active
- Red Hat Enterprise Linux 8 Kernel Cryptographic API - Red Hat, LLC - FIPS 140 5461 - active
- Red Hat Enterprise Linux 9 Kernel Cryptographic API - Red Hat, Inc. - FIPS 140 5445 - active
- Red Hat Enterprise Linux 9 libgcrypt - Red Hat, Inc. - FIPS 140 5366 - active
- Red Hat Enterprise Linux 8 Kernel Cryptographic API - Red Hat, Inc. - FIPS 140 5089 - active
See all 31 in the Security Certifications Explorer.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2113825(Issue Tracking, Third Party Advisory)
- https://security.gentoo.org/glsa/202211-04(Third Party Advisory)
- https://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-released-2496/(Release Notes, Vendor Advisory)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain