CVE-2025-12817 | PostgreSQL CREATE STATISTICS does not check for schema CREATE privilege

Missing authorization in PostgreSQL CREATE STATISTICS command allows a table owner to achieve denial of service against other CREATE STATISTICS users by creating in any schema. A later CREATE STATISTICS for the same name, from a user having the CREATE privilege, would then fail. Versions before PostgreSQL 18.1, 17.7, 16.11, 15.15, 14.20, and 13.23 are affected.

Published: 2025-11-13 Last update: 2026-04-15 Assigner: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Conclusion & alert: CVE-2025-12817 is rated Low Risk (18.7/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.06%). Mandatory action: Low composite risk—no urgent action required; patch on your normal maintenance cycle and revisit priority if CVSS or EPSS increases.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-12817

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-01-18 0.03% 0.06% +0.02%
2 2025-11-14 0.03%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-12817

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.1 3.1 LOW
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.6 1.4 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Weakness enumeration for CVE-2025-12817

OS Trackers for CVE-2025-12817

vendor priority summary link
alpine low CVE-2025-12817: 5 source package rows (postgresql, postgresql15, postgresql16, postgresql17, postgresql18); 33 state rows across 9 repos (3.19-main, 3.20-main, 3.21-main, 3.22-community, 3.22-main, 3.23-community, 3.23-main, edge-community, edge-main); fixed 15, open 18. https://security.alpinelinux.org/vuln/CVE-2025-12817
debian not yet assigned CVE-2025-12817 not yet assigned priority: Debian including 4 source packages (postgresql-13, postgresql-15, postgresql-17, postgresql-18), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-12817
redhat low https://access.redhat.com/security/cve/CVE-2025-12817
suse medium CVE-2025-12817 severity moderate: SUSE including 784 source package names (0.6.41-13.9:libpq5-18.1-150600.13.3.1, 2.13.2_git56172457-4.12:libpq5-18.1-150600.13.3.1, …), 2512 product×package rows across 108 product lines (Container containers/open-webui, Container private-registry/harbor-db, … (108 product lines)): Fixed 1881, Known Not Affected 323, Known Affected 231, First Fixed 77. https://www.suse.com/security/cve/CVE-2025-12817/
ubuntu medium CVE-2025-12817 medium priority: Ubuntu including 8 source packages (postgresql-10, postgresql-12, …), 44 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): DNE 28, needs-triage 6, released 5, ignored 4, deferred 1. https://ubuntu.com/security/CVE-2025-12817

Affected software / configurations for CVE-2025-12817

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2025-12817

cvelogic Threat Intelligence