CVE-2025-12817

PostgreSQL CREATE STATISTICS does not check for schema CREATE privilege

State
Published
Severity
3.1 Low
Published
Nov 13, 2025
Updated
Nov 13, 2025
Reserved
Nov 6, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:LPostgreSQL

Weaknesses

Affected Products

ProductVersions
PostgreSQLn/a
  • 18 to before 18.1Affected
  • 17 to before 17.7Affected
  • 16 to before 16.11Affected
  • 15 to before 15.15Affected
  • 14 to before 14.20Affected
  • before 13.23Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.