Skip to content
CVE PROGRAM SOURCE RECORD3.1 Low

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

n/a PostgreSQL

Default version status: unaffected

  • 18 to < 18.1affected
  • 17 to < 17.7affected
  • 16 to < 16.11affected
  • 15 to < 15.15affected
  • 14 to < 14.20affected
  • 0 to < 13.23affected

References