cbcvebase.
CVE-2026-6473
published 2026-05-14

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…

PriorityP262high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
0.67%
47.2th percentile
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.

Affected

18 ranges
VendorProductVersion rangeFixed in
postgresqlpostgresql< 14.2314.23
postgresqlpostgresql
postgresqlpostgresql>= 15 < 15.1815.18
postgresqlpostgresql>= 15.0 < 15.1815.18
postgresqlpostgresql>= 16 < 16.1416.14
postgresqlpostgresql>= 16.0 < 16.1416.14
postgresqlpostgresql>= 17 < 17.1017.10
postgresqlpostgresql>= 17.0 < 17.1017.10
postgresqlpostgresql>= 18 < 18.418.4
postgresqlpostgresql>= 18.0 < 18.418.4
postgresql_12postgresql
postgresql_15postgresql
postgresql_16postgresql
postgresql_18postgresql
ubuntupostgresql-14
ubuntupostgresql-16
ubuntupostgresql-17
ubuntupostgresql-18

Detection & IOCsextracted from sources · hover to see the quote

  • Detect gigabyte-scale inputs passed to PostgreSQL server functions, which are required to trigger the integer wraparound and out-of-bounds write
  • Monitor for oversized string, array, or binary objects being passed into backend SQL queries as a precursor to exploitation
  • An unprivileged (low-privilege) database user account is sufficient to trigger this vulnerability; monitor for unexpected large-input queries from low-privilege accounts
  • Watch for PostgreSQL server segmentation faults (SIGSEGV) in logs, which may indicate exploitation attempts via gigabyte-scale inputs
  • ·Affected versions: PostgreSQL before 18.4, 17.10, 16.14, 15.18, and 14.23. Patch to these versions to remediate.
  • ·Red Hat notes that default RHEL security features (SELinux, ASLR, NX stack) significantly increase the difficulty of achieving arbitrary code execution, reducing practical impact on hardened systems.
  • ·Mitigation (if patching is not immediately possible): validate the length of data and size of objects on all client APIs and web interfaces before they reach backend SQL queries.
  • ·postgresql17 on Red Hat Hardened Images is listed as NOT affected.

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vendor_redhat8.8HIGH
vendor_ubuntu5.4MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.