# CVE-2026-6575: PostgreSQL pg_restore_attribute_stats accepts values that cause query planning to read past end of stats array

- Severity: Medium 4.3 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-02)
- Published: 2026-05-14T13:00:14.542Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: BIT-POSTGRESQL-2026-6575
- Weaknesses: CWE-126
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PostgreSQL

## Description

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.

(As written by CVE List.)

## Affected

- PostgreSQL: from 18 before 18.4
- postgresql postgresql: from 18.0 before 18.4
- postgresql (Bitnami): from 18.0.0 before 18.4.0

## Every score

- PostgreSQL: 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`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://www.postgresql.org/support/security/CVE-2026-6575/> (advisory, patch, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6575> (web)

## Sources

- CVE List: [CVE-2026-6575](https://www.cve.org/CVERecord?id=CVE-2026-6575), CVE Terms of Use, modified 2026-05-14
- NVD: [CVE-2026-6575](https://nvd.nist.gov/vuln/detail/CVE-2026-6575), Public domain, modified 2026-11-11
- Bitnami Vulnerability Database: [BIT-POSTGRESQL-2026-6575](https://osv.dev/vulnerability/BIT-POSTGRESQL-2026-6575), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-6575 · Whole record: https://cve.day/CVE-2026-6575.json · Rebuilt by cve.day 2026-11-25T22:59:21.706Z
