Debian Patches
Status for qt6-svg/6.9.2-4
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| upstream_CVE-2025-10728.diff | [PATCH] Replace check for endless recursion when loading The old check parsed the tree of SvgNodes again and again which lead to quadratic complexity. Instead, set and check a bool where the recursion may actually happen which is faster and only has linear complexity. Partially reverts 0332df304f013ded362537c1f61556098b875352 I chose to have the check in QSvgPattern::renderPattern() because: - It not only appears in the recursive backtrace of the stack-overflow which was fixed using the qudratic check, but also in the backtrace of another, still unfixed stack overflow. That way, both can be fixed by the same patch. Credit to OSS-Fuzz for finding them. - The function already had some error checking and returns a default value when it cannot render the content. In the same way, I can return a QImage of the right size but without any content when the endless recursion is about to happen. [ChangeLog] Speed up loading by replacing check for cyclic elements [ChangeLog] Fix stack overflow when an element references its child element using url() (cherry picked from commit 9e5bed9584ab65d56cd5fbac0471e06e37a54412) (cherry picked from commit 90a5331640bb760b0114a7ea4e08b9e42b03e082) |
Robert Löhning <robert.loehning@qt.io> | no | 2025-06-18 |
