CVE-2026-75140jsoup Uncontrolled Resource Consumption in XmlTreeBuilder
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jsoup | Fix pending | UBUNTU-CVE-2026-75140 | |
| Ubuntu 26.04 | jsoup | Under investigation | UBUNTU-CVE-2026-75140 | |
| Ubuntu 24.04 | jsoup | Under investigation | UBUNTU-CVE-2026-75140 | |
| Ubuntu 22.04 | jsoup | Under investigation | UBUNTU-CVE-2026-75140 | |
| Ubuntu 20.04 | jsoup | Fix pending | UBUNTU-CVE-2026-75140 | |
| Ubuntu 18.04 | jsoup | Fix pending | UBUNTU-CVE-2026-75140 | |
| Ubuntu 16.04 | jsoup | Fix pending | UBUNTU-CVE-2026-75140 | |
| Ubuntu 14.04 | jsoup | Fix pending | UBUNTU-CVE-2026-75140 | |
| Debian 14 | jsoup | Fixed | 1.23.2-1 | DEBIAN-CVE-2026-75140 |
| Debian 13 | jsoup | Fix pending | DEBIAN-CVE-2026-75140 | |
| Debian 12 | jsoup | Fix pending | DEBIAN-CVE-2026-75140 | |
| Red Hat Enterprise Linux 10 | jakarta-mail | Not affected | ||
| Red Hat Enterprise Linux 10 | jakarta-mail-javadoc | Not affected | ||
| Red Hat Enterprise Linux 10 | jsoup | Not affected | ||
| Red Hat Enterprise Linux 10 | jsoup-javadoc | Not affected | ||
| Red Hat Enterprise Linux 9 | aopalliance | Not affected | ||
| Red Hat Enterprise Linux 9 | apache-commons-cli | Not affected | ||
| Red Hat Enterprise Linux 9 | apache-commons-codec | Not affected | ||
| Red Hat Enterprise Linux 9 | apache-commons-io | Not affected | ||
| Red Hat Enterprise Linux 9 | atinject | Not affected | ||
| Red Hat Enterprise Linux 9 | google-guice | Not affected | ||
| Red Hat Enterprise Linux 9 | guava | Not affected | ||
| Red Hat Enterprise Linux 9 | httpcomponents-client | Not affected | ||
| Red Hat Enterprise Linux 9 | httpcomponents-core | Not affected | ||
| Red Hat Enterprise Linux 9 | jakarta-annotations | Not affected | ||
| Red Hat Enterprise Linux 9 | jakarta-mail | Not affected | ||
| Red Hat Enterprise Linux 9 | jansi | Not affected | ||
| Red Hat Enterprise Linux 9 | jcl-over-slf4j | Not affected | ||
| Red Hat Enterprise Linux 9 | jmc | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | jsoup | Not affected | ||
| Red Hat Enterprise Linux 9 | jsr-305 | Not affected | ||
| Red Hat Enterprise Linux 9 | maven | Not affected | ||
| Red Hat Enterprise Linux 9 | maven-lib | Not affected | ||
| Red Hat Enterprise Linux 9 | maven-openjdk11 | Not affected | ||
| Red Hat Enterprise Linux 9 | maven-openjdk17 | Not affected | ||
| Red Hat Enterprise Linux 9 | maven-openjdk21 | Not affected | ||
| Red Hat Enterprise Linux 9 | maven-openjdk25 | Not affected | ||
| Red Hat Enterprise Linux 9 | maven-openjdk8 | Not affected | ||
| Red Hat Enterprise Linux 9 | maven-resolver | Not affected | ||
| Red Hat Enterprise Linux 9 | maven-shared-utils | Not affected | ||
| Red Hat Enterprise Linux 9 | maven-unbound | Not affected | ||
| Red Hat Enterprise Linux 9 | maven-wagon | Not affected | ||
| Red Hat Enterprise Linux 9 | plexus-cipher | Not affected | ||
| Red Hat Enterprise Linux 9 | plexus-classworlds | Not affected | ||
| Red Hat Enterprise Linux 9 | plexus-containers | Not affected | ||
| Red Hat Enterprise Linux 9 | plexus-containers-component-annotations | Not affected | ||
| Red Hat Enterprise Linux 9 | plexus-interpolation | Not affected | ||
| Red Hat Enterprise Linux 9 | plexus-sec-dispatcher | Not affected | ||
| Red Hat Enterprise Linux 9 | plexus-utils | Not affected | ||
| Red Hat Enterprise Linux 9 | sisu | Not affected | ||
| Red Hat Enterprise Linux 9 | slf4j | Not affected | ||
| Red Hat Enterprise Linux 8 | maven-wagon | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | maven-wagon-file | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | maven-wagon-ftp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | maven-wagon-http | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | maven-wagon-http-lightweight | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | maven-wagon-http-shared | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | maven-wagon-javadoc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | maven-wagon-provider-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | maven-wagon-providers | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | maven-wagon | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | maven-wagon-javadoc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | maven-wagon-provider-test | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | maven-wagon-scm | Will not fix Will not fix | ||
| Maven library | org.jsoup:jsoup | Fixed | 1.23.2 | GHSA-65r4-943x-97jj |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- jhy soup: affected: up to 1.23.1, 862ba2f1d48ee95609183dbcfc848c9fd7afc76a not affected
Vendor advisories:
- https://github.com/jhy/jsoup/pull/2556 (patch)
- https://github.com/jhy/jsoup/commit/862ba2f1d48ee95609183dbcfc848c9fd7afc76a (patch)
References
- https://github.com/jhy/jsoup/pull/2556
- https://github.com/jhy/jsoup/commit/862ba2f1d48ee95609183dbcfc848c9fd7afc76a
- https://www.vulncheck.com/advisories/jsoup-uncontrolled-resource-consumption-in-xmltreebuilder
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.