CVE-2026-95533

Denial of Service
Affects
jetty-util-ajax
in
Jetty
No items found.
Versions
>=9.4.0 <=9.4.65, >=10.0.0 <=10.0.33, >=11.0.0 <=11.0.33, >=12.0.0 <=12.0.39, >=12.1.0 <=12.1.13

Patch Available.

Exclamation circle icon
Patch Available

This Vulnerability has been fixed in the Never-Ending Support (NES) version offered by HeroDevs.

Overview

Eclipse Jetty is a widely used, embeddable Java web server and servlet container. It supports HTTP/1.1, HTTP/2, HTTP/3, and WebSocket, and is commonly deployed both as a standalone server and embedded within Java application runtimes and frameworks. Its jetty-util-ajax module provides JSON utilities, including the JSON parser and generator and the non-blocking AsyncJSON parser, which convert JSON text into Java maps, arrays, and values.

A denial of service vulnerability (CVE-2026-95533) has been identified in the jetty-util-ajax package, which allows attackers to crash the parsing thread with a StackOverflowError by supplying JSON with a very deep nesting of objects or arrays. The parsers place no limit on nesting depth, so a document made of repeated opening brackets can exhaust the thread stack of any application that parses untrusted JSON with these utilities.

Per OWASP: The Denial of Service (DoS) attack is focused on making a resource (site, application, server) unavailable for the purpose it was designed.

This issue affects multiple versions of Eclipse Jetty.

Details

Module Info

Vulnerability Info

This High-severity vulnerability is found in the jetty-util-ajax package in multiple versions of Eclipse Jetty.

org.eclipse.jetty.util.ajax.JSON is a recursive descent parser. JSON.parse(Source) dispatches on the next character, and an opening brace or bracket hands off to parseObject or parseArray. Those methods parse each member or element by calling parse(Source) again, so every level of nesting in the input adds another set of frames to the Java call stack:

public Object parse(Source source)
{
    ...
                switch (c)
                {
                    case '{':
                        return parseObject(source);
                    case '[':
                        return parseArray(source);
    ...
}

protected Object parseObject(Source source)
{
    ...
        Object value = contextFor(name).parse(source);
    ...
}

protected Object parseArray(Source source)
{
    ...
                            item = contextForArray().parse(source);
    ...
}

Nothing counts or caps the nesting depth. An input such as a few hundred thousand [ characters, or a long run of {"a": prefixes, recurses until the thread stack is exhausted and the JVM throws StackOverflowError. The static helpers JSON.parse(String), JSON.parse(Reader) and JSON.parse(InputStream), and the instance methods fromJSON(String) and parse(Source), all reach this path. The non-blocking AsyncJSON parser also accepts objects and arrays nested to any depth.

StackOverflowError is an Error, not an Exception, so request handling code that catches Exception around a parse call does not catch it. An attacker who can send JSON to an endpoint that passes it to these parsers can therefore repeatedly abort request processing and deny service to legitimate users.

Mitigation

Only recent versions of Eclipse Jetty are community-supported. Only community-supported versions will receive updates to address this issue. As of January 1, 2026 the Jetty project and Webtide no longer publish Jetty 9, Jetty 10, or Jetty 11 releases to Maven Central; see the project's End of Life announcement.

Users of the affected components should apply one of the following mitigations:

  • Upgrade affected applications to a supported version of Eclipse Jetty (12.0.40 or 12.1.14).
  • Leverage a commercial support partner like HeroDevs for post-EOL security support.

Credits

Vulnerability Details
Severity
Level
CVSS Assessment
Low
>=0 <4
Medium
>=4 <6
High
>=6 <8
Critical
>=8 <10
High
ID
CVE-2026-95533
PROJECT Affected
jetty-util-ajax
Versions Affected
>=9.4.0 <=9.4.65, >=10.0.0 <=10.0.33, >=11.0.0 <=11.0.33, >=12.0.0 <=12.0.39, >=12.1.0 <=12.1.13
NES Versions Affected
Published date
November 30, 2026
≈ Fix date
November 30, 2026
Category
Denial of Service
Vex Document
Download VEXHow do I use it?
Sign up for the latest vulnerability alerts fixed in
NES for Jetty
Rss feed icon
Subscribe via RSS
or

By submitting the form I acknowledge receipt of our Privacy Policy.

Thanks for signing up for our Newsletter! We look forward to connecting with you.
Oops! Something went wrong while submitting the form.