↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

CVE-2025-12817

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.

Version Information

Affected branchIntroducedFixed InFix Published
13—13.232025-11-13
14—14.202025-11-13
15—15.152025-11-13
16—16.112025-11-13
17—17.72025-11-13
18—18.12025-11-13

CVSS 3.0

Overall Score3.1
Componentcore server
VectorAV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

First published: 2025-11-13

Historical source observations

These dated records preserve the original source claims separately from the reviewed fix list.

center · 2026-10-03 12:08:35.169032+08

  • PostgreSQL 18 · Original minor coordinate: 1
  • PostgreSQL 17 · Original minor coordinate: 7
  • PostgreSQL 16 · Original minor coordinate: 11
  • PostgreSQL 15 · Original minor coordinate: 15
  • PostgreSQL 14 · Original minor coordinate: 20
  • PostgreSQL 13 · Original minor coordinate: 23

pgweb · 2026-10-03 12:08:55.967155+08

  • PostgreSQL 18 · Original minor coordinate: 1
  • PostgreSQL 17 · Original minor coordinate: 7
  • PostgreSQL 16 · Original minor coordinate: 11
  • PostgreSQL 15 · Original minor coordinate: 15
  • PostgreSQL 14 · Original minor coordinate: 20
  • PostgreSQL 13 · Original minor coordinate: 23

Original security advisory · JSON · All advisories