Security context

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

ngtcp2/nghttp3
main @ e6a7130
3
Fixes
0
CVEs
HIGH
Peak severity
66.7%
Coverage
Highlights
Memory Safety: 2 prior fixes. Scrutinize any change in this area.
lib/nghttp3_http.c: most-fixed (2 issues). Treat as high-risk during review.
2 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 Safety: Resizing circular ring buffers without correctly accounting for element wrapping can lead to severe memory corruption and buffer overflows during reallocations. This poses a significant execution safety threat to the library.
Memory Safety: Parsing structured field parameters or priority values without strict bounds checks before pointer/index increments can lead to stack buffer overflows and out-of-bounds memory reads.
Input Validation: Improper validation of HTTP/3 header name characters could allow malformed or malicious header structures to bypass validation filters if lookup tables are not strictly enforced.