# CVE-2022-2625: CVE-2022-2625

Status: published. Published: 2022-08-18. Updated: 2026-11-02.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- n/a / postgresql: postgresql 14.5, postgresql 13.8, postgresql 12.12, postgresql 11.17, postgresql 10.22 (affected). Source: CNA: redhat

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 2.04% as of 2026-11-02; percentile 81.09%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-915

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=2113825 (CNA: redhat)

- https://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-released-2496/ (CNA: redhat)

- https://security.gentoo.org/glsa/202211-04 (CNA: redhat; vendor-advisory)

- https://bugzilla.redhat.com/show_bug.cgi?id=2113825 (ADP: CVE; x_transferred)

- https://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-released-2496/ (ADP: CVE; x_transferred)

- https://security.gentoo.org/glsa/202211-04 (ADP: CVE; vendor-advisory, x_transferred)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2022-2625; retrieved 2026-11-02; source updated 2026-11-02

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2022-2625; retrieved 2026-11-02; source updated Not reported

Revision: abab0ea9b328bf033e70e0e8d2764fcb751efeaba3bb43ebcd70ca0253d20aed

Canonical: https://y2.dev/cve/CVE-2022-2625

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.