# CVE-2022-2625: A vulnerability was found in PostgreSQL.

- Severity: High 8.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.14%, higher than 82% of CVEs (2026-12-01)
- Published: 2022-08-18T00:00:00.000Z
- Modified: 2026-11-02T19:17:48.630Z
- Also known as: BIT-POSTGRESQL-2022-2625
- Weaknesses: CWE-915, CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- postgresql: postgresql 14.5, postgresql 13.8, postgresql 12.12, postgresql 11.17, postgresql 10.22
- postgresql postgresql: from 10.0 before 10.22; from 11.0 before 11.17; from 12.0 before 12.12; from 13.0 before 13.8; from 14.0 before 14.5; 15
- fedoraproject fedora: 36
- redhat enterprise_linux: 6.0; 7.0; 8.0; 9.0
- postgresql (Bitnami): from 10.0.0 before 10.22.0; from 11.0.0 before 11.17.0; from 12.0.0 before 12.12.0; from 13.0.0 before 13.8.0; from 14.0.0 before 14.5.0

## Every score

- NVD: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2113825> (advisory, issue-tracking, third-party-advisory)
- <https://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-released-2496/> (advisory, release-notes, vendor-advisory)
- <https://security.gentoo.org/glsa/202211-04> (advisory, third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2625> (web)

## Sources

- CVE List: [CVE-2022-2625](https://www.cve.org/CVERecord?id=CVE-2022-2625), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2022-2625](https://nvd.nist.gov/vuln/detail/CVE-2022-2625), Public domain, modified 2026-11-02
- Bitnami Vulnerability Database: [BIT-POSTGRESQL-2022-2625](https://osv.dev/vulnerability/BIT-POSTGRESQL-2022-2625), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-2625 · Whole record: https://cve.day/CVE-2022-2625.json · Rebuilt by cve.day 2026-11-25T22:58:14.293Z
