{"id":"UBUNTU-CVE-2026-75140","details":"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.","modified":"2026-10-17T12:56:06.909091018Z","published":"2026-08-20T16:18:00Z","upstream":["CVE-2026-75140"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-75140"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-75140"},{"type":"REPORT","url":"https://github.com/jhy/jsoup/pull/2556"}],"affected":[{"package":{"name":"jsoup","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/jsoup?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.2-1","1.7.3-1","1.7.3-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjsoup-java","binary_version":"1.7.3-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"}},{"package":{"name":"jsoup","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/jsoup?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.3-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.3-1","binary_name":"libjsoup-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"}},{"package":{"name":"jsoup","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/jsoup?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.2-1","1.10.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjsoup-java","binary_version":"1.10.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"}},{"package":{"name":"jsoup","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/jsoup?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.2-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.10.2-2","binary_name":"libjsoup-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"}},{"package":{"name":"jsoup","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/jsoup?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.2-2","1.14.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjsoup-java","binary_version":"1.14.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"}},{"package":{"name":"jsoup","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/jsoup?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjsoup-java","binary_version":"1.15.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"}},{"package":{"name":"jsoup","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/jsoup?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.3-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjsoup-java","binary_version":"1.15.3-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"}},{"package":{"name":"jsoup","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/jsoup?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.3-1","1.15.3-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.15.3-1build1","binary_name":"libjsoup-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}