Skip to content

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

HighCVSS 8.8 EPSS 1.0%
Published
Updated
Exploit status
No public exploit known

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 products

ProductAffected versionsFixed in
redhat enterprise linux < 0:18.4-1.el10_2 0:18.4-1.el10_2
redhat enterprise linux < 0:16.14-1.el10_2 0:16.14-1.el10_2
redhat enterprise linux eus < 0:16.14-1.el10_0 0:16.14-1.el10_0
redhat rhel els < 0:9.2.24-9.el7_9.6 0:9.2.24-9.el7_9.6
redhat enterprise linux < 8100020260605152259.489197e6 8100020260605152259.489197e6
redhat enterprise linux < 0:13.23-2.el8_10 0:13.23-2.el8_10
redhat enterprise linux < 8100020260530205218.489197e6 8100020260530205218.489197e6
redhat enterprise linux < 8100020260605152256.489197e6 8100020260605152256.489197e6
redhat enterprise linux < 8100020260605152253.489197e6 8100020260605152253.489197e6
redhat rhel aus < 8040020260624104459.522a0ee4 8040020260624104459.522a0ee4
redhat rhel aus < 8040020260630100922.522a0ee4 8040020260630100922.522a0ee4
redhat rhel aus < 0:13.23-1.el8_4.1 0:13.23-1.el8_4.1
redhat rhel eus long life < 8040020260624104459.522a0ee4 8040020260624104459.522a0ee4
redhat rhel eus long life < 8040020260630100922.522a0ee4 8040020260630100922.522a0ee4
redhat rhel eus long life < 0:13.23-1.el8_4.1 0:13.23-1.el8_4.1
redhat rhel aus < 8060020260623094704.ad008a3a 8060020260623094704.ad008a3a
redhat rhel aus < 8060020260625065744.ad008a3a 8060020260625065744.ad008a3a
redhat rhel eus long life < 8060020260623094704.ad008a3a 8060020260623094704.ad008a3a
redhat rhel eus long life < 8060020260625065744.ad008a3a 8060020260625065744.ad008a3a
redhat rhel tus < 8080020260615085052.63b34585 8080020260615085052.63b34585
redhat rhel tus < 8080020260626093604.63b34585 8080020260626093604.63b34585
redhat rhel tus < 0:13.23-1.el8_8.1 0:13.23-1.el8_8.1
redhat rhel tus < 8080020260709122729.63b34585 8080020260709122729.63b34585
redhat rhel e4s < 8080020260615085052.63b34585 8080020260615085052.63b34585
redhat rhel e4s < 8080020260626093604.63b34585 8080020260626093604.63b34585
Show 138 more
ProductAffected versionsFixed in
redhat rhel e4s < 0:13.23-1.el8_8.1 0:13.23-1.el8_8.1
redhat rhel e4s < 8080020260709122729.63b34585 8080020260709122729.63b34585
redhat enterprise linux < 9080020260605131007.rhel9 9080020260605131007.rhel9
redhat enterprise linux < 9080020260605125734.rhel9 9080020260605125734.rhel9
redhat enterprise linux < 0:13.23-3.el9_8 0:13.23-3.el9_8
redhat enterprise linux < 9080020260605124405.rhel9 9080020260605124405.rhel9
redhat rhel e4s < 0:13.23-1.el9_2.2 0:13.23-1.el9_2.2
redhat rhel e4s < 9020020260625101129.rhel9 9020020260625101129.rhel9
redhat rhel e4s < 9040020260612132455.rhel9 9040020260612132455.rhel9
redhat rhel e4s < 0:13.23-1.el9_4.2 0:13.23-1.el9_4.2
redhat rhel e4s < 9040020260616071806.rhel9 9040020260616071806.rhel9
redhat rhel eus < 9060020260612084605.rhel9 9060020260612084605.rhel9
redhat rhel eus < 0:13.23-1.el9_6.2 0:13.23-1.el9_6.2
redhat rhel eus < 9060020260622062902.rhel9 9060020260622062902.rhel9
redhat ansible portal < 1784804630 1784804630
redhat hummingbird < 18.4-0.1.hum1 18.4-0.1.hum1
redhat rhui < 1784795076 1784795076
redhat rhui < 1787241260 1787241260
redhat enterprise linux = 6 No fix listed
redhat enterprise linux = 8 No fix listed
redhat hummingbird = 1 No fix listed
redhat/postgresql18(Red Hat:enterprise_linux:10.2) < 18.4-1.el10_2 18.4-1.el10_2
redhat/postgresql16(Red Hat:enterprise_linux:10.2) < 16.14-1.el10_2 16.14-1.el10_2
redhat/postgresql16(Red Hat:enterprise_linux_eus:10.0) < 16.14-1.el10_0 16.14-1.el10_0
redhat/postgresql(Red Hat:rhel_els:7) < 9.2.24-9.el7_9.6 9.2.24-9.el7_9.6
redhat/postgresql:15-8100020260605152259.489197e6(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/libpq(Red Hat:enterprise_linux:8) < 13.23-2.el8_10 13.23-2.el8_10
redhat/postgresql:16-8100020260530205218.489197e6(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/postgresql:13-8100020260605152256.489197e6(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/postgresql:12-8100020260605152253.489197e6(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/postgresql:12-8040020260624104459.522a0ee4(Red Hat:rhel_aus:8.4) All versions No fix listed
redhat/postgresql:13-8040020260630100922.522a0ee4(Red Hat:rhel_aus:8.4) All versions No fix listed
redhat/libpq(Red Hat:rhel_aus:8.4) < 13.23-1.el8_4.1 13.23-1.el8_4.1
redhat/postgresql:12-8040020260624104459.522a0ee4(Red Hat:rhel_eus_long_life:8.4) All versions No fix listed
redhat/postgresql:13-8040020260630100922.522a0ee4(Red Hat:rhel_eus_long_life:8.4) All versions No fix listed
redhat/libpq(Red Hat:rhel_eus_long_life:8.4) < 13.23-1.el8_4.1 13.23-1.el8_4.1
redhat/postgresql:12-8060020260623094704.ad008a3a(Red Hat:rhel_aus:8.6) All versions No fix listed
redhat/postgresql:13-8060020260625065744.ad008a3a(Red Hat:rhel_aus:8.6) All versions No fix listed
redhat/postgresql:12-8060020260623094704.ad008a3a(Red Hat:rhel_eus_long_life:8.6) All versions No fix listed
redhat/postgresql:13-8060020260625065744.ad008a3a(Red Hat:rhel_eus_long_life:8.6) All versions No fix listed
redhat/postgresql:15-8080020260615085052.63b34585(Red Hat:rhel_tus:8.8) All versions No fix listed
redhat/postgresql:12-8080020260626093604.63b34585(Red Hat:rhel_tus:8.8) All versions No fix listed
redhat/libpq(Red Hat:rhel_tus:8.8) < 13.23-1.el8_8.1 13.23-1.el8_8.1
redhat/postgresql:13-8080020260709122729.63b34585(Red Hat:rhel_tus:8.8) All versions No fix listed
redhat/postgresql:15-8080020260615085052.63b34585(Red Hat:rhel_e4s:8.8) All versions No fix listed
redhat/postgresql:12-8080020260626093604.63b34585(Red Hat:rhel_e4s:8.8) All versions No fix listed
redhat/libpq(Red Hat:rhel_e4s:8.8) < 13.23-1.el8_8.1 13.23-1.el8_8.1
redhat/postgresql:13-8080020260709122729.63b34585(Red Hat:rhel_e4s:8.8) All versions No fix listed
redhat/postgresql:16-9080020260605131007.rhel9(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/postgresql:18-9080020260605125734.rhel9(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/postgresql(Red Hat:enterprise_linux:9) < 13.23-3.el9_8 13.23-3.el9_8
redhat/postgresql:15-9080020260605124405.rhel9(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/postgresql(Red Hat:rhel_e4s:9.2) < 13.23-1.el9_2.2 13.23-1.el9_2.2
redhat/postgresql:15-9020020260625101129.rhel9(Red Hat:rhel_e4s:9.2) All versions No fix listed
redhat/postgresql:16-9040020260612132455.rhel9(Red Hat:rhel_e4s:9.4) All versions No fix listed
redhat/postgresql(Red Hat:rhel_e4s:9.4) < 13.23-1.el9_4.2 13.23-1.el9_4.2
redhat/postgresql:15-9040020260616071806.rhel9(Red Hat:rhel_e4s:9.4) All versions No fix listed
redhat/postgresql:16-9060020260612084605.rhel9(Red Hat:rhel_eus:9.6) All versions No fix listed
redhat/postgresql(Red Hat:rhel_eus:9.6) < 13.23-1.el9_6.2 13.23-1.el9_6.2
redhat/postgresql:15-9060020260622062902.rhel9(Red Hat:rhel_eus:9.6) All versions No fix listed
redhat/ansible-automation-platform/bootc-automation-portal-rhel9:1784804630(Red Hat:ansible_portal:2.2::el9) All versions No fix listed
redhat/postgresql18-main(Red Hat:hummingbird:1) < 18.4-0.1.hum1 18.4-0.1.hum1
redhat/rhui5/rhua-rhel9:1784795076(Red Hat:rhui:5::el9) All versions No fix listed
redhat/rhui5/rhua-tp-rhel9:1787241260(Red Hat:rhui:5::el9) All versions No fix listed
redhat/postgresql(Red Hat:rhel_els:6) All versions No fix listed
ubuntu/postgresql-14(Ubuntu:22.04) < 14.23-0ubuntu0.22.04.1 14.23-0ubuntu0.22.04.1
alpine/postgresql15(Alpine:v3.20) < 15.18-r0 15.18-r0
alpine/postgresql15(Alpine:v3.21) < 15.18-r0 15.18-r0
alpine/postgresql15(Alpine:v3.22) < 15.18-r0 15.18-r0
alpine/postgresql16(Alpine:v3.20) < 16.14-r0 16.14-r0
alpine/postgresql16(Alpine:v3.21) < 16.14-r0 16.14-r0
alpine/postgresql16(Alpine:v3.22) < 16.14-r0 16.14-r0
alpine/postgresql16(Alpine:v3.23) < 16.14-r0 16.14-r0
alpine/postgresql16(Alpine:v3.24) < 16.14-r0 16.14-r0
alpine/postgresql17(Alpine:v3.21) < 17.10-r0 17.10-r0
alpine/postgresql17(Alpine:v3.22) < 17.10-r0 17.10-r0
alpine/postgresql17(Alpine:v3.23) < 17.10-r0 17.10-r0
alpine/postgresql17(Alpine:v3.24) < 17.10-r0 17.10-r0
alpine/postgresql18(Alpine:v3.23) < 18.4-r0 18.4-r0
alpine/postgresql18(Alpine:v3.24) < 18.4-r0 18.4-r0
ubuntu/postgresql-16(Ubuntu:24.04) < 16.14-0ubuntu0.24.04.1 16.14-0ubuntu0.24.04.1
ubuntu/postgresql-18(Ubuntu:26.04) < 18.4-0ubuntu0.26.04.1 18.4-0ubuntu0.26.04.1
postgresql < 14.23 14.23
postgresql >= 15.0, < 15.18 15.18
postgresql >= 16.0, < 16.14 16.14
postgresql >= 17.0, < 17.10 17.10
postgresql >= 18.0, < 18.4 18.4
debian/postgresql-15(Debian:12) < 15.19-0+deb12u1 15.19-0+deb12u1
debian/postgresql-15(Debian:12) = 15.10-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.11-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.12-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.12-0+deb12u2 No fix listed
debian/postgresql-15(Debian:12) = 15.13-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.14-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.15-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.16-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.17-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.18-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.3-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.3-1 No fix listed
debian/postgresql-15(Debian:12) = 15.4-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.4-1 No fix listed
debian/postgresql-15(Debian:12) = 15.4-2 No fix listed
debian/postgresql-15(Debian:12) = 15.4-3 No fix listed
debian/postgresql-15(Debian:12) = 15.5-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.6-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.7-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.8-0+deb12u1 No fix listed
debian/postgresql-15(Debian:12) = 15.9-0+deb12u1 No fix listed
debian/postgresql-17(Debian:13) < 17.11-0+deb13u1 17.11-0+deb13u1
debian/postgresql-17(Debian:13) = 17.10-0+deb13u1 No fix listed
debian/postgresql-17(Debian:13) = 17.5-1 No fix listed
debian/postgresql-17(Debian:13) = 17.6-0+deb13u1 No fix listed
debian/postgresql-17(Debian:13) = 17.6-1 No fix listed
debian/postgresql-17(Debian:13) = 17.7-0+deb13u1 No fix listed
debian/postgresql-17(Debian:13) = 17.8-0+deb13u1 No fix listed
debian/postgresql-17(Debian:13) = 17.9-0+deb13u1 No fix listed
debian/postgresql-18(Debian:14) < 18.4-1 18.4-1
debian/postgresql-18(Debian:14) = 18.0-1 No fix listed
debian/postgresql-18(Debian:14) = 18.1-1 No fix listed
debian/postgresql-18(Debian:14) = 18.1-2 No fix listed
debian/postgresql-18(Debian:14) = 18.2-1 No fix listed
debian/postgresql-18(Debian:14) = 18.3-1 No fix listed
debian/postgresql-18(Debian:14) = 18~beta1+20250612-1 No fix listed
debian/postgresql-18(Debian:14) = 18~beta1+20250624-1 No fix listed
debian/postgresql-18(Debian:14) = 18~beta1+20250701-1 No fix listed
debian/postgresql-18(Debian:14) = 18~beta1-1 No fix listed
debian/postgresql-18(Debian:14) = 18~beta2-1 No fix listed
debian/postgresql-18(Debian:14) = 18~beta3-1 No fix listed
debian/postgresql-18(Debian:14) = 18~rc1-1 No fix listed
debian/postgresql-18(Debian:14) = 18~rc1-2 No fix listed
debian/postgresql-18(Debian:14) = 18~rc1-3 No fix listed
debian/postgresql-18(Debian:14) = 18~~devel.20250318+g4078da6c478-1 No fix listed
debian/postgresql-18(Debian:14) = 18~~devel.20250331-1 No fix listed
debian/postgresql-18(Debian:14) = 18~~devel.20250405-1 No fix listed
debian/postgresql-18(Debian:14) = 18~~devel.20250421-1 No fix listed
debian/postgresql-18(Debian:14) = 18~~devel.20250502-1 No fix listed
azure linux postgresql(Azure Linux:3.0) < 16.14-1 16.14-1

References