{"id":"CVE-2025-12817","state":"PUBLISHED","title":"PostgreSQL CREATE STATISTICS does not check for schema CREATE privilege","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.","publishedAt":"2025-11-13T13:00:12.160Z","updatedAt":"2025-11-13T13:59:54.599Z","severity":{"score":3.1,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","source":"PostgreSQL"},"assigner":"PostgreSQL","products":["n/a PostgreSQL"],"affected":[{"vendor":"n/a","product":"PostgreSQL","defaultStatus":"unaffected","versions":[{"version":"18","status":"affected","lessThan":"18.1","versionType":"rpm"},{"version":"17","status":"affected","lessThan":"17.7","versionType":"rpm"},{"version":"16","status":"affected","lessThan":"16.11","versionType":"rpm"},{"version":"15","status":"affected","lessThan":"15.15","versionType":"rpm"},{"version":"14","status":"affected","lessThan":"14.20","versionType":"rpm"},{"version":"0","status":"affected","lessThan":"13.23","versionType":"rpm"}]}],"references":["https://www.postgresql.org/support/security/CVE-2025-12817/"],"weaknesses":["CWE-862"],"ingestedAt":"2026-10-29T20:08:31.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/12xxx/CVE-2025-12817.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-12817","state":"PUBLISHED","datePublished":"2025-11-13T13:00:12.160Z","dateUpdated":"2025-11-13T13:59:54.599Z","assignerShortName":"PostgreSQL","assignerOrgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","dateReserved":"2025-11-06T17:22:31.286Z"},"containers":{"cna":{"title":"PostgreSQL CREATE STATISTICS does not check for schema CREATE privilege","descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"PostgreSQL","defaultStatus":"unaffected","versions":[{"version":"18","status":"affected","lessThan":"18.1","versionType":"rpm"},{"version":"17","status":"affected","lessThan":"17.7","versionType":"rpm"},{"version":"16","status":"affected","lessThan":"16.11","versionType":"rpm"},{"version":"15","status":"affected","lessThan":"15.15","versionType":"rpm"},{"version":"14","status":"affected","lessThan":"14.20","versionType":"rpm"},{"version":"0","status":"affected","lessThan":"13.23","versionType":"rpm"}]}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2025-12817/"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","baseScore":3.1,"baseSeverity":"LOW"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","type":"CWE","description":"Missing Authorization"}]}],"providerMetadata":{"shortName":"PostgreSQL","orgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","dateUpdated":"2025-11-13T13:00:12.160Z"},"configurations":[{"lang":"en","value":"attacker owns a table or has permission to create objects (temporary objects or non-temporary objects in at least one schema)"}],"credits":[{"lang":"en","value":"The PostgreSQL project thanks Jelte Fennema-Nio for reporting this problem."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-11-13T13:59:49.176346Z","id":"CVE-2025-12817","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-13T13:59:54.599Z"}}]}}}