pg_hint_plan through 1.9.0 Uncontrolled Recursion DoS via Leading Hint Parser
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.