cve.bz

CVE-2026-6473 postgresql postgresql: Year 2038 problem, Y2K38, Y2038, Epochalypse

8.8 highEPSS 1.0%Fix available

High (8.8) in postgresql postgresql. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-05-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-6473 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6473?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6473?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-6473 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postgresql:postgresqlbefore 14.23
postgresql:postgresqlfrom 15.0 before 15.18
postgresql:postgresqlfrom 16.0 before 16.14
postgresql:postgresqlfrom 17.0 before 17.10
postgresql:postgresqlfrom 18.0 before 18.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11postgresql-1313.23-0+deb11u4DLA-4646-1
Debian12postgresql-1515.19-0+deb12u1DEBIAN-CVE-2026-6473 DLA-4740-1 DSA-6269-1
Debian13postgresql-1717.11-0+deb13u1DEBIAN-CVE-2026-6473 DSA-6270-1 DSA-6438-1
Debian14postgresql-1818.4-1DEBIAN-CVE-2026-6473
Ubuntu20.04:LTSpostgresql-12no fix listedUBUNTU-CVE-2026-6473
Ubuntu22.04:LTSpostgresql-1414.23-0ubuntu0.22.04.1UBUNTU-CVE-2026-6473 USN-8653-1
Ubuntu24.04:LTSpostgresql-1616.14-0ubuntu0.24.04.1UBUNTU-CVE-2026-6473 USN-8653-1
Ubuntu25.10postgresql-1717.10-0ubuntu0.25.10.1UBUNTU-CVE-2026-6473
Ubuntu26.04:LTSpostgresql-1818.4-0ubuntu0.26.04.1UBUNTU-CVE-2026-6473 USN-8653-1
UbuntuPro:14.04:LTSpostgresql-9.3no fix listedUBUNTU-CVE-2026-6473
UbuntuPro:16.04:LTSpostgresql-9.5no fix listedUBUNTU-CVE-2026-6473
UbuntuPro:18.04:LTSpostgresql-10no fix listedUBUNTU-CVE-2026-6473
Red Hatenterprise_linux:8::appstreamlibpq, libpq-devel, libpq-debuginfo and 2 more0:13.23-2.el8_10RHSA-2026:27738
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.6-3.module+el8.9.0+19330+c97ddbdfRHSA-2026:28999
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.6-3.module+el8.9.0+20664+9c30cf7fRHSA-2026:28208
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.8-1.module+el8.9.0+19797+c4ce5969RHSA-2026:26181
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.5.1-1.module+el8.10.0+22551+c0330dc9RHSA-2026:28143
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.4.0-7.module+el8.10.0+22214+9beb89d6RHSA-2026:28999
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.5.0-1.module+el8.9.0+20664+9c30cf7fRHSA-2026:28208
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.7.0-1.module+el8.9.0+19797+c4ce5969RHSA-2026:26181
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:16.0-1.module+el8.10.0+20413+d8116364RHSA-2026:28143
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:0.10.0-2.module+el8.9.0+19330+c97ddbdfRHSA-2026:28999
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:0.10.0-2.module+el8.9.0+20664+9c30cf7fRHSA-2026:28208
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:1.9.7-1.Final.module+el8.9.0+19797+c4ce5969RHSA-2026:26181
81 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0postgresql1414.23-160000.1.1SUSE-SU-2026:22177-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0postgresql1515.18-160000.1.1SUSE-SU-2026:22183-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0postgresql1616.14-160000.1.1SUSE-SU-2026:22184-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0postgresql1717.10-160000.1.1SUSE-SU-2026:22149-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0postgresql1818.4-160000.1.1SUSE-SU-2026:22077-1
openSUSELeap 16.0postgresql1414.23-160000.1.1openSUSE-SU-2026:21102-1
openSUSELeap 16.0postgresql1515.18-160000.1.1openSUSE-SU-2026:21103-1
openSUSELeap 16.0postgresql1616.14-160000.1.1openSUSE-SU-2026:21104-1
openSUSELeap 16.0postgresql1717.10-160000.1.1openSUSE-SU-2026:20970-1
openSUSETumbleweedpostgresql1414.23-1.1openSUSE-SU-2026:10806-1
openSUSETumbleweedpostgresql1515.18-1.1openSUSE-SU-2026:10807-1
openSUSETumbleweedpostgresql1616.14-1.1openSUSE-SU-2026:10808-1
openSUSETumbleweedpostgresql1717.10-1.1openSUSE-SU-2026:10809-1
openSUSETumbleweedpostgresql1818.4-1.1openSUSE-SU-2026:10828-1
AlmaLinux8libpq, libpq-devel13.23-2.el8_10ALSA-2026:27738
AlmaLinux8pg_repack1.4.6-3.module_el8.6.0+2760+1746ec94ALSA-2026:28208
AlmaLinux8pg_repack1.4.6-3.module_el8.6.0+3095+ee60d910ALSA-2026:28208
AlmaLinux8pg_repack1.4.6-3.module_el8.9.0+3704+f1f917ceALSA-2026:28999
AlmaLinux8pg_repack1.4.8-1.module_el8.9.0+3706+885c732eALSA-2026:26181
AlmaLinux8pg_repack1.5.1-1.module_el8.10.0+3930+ecf33554ALSA-2026:28143
AlmaLinux8pg_repack1.5.1-1.module_el8.10.0+4125+ceaf7d1bALSA-2026:28143
AlmaLinux8pg_repack1.5.1-1.module_el8.10.0+4199+bf03c564ALSA-2026:28143
AlmaLinux8pgaudit1.4.0-7.module_el8.10.0+3889+48cb11fb.alma.1ALSA-2026:28999
AlmaLinux8pgaudit1.4.0-7.module_el8.9.0+3740+0e74851f.alma.1ALSA-2026:28999
AlmaLinux8pgaudit1.5.0-1.module_el8.6.0+2760+1746ec94ALSA-2026:28208
AlmaLinux8pgaudit1.5.0-1.module_el8.6.0+3095+ee60d910ALSA-2026:28208
29 more for AlmaLinux in the JSON.
Rocky Linux8libpq0:13.23-2.el8_10RLSA-2026:27738
Rocky Linux8pg_repack0:1.4.6-3.module+el8.10.0+1862+29bef648RLSA-2026:28999
Rocky Linux8pg_repack0:1.4.6-3.module+el8.10.0+40055+b85d5ce2RLSA-2026:28999
Rocky Linux8pg_repack0:1.4.6-3.module+el8.9.0+1594+4a6adae9RLSA-2026:28999
Rocky Linux8pg_repack0:1.4.6-3.module+el8.9.0+1603+444d1b54RLSA-2026:28999
Rocky Linux8pg_repack0:1.4.8-1.module+el8.10.0+1622+bd25b19cRLSA-2026:26181
Rocky Linux8pg_repack0:1.4.8-1.module+el8.10.0+1858+fcc46a79RLSA-2026:26181
Rocky Linux8pg_repack0:1.4.8-1.module+el8.10.0+40056+df351139RLSA-2026:26181
Rocky Linux8pg_repack0:1.4.8-1.module+el8.9.0+1525+fc91df60RLSA-2026:26181
Rocky Linux8pg_repack0:1.5.1-1.module+el8.10.0+1900+d7340343RLSA-2026:28143
Rocky Linux8pg_repack0:1.5.1-1.module+el8.10.0+40057+c37a0e3dRLSA-2026:28143
Rocky Linux8pgaudit0:1.4.0-7.module+el8.9.0+1735+a332307bRLSA-2026:28999
30 more for Rocky Linux in the JSON.
Alpinev3.20, v3.21, v3.22postgresql1515.18-r0ALPINE-CVE-2026-6473
Alpinev3.20, v3.21, v3.22 and 2 morepostgresql1616.14-r0ALPINE-CVE-2026-6473
Alpinev3.21, v3.22, v3.23 and 1 morepostgresql1717.10-r0ALPINE-CVE-2026-6473
Alpinev3.23, v3.24postgresql1818.4-r0ALPINE-CVE-2026-6473
Azure Linux3postgresql16.14-1AZL-86822
Alpaquita23postgresql1515.18-r0BELL-CVE-2026-6473
Alpaquita25postgresql1717.10-r0BELL-CVE-2026-6473
Alpaquitastreampostgresql1818.4-r0BELL-CVE-2026-6473

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit this flaw, an attacker with minimal access to a database needs to pass extremely large inputs to vulnerable database functions, causing an integer overflow that leads to an out-of-bounds write. This flaw allows an attacker to potentially execute arbitrary code or, more likely, cause a denial of service.

