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 package | Versions | Reported by |
|---|---|---|
| PostgreSQL | from 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.23 | CVE 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.0 | Bitnami Vulnerability Database |
All scores
| PostgreSQL | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L |
| Bitnami Vulnerability Database | low rating |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-12817 changed 2025-11-13 | CVE Terms of Use |
| NVD | CVE-2025-12817 changed 2026-10-19 | Public domain |
| Bitnami Vulnerability Database | BIT-POSTGRESQL-2025-12817 changed 2025-11-21 | Apache-2.0 |