Advisory

USN-7908-1

Also known as: CVE-2025-12817, CVE-2025-12818

Summary

postgresql-14, postgresql-16, postgresql-17 vulnerabilities

Details

Jelte Fennema-Nio discovered that the PostgreSQL CREATE STATISTICS command
did not correctly check for schema CREATE privileges. An authenticated
attacker could possibly use this issue to create a denial of service
against other CREATE STATISTICS users. (CVE-2025-12817)

Aleksey Solovev discovered that the PostgreSQL libpq client library
incorrectly handled certain memory operations. A remote attacker could
possibly use this issue to cause libpq to crash, resulting in a denial of
service. (CVE-2025-12818)

Severity

Not rated by the source.

Dates

Published
2025-12-03 14:00 UTC
Modified
2026-04-27 18:29 UTC

Affected packages and fixes

postgresql-14

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 14.20-0ubuntu0.22.04.1 (ecosystem)

Fixed versions

14.20-0ubuntu0.22.04.1

Fix

  • Fixed version 14.20-0ubuntu0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

postgresql-16

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 16.11-0ubuntu0.24.04.1 (ecosystem)

Fixed versions

16.11-0ubuntu0.24.04.1

Fix

  • Fixed version 16.11-0ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

postgresql-17

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 17.7-0ubuntu0.25.10.1 (ecosystem)

Fixed versions

17.7-0ubuntu0.25.10.1

Fix

  • Fixed version 17.7-0ubuntu0.25.10.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences