3.1

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

Deferred
AliasesALPINE-CVE-2025-12817UBUNTU-CVE-2025-12817DEBIAN-CVE-2025-12817
Published 13-11-2025Last modified 13-11-2025

Vulnerability summary

CVE-2025-12817 is a low (CVSS 3.1) Missing Authorization vulnerability in postgresql-17. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
3.1/10
010
Low · v3.1 (CVE.org)
EPSS score
0.24%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 56 · Related 32

Timeline

  1. 13-11-2025
    PublishedVulnerability first disclosed.
  2. 13-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

16%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.23% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu8 products
  • postgresql-10All versions (No fix recorded)
  • postgresql-12All versions (No fix recorded)
  • postgresql-14< 14.20-0ubuntu0.22.04.1
  • postgresql-16< 16.11-0ubuntu0.24.04.1
  • postgresql-17< 17.7-0ubuntu0.25.10.1
Alpine4 products
  • postgresql15< 15.15-r0
  • postgresql16< 16.11-r0
  • postgresql17< 17.7-r0
  • postgresql18< 18.1-r0
Debian3 products
  • postgresql-15< 15.15-0+deb12u1
  • postgresql-17< 17.7-0+deb13u1
  • postgresql-18< 18.1-1

3 vendors · 15 products

References

7 links