PostgreSQL pg_restore_attribute_stats accepts values that cause query planning to read past end of stats array
En bref
Sévérité
MEDIUM 4.3
EPSS
EPSS 0.21 % · centile 11 (2026-10-27)
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
PostgreSQL
Statut NVD
Analyzed
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.