Skip to main content
EPSS 1.0%top 39%

CVE-2026-6473: Integer Overflow or Wraparound in PostgreSQL

0
High
VulnerabilityCVE-2026-6473cvecve-2026-6473
Published: 05/14/2026 (05/14/2026, 13:00:09 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

PostgreSQL

Affected versions
>=18 <18.4>=17 <17.10>=16 <16.14>=15 <15.18>=0 <14.23
Postgresqlmore threats →ai
postgresql/postgresql
pkg:deb/postgresql/postgresql
Affected versions
<14.23<15.18<16.14<17.10<18.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 14:26:10 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses