SiteShadow
Back to vulnerability library
Detected byCWE-aware static analysis

CWE-125 Out-of-bounds Read

Coverage: 2 rules in the SiteShadow rule registry target this CWE (registry v2.0.0). Regex 2 Also: Taint and heuristic analyzers may also detect related flows (see coverage for the authoritative list) Registry tagging shows intent, for sample-level behaviour and benchmarked gaps see known gaps.

What this means

SiteShadow flagged code that may read past the end of a buffer/array.

Why it matters

Out-of-bounds reads can leak data or crash processes.

Safer examples

1) Use bounds-checked access

Prefer safe indexing APIs and validate indices and lengths.

2) Validate parsing lengths and offsets

Reject malformed inputs before using offsets to slice buffers.

3) Use fuzzing/sanitizers for native code

Fuzzers + ASan catch OOB reads early.

How SiteShadow detects it (high level)

References

---

← Back to Vulnerability Library

Catch this in your code with SiteShadow.

Every released SiteShadow scanner is free, including full project analysis, reports, patterns, dashboard access, and configured organization SSO.