# CVE-2022-2625

- Priority: **Routine**
- Reason: Not severe (CVSS 8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-08-18 · Modified: 2026-11-02
- Aliases: ALPINE-CVE-2022-2625, SUSE-SU-2022:2912-1, SUSE-SU-2022:2914-1, SUSE-SU-2022:2946-1, SUSE-SU-2022:2987-1, SUSE-SU-2022:2988-1, SUSE-SU-2022:2989-1, SUSE-SU-2022:2989-2, SUSE-SU-2022:3193-1, SUSE-SU-2022:3269-1, RHSA-2022:7128, RHSA-2023:0113, RHSA-2023:0160, UBUNTU-CVE-2022-2625, USN-5571-1, DEBIAN-CVE-2022-2625, DLA-3072-1, openSUSE-SU-2024:12264-1, openSUSE-SU-2024:12265-1, openSUSE-SU-2024:12266-1, openSUSE-SU-2024:12267-1, openSUSE-SU-2024:12268-1
- Record: https://cvemate.com/vulnerability/CVE-2022-2625 · JSON: https://cvemate.com/vulnerability/CVE-2022-2625/json

## Description

```text
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.
```

## Signals

- CVSS: 8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- EPSS: 2.136%, percentile 82.624%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 165)

- alpine postgresql (Alpine Linux): ≥ 10.0, \< 13.8-r0 \| ≥ 13.0, \< 13.8-r0
- alpine postgresql12 (Alpine Linux): \< 12.12-r0
- alpine postgresql13 (Alpine Linux): \< 13.8-r0
- alpine postgresql14 (Alpine Linux): \< 14.5-r0
- alpine postgresql15 (Alpine Linux): \< 14.5-r0
- debian postgresql-11 (Debian): \< 11.17-0+deb10u1
- debian postgresql-13 (Debian): \< 13.8-0+deb11u1
- ubuntu postgresql-10 (Ubuntu): \< 10.22-0ubuntu0.18.04.1
- ubuntu postgresql-12 (Ubuntu): \< 12.12-0ubuntu0.20.04.1
- ubuntu postgresql-14 (Ubuntu): \< 14.5-0ubuntu0.22.04.1
- ubuntu postgresql-9.3 (Ubuntu): All versions (No fix recorded)
- ubuntu postgresql-9.5 (Ubuntu): All versions (No fix recorded)
- fedoraproject fedora: 36
- postgresql postgresql: ≥ 10.0, \< 10.22 \| ≥ 11.0, \< 11.17 \| ≥ 12.0, \< 12.12 \| ≥ 13.0, \< 13.8 \| ≥ 14.0, \< 14.5 \| 15:beta1 \| 15:beta2
- redhat enterprise\_linux: 6.0 \| 7.0 \| 8.0 \| 9.0
- opensuse postgresql10&distro=openSUSE Leap 15.3 (openSUSE): \< 10.22-150100.8.50.1
- opensuse postgresql10&distro=openSUSE Leap 15.4 (openSUSE): \< 10.22-150100.8.50.1
- opensuse postgresql10&distro=openSUSE Tumbleweed (openSUSE): \< 10.22-1.1
- opensuse postgresql11&distro=openSUSE Tumbleweed (openSUSE): \< 11.17-1.1
- opensuse postgresql12&distro=openSUSE Leap 15.3 (openSUSE): \< 12.12-150200.8.35.1

## References (first 20 of 32)

- <https://bugzilla.redhat.com/show_bug.cgi?id=2113825>
- <https://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-released-2496/>
- <https://security.gentoo.org/glsa/202211-04>
- <https://security.alpinelinux.org/vuln/CVE-2022-2625>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20222912-1/>
- <https://bugzilla.suse.com/1198166>
- <https://bugzilla.suse.com/1202368>
- <https://www.suse.com/security/cve/CVE-2022-2625>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20222914-1/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20222946-1/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20222987-1/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20222988-1/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20222989-1/>
- <https://bugzilla.suse.com/1200437>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20222989-2/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20223193-1/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20223269-1/>
- <https://access.redhat.com/errata/RHSA-2022:7128>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_7128.json>

---

Data as of 2026-12-05T08:38:28.613Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
