aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-09-12 09:39:38 +0100
committerMichael Williamson <mike@zwobble.org>2026-09-12 09:39:38 +0100
commit3f797af7e4a2e69f2f5aa5305f79960f7e7c5d13 (patch)
treea6329a31fcb42a7af8a2161eda3033a61157afa9 /NEWS
parent972b8e2407f11d00927e81cd54efe6f1fe5c2346 (diff)
Avoid excessive backtracking when parsing unterminated strings
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS12
1 files changed, 12 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 5ee0c76..fa7fdb7 100644
--- a/NEWS
+++ b/NEWS
@@ -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