CVE-2026-85444: Mismatched String Length Indexing

The container `$MOD` is indexed using the length/size of a different object `$ORIG`. If `$MOD` has a shorter length than `$ORIG` (for instance after trimming or transformation), this leads to an out-of-bounds memory read (buffer over-read).

Provally CuratedPublic repositoryMediumHigh confidenceVerifiedApache-2.0C
greprules fetch cve-2026-85444-mismatched-string-length-indexing --engine opengrep

Description

The container `$MOD` is indexed using the length/size of a different object `$ORIG`. If `$MOD` has a shorter length than `$ORIG` (for instance after trimming or transformation), this leads to an out-of-bounds memory read (buffer over-read).