CVE-2026-54715: Goaccess Unanchored Strstr Offset Memmove

Potential out-of-bounds write: `strstr` is used to check for a substring without capturing its pointer, but `memmove` is performed using a fixed offset from the base pointer (`$MATCH + $OFFSET`). Ensure the substring pointer is captured and bounds-checked before computing destination offsets.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0C
greprules fetch cve-2026-54715-goaccess-unanchored-strstr-offset-memmove --engine opengrep

Description

Potential out-of-bounds write: `strstr` is used to check for a substring without capturing its pointer, but `memmove` is performed using a fixed offset from the base pointer (`$MATCH + $OFFSET`). Ensure the substring pointer is captured and bounds-checked before computing destination offsets.