Security context

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

yannickjadoul/parselmouth
master @ 069304b
3
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Buffer Overflow: 2 prior fixes. Scrutinize any change in this area.
external/espeak: most-fixed (1 issue). 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.

Buffer Overflow: Historically, file parsing and resource allocation routines in Melder (such as MelderFile and Sound readers) suffered from buffer overflows due to unsafe uses of fread, which could be exploited via malformed input files.
Buffer Overflow: The bundled espeak dependency contained buffer overflows during dictionary parsing, where lack of bounds checks on raw string operations (such as strcpy, strcat, or raw indexing) posed a severe threat when processing untrusted dictionary files.
Denial of Service: Lack of preventive buffer boundaries in espeak's synthesis and voice configuration code (synthdata.cpp, voices.cpp) could allow malformed inputs to crash the application, leading to denial of service.