CVE-2022-2625: Fedoraproject Fedora

High severity, CVSS 8.0. EPSS: 1.9% chance of exploitation in the next 30 days.

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.

Affected products

  • Fedoraproject Fedora: version 36 only
  • PostgreSQL PostgreSQL: from 10.0, before 10.22 (fixed in 10.22); from 11.0, before 11.17 (fixed in 11.17); from 12.0, before 12.12 (fixed in 12.12); from 13.0, before 13.8 (fixed in 13.8); from 14.0, before 14.5 (fixed in 14.5); version 15 only
  • Red Hat Enterprise Linux: version 6.0 only; version 7.0 only; version 8.0 only; version 9.0 only

Published 2022-08-18. Last modified 2026-06-17.