Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

fmtlib/fmt
main @ bcaa44d
6
Fixes
1
CVEs
HIGH
Peak severity
Highlights
Memory Corruption: 3 prior fixes. Scrutinize any change in this area.
include/fmt/core.h: 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.

Memory Corruption: Integer underflow in size limits can lead to buffer overflows when writing formatted output using `fmt::format_to_n`.
Memory Corruption: Inaccurate output size estimation when handling complex escape sequences and debug specifiers can result in heap/stack buffer overflows.
Memory Corruption: Formatting operations utilizing ANSI color escapes can overflow local buffers if combinations of multiple styling attributes exceed expected lengths.