Skip to main content
EPSS 1.0%top 39%

PostgreSQL server undersizes allocations, via integer wraparound (CVE-2026-6473)

0
High
Published: 05/18/2026 (05/18/2026, 05:52:58 UTC)
Source: GCVE Database
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.

Affected software

Affected versions
Red HatRed Hat Hardened Imagesaarch64postgresql18-main@aarch64Red Hat Ansible Automation PlatformRed Hat Ansible Automation Platform 2.2amd64registry.redhat.io/ansible-automation-platform/bootc-automation-portal-rhel9@sha256:f431dddfcb88b3d90db1607423bc451993dd39e7e182b047cf673594d39bc186_amd64Red Hat Enterprise LinuxRed Hat Enterprise Linux AppStream (v. 8)srclibpq-0:13.23-2.el8_10.src<14.23.0>=15.0.0 <15.18.0>=16.0.0 <16.14.0>=17.0.0 <17.10.0>=18.0.0 <18.4.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/10/2026, 19:32:48 UTC

Technical Analysis

CVE-2026-6473 is an integer overflow vulnerability in PostgreSQL that affects Red Hat Ansible Automation Platform 2.2, delivered as a bootable container image. The flaw occurs when an unprivileged database user passes extremely large inputs to certain database functions, causing an integer overflow that leads to undersized memory allocation and an out-of-bounds write. This memory corruption can allow execution of arbitrary code with the privileges of the database process or cause a denial of service through segmentation faults. Red Hat Enterprise Linux security features such as SELinux, ASLR, and NX stack protection reduce the likelihood of successful exploitation. The vulnerability is rated as important (high severity) by Red Hat. No patch or fix has been provided yet, and mitigation requires input validation and truncation of oversized objects before they reach the database backend.

Potential Impact

The vulnerability allows an attacker with low privileges on the database to cause memory corruption via integer overflow, potentially leading to arbitrary code execution as the database OS user or denial of service through crashes. Red Hat's default security mechanisms reduce the risk of code execution but do not eliminate the possibility. The impact includes high confidentiality, integrity, and availability risks due to possible unauthorized code execution, data corruption, or service disruption.

Mitigation Recommendations

No official fix or patch is currently available for this vulnerability. Mitigation requires validating the length of data and the size of objects on all client APIs and web interfaces. Oversized string, array, or binary objects should be blocked, dropped, or truncated before being passed into backend SQL queries. Red Hat Enterprise Linux security features such as SELinux enforcement, ASLR, and NX stack protection help reduce exploitation risk. Monitor Red Hat advisories for updates and patches.

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

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:22878
Cve Count
6
Additional Cves
["CVE-2026-6474","CVE-2026-6475","CVE-2026-6477","CVE-2026-6478","CVE-2026-6575"]
Cvss Version
3.1

Threat ID: 6a297639c9170919df2afab3

Added to database: 06/10/2026, 14:35:37 UTC

Last enriched: 08/10/2026, 19:32:48 UTC

Last updated: 09/10/2026, 19:36:55 UTC

Views: 141

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.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

External Links

NVD DatabaseMITRE CVEhttps://access.redhat.com/errata/RHSA-2026:44568https://access.redhat.com/security/cve/CVE-2026-6473https://access.redhat.com/security/cve/CVE-2026-6479https://access.redhat.com/security/updates/classification/https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platformCanonical URLhttps://access.redhat.com/errata/RHSA-2026:22878https://images.redhat.com/https://access.redhat.com/security/cve/CVE-2026-6478https://access.redhat.com/security/cve/CVE-2026-6474https://access.redhat.com/security/cve/CVE-2026-6477https://access.redhat.com/security/cve/CVE-2026-6475https://access.redhat.com/security/cve/CVE-2026-6575https://access.redhat.com/security/cve/CVE-2026-6472https://access.redhat.com/security/cve/CVE-2026-6637https://access.redhat.com/security/cve/CVE-2026-6476https://access.redhat.com/security/cve/CVE-2026-6638Canonical URLhttps://access.redhat.com/errata/RHSA-2026:27741https://access.redhat.com/security/updates/classification/#important2477439247744224774472477448Canonical URLhttps://access.redhat.com/errata/RHSA-2026:27738Canonical URLhttps://access.redhat.com/errata/RHSA-2026:28208Canonical URLhttps://access.redhat.com/errata/RHSA-2026:28999Canonical URLhttps://access.redhat.com/errata/RHSA-2026:29212Canonical URLhttps://access.redhat.com/errata/RHSA-2026:29904Canonical URLhttps://access.redhat.com/errata/RHSA-2026:29815Canonical URLReference 38Reference 39Reference 40Reference 41Reference 42Reference 43Reference 44Reference 45Reference 46Reference 47Reference 48Reference 49Reference 50Search on Google

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