Fedora Account System
Red Hat Associate
Red Hat Customer
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.