Repository navigation
CVE-2026-75140 jsoup: Memory exhaustion in XmlTreeBuilder via deeply nested namespace declarations (1.23.1 -> 1.23.2) - #1169
Merged
vharseko merged 1 commit intoOct 12, 2026
Conversation
Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.23.1 to 1.23.2. - [Release notes](https://github.com/jhy/jsoup/releases) - [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES.md) - [Commits](jhy/jsoup@jsoup-1.23.1...jsoup-1.23.2) --- updated-dependencies: - dependency-name: org.jsoup:jsoup dependency-version: 1.23.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
deleted the
dependabot/maven/openam-documentation/openam-doc-services-ref/org.jsoup-jsoup-1.23.2
branch
October 12, 2026 06:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps
org.jsoup:jsoupfrom 1.23.1 to 1.23.2 inopenam-documentation/openam-doc-services-ref/pom.xml, clearing Dependabot alert #359. This follows #1105, which took the same dependency from 1.21.2 to 1.23.1 for CVE-2026-71497.Advisory
CVE-2026-75140 / GHSA-65r4-943x-97jj (fixed in 1.23.2) — Allocation of resources without limits or throttling (CWE-770) in
XmlTreeBuilder. The XML builder copied the entire inherited namespace map on every start tag, so a deeply nested document whose elements each declare a new namespace costs quadratic time and memory and can end inOutOfMemoryError. The fix (jhy/jsoup#2556) keeps one current bindings map, records only the bindings each element changes and restores them when it closes, which makes namespace tracking linear.AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)Availability-only: no code execution, no data exposure.
Impact on OpenAM
None at runtime, none in practice in the build. jsoup is a dependency of
openam-doc-services-refonly — no other module declares it, and it is not in the WAR. That module is the services reference generator:exec-maven-pluginrunsorg.openidentityplatform.openam.docs.services.Generatoratprepare-packageagainst the freshly builtopenam-server-only/target/OpenAM-ServerOnly-<version>, and the module jar carries only the generated.adocfiles thatopenam-doc-sourceunpacks.The only jsoup call is
Jsoup.parse(html)inHtmlConverter, which turns the<i18nKey>.help/<i18nKey>.help.txtstrings from OpenAM's own resource bundles into AsciiDoc. That is the HTML parser;XmlTreeBuilder(Parser.xmlParser()) is never used, and the input is repository content, not outside data. The bump takes the build tool out of the vulnerable range.Change
openam-documentation/openam-doc-services-ref/pom.xml:org.jsoup:jsoup1.23.1 → 1.23.2. No code change.Behaviour changes in 1.23.2 that touch the parser
HtmlConverteruses: the HTML and XML parsers now share a maximum stack depth of 512 (Parser#setMaxDepth(int)), and comments after</body>/</html>are placed as the HTML specification says. No.help/.help.txtstring contains an HTML comment and their markup is only a few levels deep, so the generated reference does not change. The rest of the release (W3C DOM conversion, XML serialization, the HTTP client,StreamParser) is outside this module's code path.References