CVE-2025-12817 in Postgresql products
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...
Affects 0 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Postgresql | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-12817 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-271523-L |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L |
| Published | 2025-11-13 |
| Last modified | 2026-10-19 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-862: Missing Authorization
Software does not check whether an authenticated actor has permission for the requested operation.
Related attack patterns (CAPEC)
CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-862
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2025-12817 involves a missing authorization vulnerability in the PostgreSQL CREATE STATISTICS command, allowing a table owner to create statistics in any schema, leading to a denial of service for other users attempting to create statistics with the same name.
An attacker with table ownership privileges can create statistics in any schema, which can prevent other users with CREATE privileges from creating statistics with the same name, resulting in a denial of service.
Questions
What is CVE-2025-12817?
CVE-2025-12817 involves a missing authorization vulnerability in the PostgreSQL CREATE STATISTICS command, allowing a table owner to create statistics in any schema, leading to a denial of service for other users attempting to create statistics with the same name.
What is the CVSS score for CVE-2025-12817?
CVE-2025-12817 has CVSS 3.1 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L. EPSS: 0.3%.
Is CVE-2025-12817 actively exploited?
No confirmed active exploitation of CVE-2025-12817 as of 2026-10-25.
How do I remediate CVE-2025-12817?
Priority: HIGH.
What systems are affected by CVE-2025-12817?
CVE-2025-12817 affects Postgresql.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Postgresql","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.