Description of the patch:
This update for jsoup, re2j fixes the following issue:
- CVE-2026-75140: 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
(bsc#1275912).
Changes for jsoup:
- Upgrade to upstream version 1.23.2
- Improvement: Improved consecutive StreamParser.selectFirst()
calls during progressive parsing, so later matches are
returned with their parsed contents when earlier selections
had left them as parser lookahead. E.g., given
<title>One</title><p id=hit>Full</p><p>Next</p>, selecting
title and then #hit now advances the partial lookahead and
returns <p id='hit'>Full</p>, rather than returning an empty
<p id='hit'></p> before its content is parsed. The updated
readiness tracking follows StreamParser's normal emission
order across implicit HTML structure and parser recovery.
+ Improvement: Improved XML parser performance and memory use
for documents with many nested namespace declarations by
recording namespace changes within each element scope
(bsc#1275912, CVE-2026-75140).
+ Improvement: Improved W3CDom conversion performance for
documents with many nested namespace declarations. The W3C
converter now uses the same optimized namespace tracking as
the XML parser.
+ Improvement: Improved W3CDom XML conversion to retain
processing instructions, comments outside the root element,
and CDATA sections, which were previously dropped or converted
to text.
+ Improvement: DOM mutation methods, including child insertion
and replacement, now reject operations that would create a
cycle, such as making a node its own child or moving an
ancestor beneath a descendant.
+ Improvement: Added Elements#before(Node), after(Node),
prepend(Node), and append(Node) to match the existing HTML
string methods.
+ Improvement: Large file-backed uploads through…