CVE-2026-144601
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ossc-db | pg_hint_plan | {"endIncluding":"1.9.0"} | |
References
- https://github.com/ossc-db/pg_hint_plan/blob/REL18_1_8_1/pg_hint_plan.c#L1739-L1782
- https://github.com/ossc-db/pg_hint_plan/commit/bab5ea41247b16b467144f981399f958e775aa33
- https://github.com/ossc-db/pg_hint_plan/commit/5b6abb5d11255320c3c0be221969826d4e78b664
- https://www.vulncheck.com/advisories/pg-hint-plan-through-1.9.0-uncontrolled-recursion-dos-via-leading-hint-parser
CWEs
CWE-674
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.