Advisory

USN-7520-1

Also known as: CVE-2025-4207

Summary

postgresql-12, postgresql-14, postgresql-16 vulnerability

Details

It was discovered that PostgreSQL incorrectly handled the GB18030 encoding.
An attacker could possibly use this issue to cause PostgreSQL to crash,
resulting in a denial of service.

Severity

Not rated by the source.

Dates

Published
2025-05-20 12:14 UTC
Modified
2026-04-27 18:00 UTC

Affected packages and fixes

postgresql-12

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 12.22-0ubuntu0.20.04.4 (ecosystem)

Fixed versions

12.22-0ubuntu0.20.04.4

Fix

  • Fixed version 12.22-0ubuntu0.20.04.4
    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-14

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

14.18-0ubuntu0.22.04.1

Fix

  • Fixed version 14.18-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.9-0ubuntu0.24.04.1 (ecosystem)

Fixed versions

16.9-0ubuntu0.24.04.1

Fix

  • Fixed version 16.9-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.

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