CVE-2026-6575 PostgreSQL pg_restore_attribute_stats accepts values that cause query planning to read past end of stats array
MediumCVSS 4.3
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/postgresql18(Red Hat:enterprise_linux:10.2) | < 18.4-1.el10_2 | 18.4-1.el10_2 |
| redhat/postgresql:18-9080020260605125734.rhel9(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/postgresql17-main(Red Hat:hummingbird:1) | < 17.10-0.1.hum1 | 17.10-0.1.hum1 |
| redhat/postgresql18-main(Red Hat:hummingbird:1) | < 18.4-0.1.hum1 | 18.4-0.1.hum1 |
| redhat/ansible-automation-platform/bootc-automation-portal-rhel9(Red Hat:ansible_portal:2) | All versions | No fix listed |
| ubuntu/postgresql-14(Ubuntu:22.04) | < 14.23-0ubuntu0.22.04.1 | 14.23-0ubuntu0.22.04.1 |
| 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 | >= 18.0, < 18.4 | 18.4 |
| 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 |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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 |
References
- www.postgresql.org patch vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:27742 patch vendor-advisory
- RHSA-2026:26204 patch vendor-advisory
- RHSA-2026:21182 patch vendor-advisory
- RHSA-2026:22878 patch vendor-advisory
- Red Hat Bugzilla 2477440 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-6575 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8294-1 vendor-advisory
- security.alpinelinux.org vendor-advisory