CVE-2026-6473: Integer wraparound in multiple PostgreSQL server features allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds.
High CVSS 8.8
- CVE id
- CVE-2026-6473
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL Runtimes and servers |
< 14.23 >= 15.0, < 15.18 >= 16.0, < 16.14 >= 17.0, < 17.10 >= 18.0, < 18.4 |
14.23, 15.18, 16.14, 17.10, 18.4 |
How to fix it
Upgrade PostgreSQL to the fixed release of the line you run: 14.23, 15.18, 16.14, 17.10, 18.4.
psql -c 'SELECT version();'
- Install the patched PostgreSQL minor release of your major version (the postgres image tag, the PGDG packages, or your provider's maintenance update) and restart the server; minor releases need no dump or pg_upgrade.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
Integer wraparound in multiple PostgreSQL server features allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds. This may execute arbitrary code as the operating system user running the database. In applications that pass gigabyte-scale user inputs to the relevant database functions, the application input provider may achieve a segmentation fault. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.
References
- CVE-2026-6473 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-6473
- Web: https://www.postgresql.org/support/security/CVE-2026-6473/
- Web: https://access.redhat.com/errata/RHSA-2026:22878
- Web: https://access.redhat.com/errata/RHSA-2026:26181
- Web: https://access.redhat.com/errata/RHSA-2026:26203
- Web: https://access.redhat.com/errata/RHSA-2026:26204
- Web: https://access.redhat.com/errata/RHSA-2026:26524
- Web: https://access.redhat.com/errata/RHSA-2026:26525
- Web: https://access.redhat.com/errata/RHSA-2026:26561
- Web: https://access.redhat.com/errata/RHSA-2026:27718
- Web: https://access.redhat.com/errata/RHSA-2026:27738
- Web: https://access.redhat.com/errata/RHSA-2026:27741
- Web: https://access.redhat.com/errata/RHSA-2026:27742
- Web: https://access.redhat.com/errata/RHSA-2026:27743
- Web: https://access.redhat.com/errata/RHSA-2026:28037
- Web: https://access.redhat.com/errata/RHSA-2026:28143
- Web: https://access.redhat.com/errata/RHSA-2026:28208
- Web: https://access.redhat.com/errata/RHSA-2026:28999
- Web: https://access.redhat.com/errata/RHSA-2026:29212
- Web: https://access.redhat.com/errata/RHSA-2026:29815
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.