pg_hint_plan through 1.9.0 Uncontrolled Recursion DoS via Leading Hint Parser
- CVE-2026-144601
- GHSA-q94x-242r-ppvf
- EUVD-2026-143846
Summary
CVE-2026-144601 affects pg_hint_plan through version 1.9.0. The parse_parentheses_Leading_in function recurses without limit, so any database user can submit a query comment containing a Leading hint with hundreds of thousands of nested parentheses. This exhausts the backend C stack and crashes the server, forcing a cluster-wide restart. The advisory gives a CVSS score of 6.5 and states the issue is not in the CISA known exploited list. Engineers responsible for PostgreSQL deployments that use pg_hint_plan should review whether they run affected versions and plan to patch or restrict hint usage.
AI summary · verify against the vendor advisory
Description
pg_hint_plan through 1.9.0 contains an uncontrolled recursion vulnerability in parse_parentheses_Leading_in that allows any database user to crash the server via deeply nested hints. Attackers can submit a query comment with a Leading hint containing hundreds of thousands of nested parentheses, exhausting the backend C stack and forcing a cluster-wide restart.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
ossc-db pg_hint_plan
Affected versions Fixed in up to 1.9.0 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.