CVE-2025-12817
JSON

3.1low

PostgreSQL CREATE STATISTICS does not check for schema CREATE privilege

Severity
3.1low CVSS:3.1 by PostgreSQL
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL
Also known as
BIT-POSTGRESQL-2025-12817

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

Product or packageVersionsReported by
PostgreSQLfrom 18 before 18.1, from 17 before 17.7, from 16 before 16.11, from 15 before 15.15, from 14 before 14.20, before 13.23CVE List
postgresql (Bitnami)before 13.23.0, from 14.0.0 before 14.20.0, from 15.0.0 before 15.15.0, from 16.0.0 before 16.11.0, from 17.0.0 before 17.7.0, from 18.0.0 before 18.1.0Bitnami Vulnerability Database

All scores

PostgreSQL3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Bitnami Vulnerability Databaselow rating

Classification

CWE-862

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Falta de autorización en el comando CREATE STATISTICS de PostgreSQL permite a un propietario de tabla lograr una denegación de servicio contra otros usuarios de CREATE STATISTICS al crear en cualquier esquema. Un CREATE STATISTICS posterior con el mismo nombre, de un usuario que tenga el privilegio CREATE, entonces fallaría. Las versiones anteriores a PostgreSQL 18.1, 17.7, 16.11, 15.15, 14.20 y 13.23 están afectadas.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12817 changed 2025-11-13CVE Terms of Use
NVDCVE-2025-12817 changed 2026-10-19Public domain
Bitnami Vulnerability DatabaseBIT-POSTGRESQL-2025-12817 changed 2025-11-21Apache-2.0