CVE-2025-12817

PostgreSQL CREATE STATISTICS does not check for schema CREATE privilege

LOW 3.1

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
PostgreSQL
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-862 — Missing Authorization

References

Scores

VersionScoreVectorScored by
CVSS 3.1LOW 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:LPostgreSQL
CVSS 3.1LOW 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:LNVD · f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
PostgreSQLaffected 18 < 18.1 ; affected 17 < 17.7 ; affected 16 < 16.11 ; affected 15 < 15.15 ; affected 14 < 14.20 ; affected 0 < 13.23

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD