Skip to content
OpenAdvisories
Medium USN-7520-1 1 CVE

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

Published May 20, 2025 · Updated Apr 27, 2026

Summary

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.

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 20.04 LTS 20.04:LTS postgresql-12 12.22-0ubuntu0.20.04.4
Ubuntu · 22.04 LTS 22.04:LTS postgresql-14 14.18-0ubuntu0.22.04.1
Ubuntu · 24.04 LTS 24.04:LTS postgresql-16 16.9-0ubuntu0.24.04.1

Vulnerabilities 1

  • Medium 5.9

    PostgreSQL GB18030 encoding validation can read one byte past end of allocation for text that fails validation

    Buffer over-read in PostgreSQL GB18030 encoding validation allows a database input provider to achieve temporary denial of service on platforms where a 1-byte over-read can elicit process termination. This affects the database server and also libpq. Versions …

References

  • report
    https://ubuntu.com/security/CVE-2025-4207