CVE-2026-59339
Received Received - Intake

Stack Overflow in FilterExpressionTextParser

Vulnerability report for CVE-2026-59339, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VMware

Description

FilterExpressionTextParser, the vector store filter expression parser, is vulnerable to a denial of service when parsing untrusted filter expressions. The parser is a recursive-descent ANTLR4 parser with no limit on nesting depth, and parse() only catches ParseCancellationException . A filter expression containing deeply nested parentheses drives the parser into unbounded recursion, exhausting the calling thread's stack and terminating it with an uncaught StackOverflowError . Applications that accept filter expressions from untrusted input, such as runtime filter expressions supplied via QuestionAnswerAdvisor.FILTER_EXPRESSION or SearchRequest.withFilterExpression() in retrieval-augmented generation pipelines, are impacted. Repeated submissions against a bounded worker pool can degrade or deny service to all users, even though any single crash is thread-local rather than JVM-wide.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-02
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 8 associated CPEs
Vendor Product Version / Range
vmware filterexpressiontextparser *
spring ai to 2.0.2 (inc)
spring ai to 1.1.9 (inc)
spring ai to 1.0.10 (inc)
spring ai 2.0.3
spring ai 2.0.2.1
spring ai 1.1.10
spring ai 1.0.11

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a denial-of-service vulnerability in the FilterExpressionTextParser component of Spring AI. It occurs when the parser processes untrusted filter expressions with deeply nested parentheses. The parser uses a recursive-descent ANTLR4 approach without nesting depth limits, causing unbounded recursion that exhausts the thread's stack and crashes with a StackOverflowError.

Detection Guidance

Monitor for StackOverflowError exceptions in logs when processing filter expressions. Check for unusually high CPU or memory usage in threads handling filter parsing. Look for repeated crashes in applications using FilterExpressionTextParser with deeply nested parentheses.

Impact Analysis

Applications accepting filter expressions from untrusted sources are impacted. A single attack can crash a thread, while repeated attacks against a bounded worker pool can degrade or deny service to all users. The vulnerability affects Spring AI versions 2.0.0-2.0.2, 1.1.0-1.1.9, and 1.0.0-1.0.10.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR or HIPAA. It primarily causes denial-of-service by crashing applications through stack overflow errors when parsing deeply nested filter expressions. Compliance impacts would only occur if service disruption affects data processing or availability required by these regulations.

Mitigation Strategies

Upgrade to fixed versions: Spring AI 2.0.3 (OSS), 2.0.2.1 (Enterprise), 1.1.10 (Enterprise), or 1.0.11 (Enterprise). Validate filter expressions for excessive nesting depth before processing.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59339. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...