diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-09-12 09:39:38 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-09-12 09:39:38 +0100 |
| commit | 3f797af7e4a2e69f2f5aa5305f79960f7e7c5d13 (patch) | |
| tree | a6329a31fcb42a7af8a2161eda3033a61157afa9 /NEWS | |
| parent | 972b8e2407f11d00927e81cd54efe6f1fe5c2346 (diff) | |
Avoid excessive backtracking when parsing unterminated strings
Diffstat (limited to 'NEWS')
| -rw-r--r-- | NEWS | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +# 1.12.2 + +* Avoid excessive backtracking when parsing an unterminated string with many + escape sequences. The previous behaviour would allow maliciously crafted + documents to cause a denial of service in other implementations of Mammoth. + While the exact test case did not cause the same issue in the Java + implementation, the behaviour has been updated out of an abundance of caution + and for consistency. + + Note that it is still strongly recommended to process untrusted documents in + a separate thread with a timeout to avoid potential similar issues. + # 1.12.1 * Detect and ignore numbering levels that use numStyleLink to refer to |
