The PostgreSQL Global Development Group has released an update to all supported versions of PostgreSQL, including 17.3, 16.7, 15.11, 14.16, and 13.19. This release fixes 1 security vulnerability and over 70 bugs reported over the last several months.
For the full list of changes, please review the release notes.
CVSS v3.1 Base Score: 8.1
Supported, Vulnerable Versions: 13 - 17.
Improper neutralization of quoting syntax in PostgreSQL libpq
functions PQescapeLiteral()
, PQescapeIdentifier()
, PQescapeString()
, and
PQescapeStringConn()
allows a database input provider to achieve SQL
injection in certain usage patterns. Specifically, SQL injection requires the
application to use the function result to construct input to psql, the
PostgreSQL interactive terminal. Similarly, improper neutralization of quoting
syntax in PostgreSQL command line utility programs allows a source of command
line arguments to achieve SQL injection when client_encoding
is BIG5
and
server_encoding
is one of EUC_TW
or MULE_INTERNAL
. Versions before PostgreSQL 17.3, 16.7,
15.11, 14.16, and 13.19 are affected.
The PostgreSQL project thanks Stephen Fewer, Principal Security Researcher, Rapid7 for reporting this problem.
This update fixes over 70 bugs that were reported in the last several months. The issues listed below affect PostgreSQL 17. Some of these issues may also affect other supported versions of PostgreSQL.
Lock
suffix from LWLock
wait event names. FFn
(e.g., FF1
) format codes for to_timestamp
, where an integer format code before the FFn
would consume all available digits.XMLTABLE()
to double-quote specific entries when
necessary.ldapscheme
option in
pg_hba_file_rules()
.UNION
,
including not merging columns with non-compatible collations.COPY (MERGE INTO)
.pg_controldata
more resilient when displaying info from corruptedpg_control
files.pg_restore
with zstd-compressed data.pg_basebackup
to correctly handle pg_wal.tar files exceeding 2GB on Windows.brin_page_items()
function definition is not updated
to the latest version.postgres_fdw
remote query.This release also updates time zone data files to tzdata release 2025a for DST law changes in Paraguay, plus historical corrections for the Philippines.
All PostgreSQL update releases are cumulative. As with other minor releases,
users are not required to dump and reload their database or use pg_upgrade
in
order to apply this update release; you may simply shutdown PostgreSQL and
update its binaries.
Users who have skipped one or more update releases may need to run additional post-update steps; please see the release notes from earlier versions for details.
For more details, please see the release notes.
If you have corrections or suggestions for this release announcement, please send them to the pgsql-www@lists.postgresql.org public mailing list.