CVE-2025-12817
PostgreSQL CREATE STATISTICS does not check for schema CREATE privilege
Description
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.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:HAttack ComplexityHigh
PR:LPrivileges RequiredLow
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:NConfidentialityNone
I:NIntegrityNone
A:LAvailabilityLow
Weaknesses
Affected Products
Postgres Professional
commercialaka postgres pro certified, postgres pro enterprise
АО «ИВК»
commercial·RUaka ivk
PostgreSQL Global Development Group
oss-project·USaka postgresql
ООО «Ред Софт»
commercial·RUaka red soft
АО «СберТех»
commercial·RUaka ao sbertech, сбертех
ООО «Тантор Лабс»
commercial·RU
and 1 more affected products View all →
Exploitability
Official Patch Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
2 techniques Initial Access
References
https://www.postgresql.org/support/security/CVE-2025-12817/
postgresql.org
https://postgrespro.ru/products/postgrespro/certified
postgrespro.ru
https://www.postgresql.org/support/security/CVE-2025-12817
postgresql.org
and 2 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-12817 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
