CVE-2023-33546
Description
Janino 3.1.9 and earlier are vulnerable to denial of service via stack overflow when evaluating untrusted user input.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Janino 3.1.9 and earlier are vulnerable to denial of service via stack overflow when evaluating untrusted user input.
Root
Cause
Janino versions 3.1.9 and earlier contain a denial-of-service vulnerability triggered through the expression evaluator's guessParameterName method. When the parser processes deeply nested or crafted input, it can exhaust the call stack, leading to a StackOverflowError and application crash. The stack trace shows recursive parsing in methods like parsePrimary, parseUnaryExpression, and others, confirming the recursive descent parser's lack of depth limits [2].
Exploitation
An attacker can cause a denial-of-service by supplying specially crafted Java expression input to an application that uses Janino's expression evaluator to parse user-supplied content. No authentication is required if the vulnerable component is exposed to untrusted users, but the attack is dependent on the parser being invoked with attacker-controlled data [1][3].
Impact
Successful exploitation results in a denial of service due to a stack overflow, causing the Java process to terminate or become unresponsive. The vulnerability does not allow code execution or data exfiltration, but can be used to disrupt availability of services relying on Janino for expression evaluation [3].
Mitigation
As of Janino 3.1.9, no patch has been released to fix this issue. The project maintainers and multiple parties dispute the vulnerability, noting that Janino is not designed for use with untrusted input [1][3]. Organizations should avoid exposing the expression evaluator to user-supplied content. If untrusted input must be processed, input sanitization, depth limiting, or sandboxing should be implemented as a workaround [3][4].
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.codehaus.janino:janino-parentMaven | <= 3.1.9 | — |
Affected products
4- Janino/Janinodescription
- ghsa-coords3 versionspkg:maven/org.codehaus.janino/janino-parentpkg:rpm/opensuse/janino&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/janino&distro=openSUSE%20Leap%2015.5
<= 3.1.9+ 2 more
- (no CPE)range: <= 3.1.9
- (no CPE)range: < 3.1.10-150200.3.7.1
- (no CPE)range: < 3.1.10-150200.3.7.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4News mentions
0No linked articles in our index yet.