A buffer over-read vulnerability exists in PostgreSQL parallel B-tree scans that allows an object creator to read server memory addresses chosen by an attacker. This occurs due to a function incorrectly marked as PARALLEL SAFE or STABLE, causing different scan-key arrays to be built by participating workers. The issue affects PostgreSQL major versions 17 and 18, specifically versions before 17.12.0 and 18.7.0. Versions prior to 17 are not affected. A fix is available in PostgreSQL 17.12.0 and 18.7.0.