CVE-2025-12817

Publication date 13 November 2025

Last updated 3 December 2025


Ubuntu priority

Cvss 3 Severity Score

3.1 · Low

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
postgresql-18 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
postgresql-17 25.10 questing
Fixed 17.7-0ubuntu0.25.10.1
25.04 plucky
Fixed 17.7-0ubuntu0.25.04.1
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
postgresql-16 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble
Fixed 16.11-0ubuntu0.24.04.1
22.04 LTS jammy Not in release
postgresql-14 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy
Fixed 14.20-0ubuntu0.22.04.1
postgresql-12 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Needs evaluation
postgresql-10 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
18.04 LTS bionic
Needs evaluation
postgresql-9.5 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
16.04 LTS xenial
Needs evaluation
postgresql-9.3 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
14.04 LTS trusty
Vulnerable, fix deferred

Notes


leosilva

PostgreSQL 9.3 is end of life upstream, and no updates are are available. Marking as deferred in -esm-main releases.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
postgresql-18

Severity score breakdown

Parameter Value
Base score 3.1 · Low
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact Low
Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

References

Related Ubuntu Security Notices (USN)

    • USN-7908-1
    • PostgreSQL vulnerabilities
    • 3 December 2025

Other references