| Name | CVE-2025-4207 |
| Description | 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 before PostgreSQL 17.5, 16.9, 15.13, 14.18, and 13.21 are affected. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4159-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| postgresql-13 (PTS) | bullseye | 13.16-0+deb11u1 | vulnerable |
| bullseye (security) | 13.22-0+deb11u1 | fixed | |
| postgresql-15 (PTS) | bookworm | 15.14-0+deb12u1 | fixed |
| bookworm (security) | 15.10-0+deb12u1 | vulnerable | |
| postgresql-17 (PTS) | trixie | 17.6-0+deb13u1 | fixed |
| sid | 17.6-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| postgresql-13 | source | bullseye | 13.21-0+deb11u1 | DLA-4159-1 | ||
| postgresql-13 | source | (unstable) | (unfixed) | |||
| postgresql-15 | source | bookworm | 15.13-0+deb12u1 | |||
| postgresql-15 | source | (unstable) | (unfixed) | |||
| postgresql-17 | source | (unstable) | 17.5-1 |
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)