CVE-2026-75140: jsoup Uncontrolled Resource Consumption in XmlTreeBuilder

Published Aug 20, 2026
·
Updated

jsoup through 1.23.2, fixed in commit 862ba2f, contains an uncontrolled resource consumption vulnerability in XmlTreeBuilder that allows remote attackers to exhaust JVM heap memory by supplying a deeply nested XML document with uniquely-namespaced elements. The builder copies the entire inherited namespace map on every start element, causing quadratic time and memory complexity, which attackers can exploit to trigger an OutOfMemoryError and terminate the application.

Affected Software

1 affected component
jsoup jsoup<=1.23.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade jsoup to a version that resolves this vulnerability.

    Fixed in 1.23.2Patch 862ba2f

Event History

Aug 20, 2026
CVE Published
via MITRE·03:56 PM
Data Sourced
via MITRE·03:56 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed?

Applications using jsoup through version 1.23.2 are exposed when they parse remotely supplied XML through XmlTreeBuilder. The issue can exhaust the JVM heap and terminate the application.

2

Does exploitation require authentication or user interaction?

No. The reported vector is network-accessible, with low attack complexity, no privileges required, and no user interaction required.

3

How can I determine whether a deployment needs remediation?

Check whether the application includes jsoup version 1.23.2 or earlier and processes XML from remote sources. The issue is fixed by commit 862ba2f1d48ee95609183dbcfc848c9fd7afc76a.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203