# CVE-2026-144601: pg_hint_plan through 1.9.0 Uncontrolled Recursion DoS via Leading Hint Parser

Source: https://aplosec.si/cve/CVE-2026-144601/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-144601

High 7.1 · Reported · No fix listed · CWE-674 · Server

# pg_hint_plan through 1.9.0 Uncontrolled Recursion DoS via Leading Hint Parser

CVE-2026-144601 · published 2026-12-04

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). No fixed release is listed yet.

## Summary

CVE-2026-144601 affects pg_hint_plan (Server) <= 1.9.0: Uncontrolled Recursion DoS via Leading Hint Parser (CWE-674). No fixed release is listed. CVSS 4.0 base score 7.1 (High), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/pg-hint-plan-through-1.9.0-uncontrolled-recursion-dos-via-leading-hint-parser](https://www.vulncheck.com/advisories/pg-hint-plan-through-1.9.0-uncontrolled-recursion-dos-via-leading-hint-parser)

- [Fix commithttps://github.com/ossc-db/pg_hint_plan/commit/bab5ea41247b16b467144f981399f958e775aa33](https://github.com/ossc-db/pg_hint_plan/commit/bab5ea41247b16b467144f981399f958e775aa33)

- [Fix commithttps://github.com/ossc-db/pg_hint_plan/commit/5b6abb5d11255320c3c0be221969826d4e78b664](https://github.com/ossc-db/pg_hint_plan/commit/5b6abb5d11255320c3c0be221969826d4e78b664)

- [Vulnerable codehttps://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/blob/REL18_1_8_1/pg_hint_plan.c#L1739-L1782)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144601](https://www.cve.org/CVERecord?id=CVE-2026-144601)

**Severity:** High 7.1 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-144601)

**Package:** pg_hint_plan

**Ecosystem:** Server

**Affected:** <= 1.9.0

**Fixed:** None

**Weakness:** CWE-674

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
