stringzilla is vulnerable to Out-of-bounds Read
82
High Risk
AVX-512 Skylake search compares masked-off SIMD lanes without restricting equality masks, so certain needles dominated by zero bytes can create phantom matches past h_length - n_length and yield bogus pointers or following compares read beyond the haystack. Lexicographic ordering used masked operands asymmetrically so mismatch scans could advance past min(a_length, b_length) and index garbage behind the shorter buffer. Sequence-intersect helpers allocated backing tables but omitted paired frees on success paths, leaking memory across repeated calls.
You are affected if you are using a version that falls within the vulnerable range.
stringzilla is vulnerable to Out-of-bounds Read in versions 4.0.0 - 4.6.0.
Upgrade the stringzilla library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant