pg_hint_plan through 1.9.0 contains an uncontrolled recursion vulnerability in parse_parentheses_Leading_in that
Source GCVE Database
Not known to be exploited · CVSS 7.1 High.
Data as of 4 Dec 2026, 04:32 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.5 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ossc-dbpg_hint_plan | Affected
| Fixed in– |
GitHubpg_hint_planpkg:github/pg_hint_planOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, restrict database user permissions to trusted users and monitor for suspicious queries with deeply nested hints to reduce risk.
Description
pg_hint_plan versions through 1.9.0 have an uncontrolled recursion vulnerability in the parse_parentheses_Leading_in function. This flaw allows any database user to crash the server by submitting a query comment with a Leading hint containing deeply nested parentheses. The excessive recursion exhausts the backend C stack, causing a cluster-wide restart.
References
- nvd.nist.gov/vuln/detail/CVE-2026-144601 (opens in a new tab)
- github.com/ossc-db/pg_hint_plan/commit/5b6abb5d11255320c3c0be221969826d4e78b664 (opens in a new tab)
- github.com/ossc-db/pg_hint_plan/commit/bab5ea41247b16b467144f981399f958e775aa33 (opens in a new tab)
- github.com/ossc-db/pg_hint_plan/blob/REL18_1_8_1/pg_hint_plan.c (opens in a new tab)
- vulncheck.com/advisories/pg-hint-plan-through-1.9.0-uncontrolled-recursion-dos-via-leading-hint-parser (opens in a new tab)