Skip to main content
← All vulnerabilities
CVE-2025-12817

PostgreSQL CREATE STATISTICS does not check for schema CREATE privilege

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 18.1, 17.7, 16.11, 15.15, 14.20, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a PostgreSQL

    From 18 · fixed in 18.1; From 17 · fixed in 17.7; From 16 · fixed in 16.11; From 15 · fixed in 15.15; From 14 · fixed in 14.20; fixed in 13.23

References 1

postgresql.org