Read the docs

Uncontrolled recursion in pg_hint_plan lets any user crash server

Priority LOW 33CWE-674Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-674.

Summary

The pg_hint_plan extension by ossc-db through 1.9.0 contains uncontrolled recursion (CWE-674) in its Leading hint parser, which recurses without a limit and exhausts the backend C stack. Any database user with low privileges over the network can crash the server with deeply nested hints, which forces a cluster-wide restart.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00923 61st percentileScored 2026-12-04
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ossc-dbpg_hint_planup to 1.9.0—No fix listedCNA
  • pg_hint_plan Vendorossc-db Affected up to 1.9.0 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for pg_hint_plan.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-144601
  2. 2026-12-04 Alias added: GHSA-q94x-242r-ppvf
  3. 2026-12-04 CISA SSVC decision points changed

References

Sources