Default Red Hat Enterprise Linux security features, including SELinux enforcement, Address Space Layout Randomization (ASLR) and NX (No-Execute) stack protection, significantly increase the difficulty of achieving arbitrary code execution, limiting the impact of this vulnerability.

Due to these reasons, this vulnerability has been rated with an important severity.

Red Hat's mitigation

To mitigate this vulnerability, validate the length of data and the size of objects on all client APIs and web interfaces. Also, block, drop, or truncate oversized string, array, or binary objects before they are passed into backend SQL queries.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10postgresql18-0:18.4-1.el10_2Fixed 2026-06-22RHSA-2026:27742
Red Hat Enterprise Linux 10postgresql16-0:16.14-1.el10_2Fixed 2026-06-22RHSA-2026:27743
Red Hat Enterprise Linux 10.0 Extended Update Supportpostgresql16-0:16.14-1.el10_0Fixed 2026-06-22RHSA-2026:27718
Red Hat Enterprise Linux 7 Extended Lifecycle Supportpostgresql-0:9.2.24-9.el7_9.6Fixed 2026-08-03RHSA-2026:49521
Red Hat Enterprise Linux 8postgresql:15-8100020260605152259.489197e6Fixed 2026-06-16RHSA-2026:26181
Red Hat Enterprise Linux 8libpq-0:13.23-2.el8_10Fixed 2026-06-22RHSA-2026:27738
Red Hat Enterprise Linux 8postgresql:16-8100020260530205218.489197e6Fixed 2026-06-23RHSA-2026:28143
Red Hat Enterprise Linux 8postgresql:13-8100020260605152256.489197e6Fixed 2026-06-23RHSA-2026:28208
Red Hat Enterprise Linux 8postgresql:12-8100020260605152253.489197e6Fixed 2026-06-24RHSA-2026:28999
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpostgresql:12-8040020260624104459.522a0ee4Fixed 2026-07-01RHSA-2026:34362
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpostgresql:13-8040020260630100922.522a0ee4Fixed 2026-07-01RHSA-2026:34363
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibpq-0:13.23-1.el8_4.1Fixed 2026-07-23RHSA-2026:44420
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onpostgresql:12-8040020260624104459.522a0ee4Fixed 2026-07-01RHSA-2026:34362
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onpostgresql:13-8040020260630100922.522a0ee4Fixed 2026-07-01RHSA-2026:34363
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onlibpq-0:13.23-1.el8_4.1Fixed 2026-07-23RHSA-2026:44420
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportpostgresql:12-8060020260623094704.ad008a3aFixed 2026-06-25RHSA-2026:29815
Red Hat Enterprise Linux 6postgresqlOut of support scope
Red Hat Enterprise Linux 8postgresqlNot affected
Red Hat Enterprise Linux 8postgresql-jdbcNot affected
Red Hat Hardened Imagespostgresql17Not affected
27 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-6473.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON