Skip to main content
← All vulnerabilities
CVE-2026-75140GHSA-65R4-943X-97JJ

jsoup Uncontrolled Resource Consumption in XmlTreeBuilder

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.23.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • jhy soup

    through 1.23.1

  • org.jsoup:jsoupMaven

    fixed in 1.23.2

References 3

GitHub · jhy/jsoup

vulncheck.com