CVE-2022-2625: A vulnerability was found in PostgreSQL
CVE-2022-2625 is a high-severity flaw (CVSS 8.0) affecting postgresql, fedora, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Last updated 2026-11-02 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-2625?
postgresql: upgrade to 10.22, 11.17, 12.12, 13.8, 14.5; fedora: mitigate or apply the listed mitigation; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-2625 being exploited?
CVE-2022-2625 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-2625 affect?
CVE-2022-2625 affects postgresql, fedora, enterprise linux. Severity is high (CVSS 8.0). 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
How urgent is CVE-2022-2625?
Priority 53/100. High severity; On your watchlist
Software pages
Related CVEs
- CVE-2023-5869 HIGH 8.8 UPGRADE DOWNGRADE A flaw was found in PostgreSQL that allows authenticated database users to execute arbitrary code through miss
- CVE-2023-39417 HIGH 7.5 UPGRADE MITIGATE IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extsche
- CVE-2017-12172 MEDIUM 6.7 DOWNGRADE PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20
- CVE-2018-1115 CRITICAL 9.1 UPGRADE MITIGATE postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rot
- CVE-2026-6471 HIGH 7.2 UPGRADE Missing authorization in PostgreSQL logical decoding allows a non-superuser holding REPLICATION privilege to d