CVE-2026-144601: pg_hint_plan through 1.9.0 Uncontrolled Recursion DoS via Leading Hint Parser
pghintplan through 1.9.0 contains an uncontrolled recursion vulnerability in parseparenthesesLeadingin 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.
Affected Software
Event History
Frequently Asked Questions
Who can trigger the denial of service?
Any database user can trigger it by submitting a query containing a specially crafted Leading hint. The attack does not require user interaction.
What input is required to exploit the issue?
The attacker needs to submit a query comment with a Leading hint containing hundreds of thousands of nested parentheses. Parsing this input can exhaust the backend C stack and crash the server.
What is the operational impact of a successful attack?
A successful exploit can force a cluster-wide restart. The provided information identifies availability impact only; it does not indicate confidentiality or integrity impact.