All reports
Medium

postgresql: PostgreSQL: Information disclosure via buffer over-read in pg_restore_attribute_stats()

Affected versions

Exploitation

CVE-2026-6575

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-23

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.

A flaw was found in PostgreSQL. This buffer over-read vulnerability in the pg_restore_attribute_stats() function allows a table maintainer to infer memory values. By providing array values of unmatched length, a malicious table maintainer can cause query planning to read past the end of an array, leading to information disclosure.