Highlights
Denial of Service: 3 prior fixes. Scrutinize any change in this area.
pylatexenc/latexnodes/_tokenreader.py: most-fixed (2 issues). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Denial of Service: Two separate fixes address infinite loops in tolerant parsing when input ends with lone escape characters, indicating a recurring edge-case flaw in the token reader's progress logic.
Denial of Service: Verbatim parsing fails to handle end-of-stream, causing an infinite loop. This is a distinct component but shares the same root cause of missing termination checks.