DocumentationVersion comparison
POSTGRESQL · VERSION COMPARE
PostgreSQL 16.8 release changes
All features, fixes, and compatibility notes in this release, with related records from other versions.
Includes changes after the source version through the target. A major version name means its initial release.
Detect the source version from your database
Complete release changes
16.8
2025-02-20
16.8stableSupport ends 2028-11-09
Security changes
| CVE / issue | Severity | Fixed version | Selection status |
|---|---|---|---|
| CVE-2025-1094 Improve behavior of libpq's quoting functions | 16.7 | Recorded fix |
PostgreSQL 16.8
Migration and compatibility
A dump/restore is not required for those running 16.X.
However, if you are upgrading from a version earlier than 16.5, see Section E.11.
SecurityImprove behavior of libpq's quoting functions
Changes
Improve behavior of libpq's quoting functions (Andres Freund, Tom Lane) § § §
The changes made for CVE-2025-1094 had one serious oversight: PQescapeLiteral() and PQescapeIdentifier() failed to honor their string length parameter, instead always reading to the input string's trailing null. This resulted in including unwanted text in the output, if the caller intended to truncate the string via the length parameter. With very bad luck it could cause a crash due to reading off the end of memory.
In addition, modify all these quoting functions so that when invalid encoding is detected, an invalid sequence is substituted for just the first byte of the presumed character, not all of it. This reduces the risk of problems if a calling application performs additional processing on the quoted string.
Related records (4)
Bug fixesFix meson build system to correctly detect availability of the bsd_auth.h system header
Changes
Fix meson build system to correctly detect availability of the bsd_auth.h system header (Nazir Bilal Yavuz) §
Related records (1)
No matching changes
Try another search, or .
How is this comparison generated?
The comparison follows PostgreSQL release notes from just after the source through the target version. Confirmed backport duplicates are merged conservatively, with every original explanation retained. Related commits can represent independent changes; they remain separate records.
Release snapshot: 2026-11-19 · Security snapshot: 2026-09-26
Content comes from PostgreSQL release notes. Interaction inspired by pgversions.com and pgversionreport.