cve.bz

CVE-2026-6575 postgresql postgresql: Buffer Over-read

4.3 mediumEPSS 0.3%Fix available

Medium (4.3) in postgresql postgresql. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
Buffer over-read in PostgreSQL function pg_restore_attribute_stats() accepts array values of unmatched length, which causes query planning to read past end of one array. This allows a table maintainer to infer memory values past that array end. Within major version 18, minor versions before PostgreSQL 18.4 are affected. Versions before PostgreSQL 18 are unaffected.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.3% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-29. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, 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-126 Buffer Over-read
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-6575 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6575?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6575?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-6575 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:postgresqlfrom 18.0 before 18.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14postgresql-1818.4-1DEBIAN-CVE-2026-6575
Ubuntu20.04:LTSpostgresql-12no fix listedUBUNTU-CVE-2026-6575
Ubuntu22.04:LTSpostgresql-1414.23-0ubuntu0.22.04.1UBUNTU-CVE-2026-6575 USN-8294-1
Ubuntu24.04:LTSpostgresql-1616.14-0ubuntu0.24.04.1UBUNTU-CVE-2026-6575 USN-8294-1
Ubuntu25.10postgresql-1717.10-0ubuntu0.25.10.1UBUNTU-CVE-2026-6575 USN-8294-1
Ubuntu26.04:LTSpostgresql-1818.4-0ubuntu0.26.04.1UBUNTU-CVE-2026-6575 USN-8294-1
UbuntuPro:14.04:LTSpostgresql-9.3no fix listedUBUNTU-CVE-2026-6575
UbuntuPro:16.04:LTSpostgresql-9.5no fix listedUBUNTU-CVE-2026-6575
UbuntuPro:18.04:LTSpostgresql-10no fix listedUBUNTU-CVE-2026-6575
Red Hatenterprise_linux:9::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.5.3-1.module+el9.8.0+23739+1c42644cRHSA-2026:26204
Red Hatenterprise_linux:9::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:18.0-1.module+el9.8.0+23739+1c42644cRHSA-2026:26204
Red Hatenterprise_linux:9::appstreampgvector, pgvector-debuginfo, pgvector-debugsource0:0.8.1-1.module+el9.8.0+23739+1c42644cRHSA-2026:26204
Red Hatenterprise_linux:9::appstreampostgis, postgis-docs, postgis-utils and 6 more0:3.6.1-2.module+el9.8.0+23739+1c42644cRHSA-2026:26204
Red Hatenterprise_linux:9::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:3.3.1-1.Final.module+el9.8.0+23739+1c42644cRHSA-2026:26204
Red Hatenterprise_linux:9::appstreampostgresql, postgresql-docs, postgresql-test and 25 more0:18.4-2.module+el9.8.0+24359+da7fad50RHSA-2026:26204
Red Hatenterprise_linux:10.2postgresql18, postgresql18-docs, postgresql18-test and 24 more0:18.4-1.el10_2RHSA-2026:27742
Red Hathummingbird:1postgresql, postgresql18, postgresql-docs and 12 more0:18.4-0.1.hum1RHSA-2026:22878
Red Hathummingbird:1postgresql17, postgresql17-docs, postgresql17-test and 12 more0:17.10-0.1.hum1RHSA-2026:21182
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0postgresql1818.4-160000.1.1SUSE-SU-2026:22077-1
openSUSETumbleweedpostgresql1818.4-1.1openSUSE-SU-2026:10828-1
AlmaLinux9pg_repack1.5.3-1.module_el9.8.0+234+5456f35dALSA-2026:26204
AlmaLinux9pgaudit18.0-1.module_el9.8.0+234+5456f35dALSA-2026:26204
AlmaLinux9pgvector0.8.1-1.module_el9.8.0+234+5456f35dALSA-2026:26204
AlmaLinux9postgis, postgis-docs, postgis-utils and 2 more3.6.1-2.module_el9.8.0+239+6fb51d38ALSA-2026:26204
AlmaLinux9postgres-decoderbufs3.3.1-1.Final.module_el9.8.0+234+5456f35dALSA-2026:26204
AlmaLinux9postgresql, postgresql-docs, postgresql-test and 12 more18.4-2.module_el9.8.0+280+5ad12178ALSA-2026:26204
AlmaLinux10postgresql18-test-rpm-macros18.4-1.el10_2ALSA-2026:27742
Alpinev3.23, v3.24postgresql1818.4-r0ALPINE-CVE-2026-6575
Alpaquitastreampostgresql1818.4-r0BELL-CVE-2026-6575

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; the Alpine secdb, CC BY-SA 4.0; 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 Moderate.

Red Hat's mitigation

To mitigate this information disclosure vulnerability, restrict network access to the PostgreSQL server to only trusted clients. Configure firewall rules to limit inbound connections to the PostgreSQL port (default 5432) from authorized hosts only. For example, using `firewall-cmd` on Red Hat Enterprise Linux:

`sudo firewall-cmd --permanent --add-source=<TRUSTED_IP_ADDRESS>/32 --zone=public`

`sudo firewall-cmd --permanent --add-port=5432/tcp --zone=public`

`sudo firewall-cmd --reload`

Alternatively, configure PostgreSQL to listen only on the localhost interface by setting `listen_addresses = 'localhost'` in `postgresql.conf` and restarting the PostgreSQL service.

`sudo systemctl restart postgresql`

This reduces the attack surface by preventing unauthorized network access to the database. Note that restarting the PostgreSQL service will temporarily interrupt database operations.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10postgresql18-0:18.4-1.el10_2Fixed 2026-06-22RHSA-2026:27742
Red Hat Enterprise Linux 9postgresql:18-9080020260605125734.rhel9Fixed 2026-06-16RHSA-2026:26204
Red Hat Hardened Imagespostgresql17-main-17.10-0.1.hum1Fixed 2026-05-26RHSA-2026:21182
Red Hat Hardened Imagespostgresql18-main-18.4-0.1.hum1Fixed 2026-06-03RHSA-2026:22878
Red Hat Enterprise Linux 10postgresql16Not affected
Red Hat Enterprise Linux 6postgresqlNot affected
Red Hat Enterprise Linux 7postgresqlNot affected
Red Hat Enterprise Linux 8libpqNot affected
Red Hat Enterprise Linux 8postgresqlNot affected
Red Hat Enterprise Linux 8postgresql-jdbcNot affected
Red Hat Enterprise Linux 9postgresqlNot affected
Red Hat Enterprise Linux 9postgresql:15/postgresqlNot affected
Red Hat Enterprise Linux 9postgresql:16/postgresqlNot affected
Self-service automation portal 2ansible-automation-platform/bootc-automation-portal-rhel9Fix deferred

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-6575.

References

Check your stackJSON