CVE-2025-4207

NameCVE-2025-4207
DescriptionBuffer 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 before PostgreSQL 17.5, 16.9, 15.13, 14.18, and 13.21 are affected.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4159-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
postgresql-13 (PTS)bullseye13.16-0+deb11u1vulnerable
bullseye (security)13.21-0+deb11u1fixed
postgresql-15 (PTS)bookworm15.13-0+deb12u1fixed
bookworm (security)15.10-0+deb12u1vulnerable
postgresql-17 (PTS)trixie, sid17.5-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
postgresql-13sourcebullseye13.21-0+deb11u1DLA-4159-1
postgresql-13source(unstable)(unfixed)
postgresql-15sourcebookworm15.13-0+deb12u1
postgresql-15source(unstable)(unfixed)
postgresql-17source(unstable)17.5-1

Notes

https://www.postgresql.org/about/news/postgresql-175-169-1513-1418-and-1321-released-3072/
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=ec5f89e8a29f32c7dbc4dd8734ed8406d771de2f (REL_17_5)
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=44ba3f55f552b56b2fbefae028fcf3ea5b53461d (REL_15_13)
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=cbadeaca9271a1bade8ef9790bae09dc92e0ed30 (REL_13_21)

Search for package or bug name: Reporting problems