CVEfocus › CVE database › CVE-2026-75140

CVE-2026-75140jsoup Uncontrolled Resource Consumption in XmlTreeBuilder

CVSS 7.5 HighEPSS 0.7% (higher than 51% of CVEs)Published 2026-08-20Updated 2026-11-08Assigner: VulnCheck

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.

CWE-770

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

2Fixed
8Fix pending
3Under investigation
13Will not fix
39Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10jsoupFix pendingUBUNTU-CVE-2026-75140
Ubuntu 26.04jsoupUnder investigationUBUNTU-CVE-2026-75140
Ubuntu 24.04jsoupUnder investigationUBUNTU-CVE-2026-75140
Ubuntu 22.04jsoupUnder investigationUBUNTU-CVE-2026-75140
Ubuntu 20.04jsoupFix pendingUBUNTU-CVE-2026-75140
Ubuntu 18.04jsoupFix pendingUBUNTU-CVE-2026-75140
Ubuntu 16.04jsoupFix pendingUBUNTU-CVE-2026-75140
Ubuntu 14.04jsoupFix pendingUBUNTU-CVE-2026-75140
Debian 14jsoupFixed1.23.2-1DEBIAN-CVE-2026-75140
Debian 13jsoupFix pendingDEBIAN-CVE-2026-75140
Debian 12jsoupFix pendingDEBIAN-CVE-2026-75140
Red Hat Enterprise Linux 10jakarta-mailNot affected
Red Hat Enterprise Linux 10jakarta-mail-javadocNot affected
Red Hat Enterprise Linux 10jsoupNot affected
Red Hat Enterprise Linux 10jsoup-javadocNot affected
Red Hat Enterprise Linux 9aopallianceNot affected
Red Hat Enterprise Linux 9apache-commons-cliNot affected
Red Hat Enterprise Linux 9apache-commons-codecNot affected
Red Hat Enterprise Linux 9apache-commons-ioNot affected
Red Hat Enterprise Linux 9atinjectNot affected
Red Hat Enterprise Linux 9google-guiceNot affected
Red Hat Enterprise Linux 9guavaNot affected
Red Hat Enterprise Linux 9httpcomponents-clientNot affected
Red Hat Enterprise Linux 9httpcomponents-coreNot affected
Red Hat Enterprise Linux 9jakarta-annotationsNot affected
Red Hat Enterprise Linux 9jakarta-mailNot affected
Red Hat Enterprise Linux 9jansiNot affected
Red Hat Enterprise Linux 9jcl-over-slf4jNot affected
Red Hat Enterprise Linux 9jmcFix pending
Affected
Red Hat Enterprise Linux 9jsoupNot affected
Red Hat Enterprise Linux 9jsr-305Not affected
Red Hat Enterprise Linux 9mavenNot affected
Red Hat Enterprise Linux 9maven-libNot affected
Red Hat Enterprise Linux 9maven-openjdk11Not affected
Red Hat Enterprise Linux 9maven-openjdk17Not affected
Red Hat Enterprise Linux 9maven-openjdk21Not affected
Red Hat Enterprise Linux 9maven-openjdk25Not affected
Red Hat Enterprise Linux 9maven-openjdk8Not affected
Red Hat Enterprise Linux 9maven-resolverNot affected
Red Hat Enterprise Linux 9maven-shared-utilsNot affected
Red Hat Enterprise Linux 9maven-unboundNot affected
Red Hat Enterprise Linux 9maven-wagonNot affected
Red Hat Enterprise Linux 9plexus-cipherNot affected
Red Hat Enterprise Linux 9plexus-classworldsNot affected
Red Hat Enterprise Linux 9plexus-containersNot affected
Red Hat Enterprise Linux 9plexus-containers-component-annotationsNot affected
Red Hat Enterprise Linux 9plexus-interpolationNot affected
Red Hat Enterprise Linux 9plexus-sec-dispatcherNot affected
Red Hat Enterprise Linux 9plexus-utilsNot affected
Red Hat Enterprise Linux 9sisuNot affected
Red Hat Enterprise Linux 9slf4jNot affected
Red Hat Enterprise Linux 8maven-wagonWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-wagon-fileWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-wagon-ftpWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-wagon-httpWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-wagon-http-lightweightWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-wagon-http-sharedWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-wagon-javadocWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-wagon-provider-apiWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-wagon-providersWill not fix
Will not fix
Red Hat Enterprise Linux 7maven-wagonWill not fix
Will not fix
Red Hat Enterprise Linux 7maven-wagon-javadocWill not fix
Will not fix
Red Hat Enterprise Linux 7maven-wagon-provider-testWill not fix
Will not fix
Red Hat Enterprise Linux 7maven-wagon-scmWill not fix
Will not fix
Maven libraryorg.jsoup:jsoupFixed1.23.2GHSA-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.

Vendor advisories:

References

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.