Amazon Linux 2027 Preview Security Advisory: ALAS2027-2026-366
Advisory Released Date: 2026-11-17
Advisory Updated Date: 2026-11-17
Mistune from 3.3.0 before 3.3.4 contains a denial of service vulnerability that allows remote attackers to exhaust CPU through quadratic-time emphasis delimiter processing. Attackers can submit small markdown documents with repeated patterns like "*a_b" to trigger an O(n²) index-fixup loop, stalling workers for seconds. (CVE-2026-121437)
Mistune before 3.3.3 contains a denial of service vulnerability in InlineParser.parse_link that allows attackers to cause quadratic CPU growth by supplying balanced nested brackets. Attackers can submit crafted Markdown with thousands of nested bracket pairs not forming a valid link, triggering repeated _contains_nested_link scans that exhaust CPU in parsing applications. (CVE-2026-121438)
Affected Packages:
python-mistune
Issue Correction:
Run dnf update python-mistune --releasever 2027.0.20261117 or dnf update --advisory ALAS2027-2026-366 --releasever 2027.0.20261117 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2027 documentation
noarch:
python3-mistune-3.4.0-1.amzn2027.0.1.noarch
src:
python-mistune-3.4.0-1.amzn2027.0.1.src