Bug 2590954 (CVE-2026-145145) - CVE-2026-145145 hibernate-hql-parser: hibernate-hql-parser: Uncontrolled recursion in HQLParser leads to StackOverflowError
Summary: CVE-2026-145145 hibernate-hql-parser: hibernate-hql-parser: Uncontrolled recu...
Keywords:
Status: NEW
Alias: CVE-2026-145145
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-04 15:23 UTC by OSIDB Bzimport
Modified: 2026-12-04 15:24 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-04 15:23:39 UTC
A vulnerability was found in the ANTLR3-based HQLParser within the hibernate-hql-parser library. The parser walks the predicate and expression precedence chain recursively without implementing a depth counter or limit. By submitting a specially crafted HQL query string containing deeply nested parenthesized predicates, a remote attacker can trigger uncontrolled recursion. This results in a java.lang.StackOverflowError, causing the parsing process to fail and potentially exhausting resources for the affected thread.


Note You need to log in before you can comment on or make changes to this bug.