DEBIAN-CVE-2025-12817
Record from OSV · Published November 13, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| postgresql-18 | Debian:14 | 18.1-1 |
| postgresql-15 | Debian:12 | 15.15-0+deb12u1 |
| postgresql-17 | Debian:13 | 17.7-0+deb13u1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:14 | postgresql-18 | 0, 18.0-1, 18~beta1+20250612-1 |
| Debian:12 | postgresql-15 | 15.8-0+deb12u1, 15.9-0+deb12u1, 0 |
| Debian:13 | postgresql-17 | 0, 17.5-1, 17.6-0+deb13u1 |
Timeline
- Nov 13, 2025 CVE Published
- Oct 23, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2025-12817
vulnetix vdb fixes DEBIAN-CVE-2025-12817
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2025-12817/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart