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.
CVSS
HIGH 7.1 · v4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWEAKNESSES
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/5b6abb5d11255320c3c0be221969826d4e78b664
- https://github.com/ossc-db/pg_hint_plan/commit/bab5ea41247b16b467144f981399f958e775aa33
- https://www.vulncheck.com/advisories/pg-hint-plan-through-1.9.0-uncontrolled-recursion-dos-via-leading-hint-parser
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.