{"id":"CVE-2025-12817","aliases":["CVE-2025-12817","BIT-POSTGRESQL-2025-12817"],"related":[],"kind":"vulnerability","state":"published","title":"PostgreSQL CREATE STATISTICS does not check for schema CREATE privilege","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-11-13T13:00:12.160Z","modified":"2026-10-19T13:10:00.110Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.1,"rating":"LOW"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.1,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"LOW"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"rpm","introduced":"18","fixed":"18.1","status":"affected"},{"type":"rpm","introduced":"17","fixed":"17.7","status":"affected"},{"type":"rpm","introduced":"16","fixed":"16.11","status":"affected"},{"type":"rpm","introduced":"15","fixed":"15.15","status":"affected"},{"type":"rpm","introduced":"14","fixed":"14.20","status":"affected"},{"type":"rpm","introduced":"0","fixed":"13.23","status":"affected"}],"product":"PostgreSQL","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"13.23.0"},{"type":"semver","introduced":"14.0.0","status":"affected","fixed":"14.20.0"},{"type":"semver","introduced":"15.0.0","status":"affected","fixed":"15.15.0"},{"type":"semver","introduced":"16.0.0","status":"affected","fixed":"16.11.0"},{"type":"semver","introduced":"17.0.0","status":"affected","fixed":"17.7.0"},{"type":"semver","introduced":"18.0.0","status":"affected","fixed":"18.1.0"}],"ecosystem":"Bitnami","package":"postgresql","purl":"pkg:bitnami/postgresql","source":"bitnami"}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2025-12817/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12817","tags":["web"],"sources":["bitnami"]}],"credits":["The PostgreSQL project thanks Jelte Fennema-Nio for reporting this problem."],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-11-13T13:59:49.176Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12817","url":"https://www.cve.org/CVERecord?id=CVE-2025-12817","licence":"CVE Terms of Use","modified":"2025-11-13T13:59:54.599Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12817","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12817","licence":"Public domain","modified":"2026-10-19T13:10:00.110Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-POSTGRESQL-2025-12817","url":"https://osv.dev/vulnerability/BIT-POSTGRESQL-2025-12817","licence":"Apache-2.0","modified":"2025-11-21T09:27:44.154Z"}],"updatedAt":"2026-11-25T22:59:07.623Z","epss":{"score":0.00243,"percentile":0.16639,"date":"2026-12-01T12:00:22.000Z"}}