Skip to content
Heist/ feed
Back to feed
High

jsoup — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-75140

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.

Products
jsoup
Affected versions
1.10.2-1, 1.10.2-2, 1.14.3-1, 1.15.3-1, 1.15.3-1build1, 1.7.2-1, 1.7.3-1, 1.7.3-1ubuntu0.1~esm2, 1.8.3-1
Fixed versions
Not specified
CVEs
CVE-2026-75140
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:16 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-75140

core-osv · Original source

Published 20 Aug 2026, 16:18 UTC

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.

osv:UBUNTU-CVE-2026-75140

jsoup

Fixed versions: Not specified

jsoup

Fixed versions: Not specified

jsoup

Fixed versions: Not specified

jsoup

Fixed versions: Not specified

jsoup

Fixed versions: Not specified

jsoup

Fixed versions: Not specified

jsoup

Fixed versions: Not specified

jsoup

Fixed versions: Not specified

Complete source record
{
  "id": "f9ee9fd506e5f8d3f496e998e2d28dfd4b2e5983abf4a979fa0b6d579d7688c7",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-75140",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-75140",
    "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.",
    "evidence": "osv:UBUNTU-CVE-2026-75140",
    "products": [
      {
        "name": {
          "value": "jsoup",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.7.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.7.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.7.3-1ubuntu0.1~esm2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jsoup",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.8.3-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jsoup",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.10.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.10.2-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jsoup",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.10.2-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jsoup",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.10.2-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.14.3-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jsoup",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.15.3-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jsoup",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.15.3-1build1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jsoup",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.15.3-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.15.3-1build1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-75140",
      "aliases": [
        "UBUNTU-CVE-2026-75140"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jsoup",
            "purl": "pkg:deb/ubuntu/jsoup?arch=source&distro=esm-infra-legacy%2Ftrusty",
            "ecosystem": "Ubuntu:Pro:14.04:LTS"
          },
          "versions": [
            "1.7.2-1",
            "1.7.3-1",
            "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"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjsoup-java",
                "binary_version": "1.7.3-1ubuntu0.1~esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jsoup",
            "purl": "pkg:deb/ubuntu/jsoup?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.8.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjsoup-java",
                "binary_version": "1.8.3-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jsoup",
            "purl": "pkg:deb/ubuntu/jsoup?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.10.2-1",
            "1.10.2-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjsoup-java",
                "binary_version": "1.10.2-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jsoup",
            "purl": "pkg:deb/ubuntu/jsoup?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.10.2-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjsoup-java",
                "binary_version": "1.10.2-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jsoup",
            "purl": "pkg:deb/ubuntu/jsoup?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.10.2-2",
            "1.14.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjsoup-java",
                "binary_version": "1.14.3-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jsoup",
            "purl": "pkg:deb/ubuntu/jsoup?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.15.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjsoup-java",
                "binary_version": "1.15.3-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jsoup",
            "purl": "pkg:deb/ubuntu/jsoup?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.15.3-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjsoup-java",
                "binary_version": "1.15.3-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jsoup",
            "purl": "pkg:deb/ubuntu/jsoup?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.15.3-1",
            "1.15.3-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-75140.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjsoup-java",
                "binary_version": "1.15.3-1build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:04.927339546Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-75140"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-75140",
        "https://www.cve.org/CVERecord?id=CVE-2026-75140",
        "https://github.com/jhy/jsoup/pull/2556"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-75140",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 360940,
  "published_at": "2026-08-20T16:18:00+00:00"
}