CVE-2026-6473: Integer Overflow or Wraparound in PostgreSQL
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.
AI Analysis
Technical Summary
This vulnerability involves an integer overflow in PostgreSQL server features that results in undersized memory allocation and subsequent out-of-bounds writes. An attacker with low privileges can exploit this by passing extremely large inputs to vulnerable database functions, potentially executing arbitrary code with the privileges of the database OS user or causing a denial of service through segmentation faults. Default security features such as SELinux, ASLR, and NX mitigate the risk of arbitrary code execution. The issue is tracked as CWE-190 (Integer Overflow or Wraparound). Red Hat has issued patches for affected versions and recommends validating input sizes to mitigate the risk.
Potential Impact
The vulnerability allows an attacker with minimal database access to cause memory corruption via integer overflow, leading to out-of-bounds writes. This can result in arbitrary code execution with the operating system user privileges running the database or cause denial of service through segmentation faults. However, default security mechanisms like SELinux, ASLR, and NX reduce the likelihood of successful code execution. The CVSS v3.1 base score is 8.8 (high severity), reflecting high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Red Hat has released official security updates that fix this vulnerability. Users should apply these updates promptly. Additionally, it is recommended to validate the length of data and object sizes on all client APIs and web interfaces, and to block, drop, or truncate oversized string, array, or binary objects before they reach backend SQL queries. Default security features such as SELinux enforcement, ASLR, and NX stack protection also help mitigate the impact.
CVE-2026-6473: Integer Overflow or Wraparound in PostgreSQL
Description
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.
CVSS v3.1
Score 8.8high
Affected software
PostgreSQL
pkg:deb/postgresql/postgresqlRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves an integer overflow in PostgreSQL server features that results in undersized memory allocation and subsequent out-of-bounds writes. An attacker with low privileges can exploit this by passing extremely large inputs to vulnerable database functions, potentially executing arbitrary code with the privileges of the database OS user or causing a denial of service through segmentation faults. Default security features such as SELinux, ASLR, and NX mitigate the risk of arbitrary code execution. The issue is tracked as CWE-190 (Integer Overflow or Wraparound). Red Hat has issued patches for affected versions and recommends validating input sizes to mitigate the risk.
Potential Impact
The vulnerability allows an attacker with minimal database access to cause memory corruption via integer overflow, leading to out-of-bounds writes. This can result in arbitrary code execution with the operating system user privileges running the database or cause denial of service through segmentation faults. However, default security mechanisms like SELinux, ASLR, and NX reduce the likelihood of successful code execution. The CVSS v3.1 base score is 8.8 (high severity), reflecting high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Red Hat has released official security updates that fix this vulnerability. Users should apply these updates promptly. Additionally, it is recommended to validate the length of data and object sizes on all client APIs and web interfaces, and to block, drop, or truncate oversized string, array, or binary objects before they reach backend SQL queries. Default security features such as SELinux enforcement, ASLR, and NX stack protection also help mitigate the impact.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-04-17T00:27:22.802Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-6473","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:27718","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:27743","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:27742","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:27738","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:28999","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26181","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:28143","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29815","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:32994","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26561","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29953","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26524","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29904","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:32983","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26525","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29212","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:28037","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26203","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26204","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:27741","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:22878","vendor":"Red Hat"}]
Threat ID: 6a05cfe8ec166c07b0e1393b
Added to database: 05/14/2026, 13:36:40 UTC
Last enriched: 08/07/2026, 14:26:10 UTC
Last updated: 09/14/2026, 22:01:36 UTC
Views: 188
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.