CVE-2022-2625
highA vulnerability was found in PostgreSQL.
Vendor / product: Postgresql — postgresql
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.
CVSS
8.0
8.0 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2022-08-18 19:15
Modified: 2026-11-02 19:17
NVD status: Modified
Last synced 6 hours ago
Verified against the source API 2026-11-02 19:37 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
postgresql / postgresql ≥10.0 <10.22, ≥11.0 <11.17, ≥12.0 <12.12, ≥13.0 <13.8, ≥14.0 <14.5, 15
fedoraproject / fedora 36
redhat / enterprise_linux 6.0, 7.0, 8.0, 9.0
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2113825 secalert@redhat.com
- https://security.gentoo.org/glsa/202211-04 secalert@redhat.com
- https://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-rele... secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2113825 af854a3a-2127-422b-91ae-364da2661108
- https://security.gentoo.org/glsa/202211-04 af854a3a-2127-422b-91ae-364da2661108
- https://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-rele... af854a3a-2127-422b-91ae-364da2661108
Data sources
NVD CVE API 2.0 — fetched 2026-11-02 19:37 UTC · record ↗
