CVE-2026-37198: Gtp Unbounded Length Memcpy

A length extracted directly from a data buffer via pointer dereference is passed to memcpy without bounds checking against the maximum destination buffer size, leading to potential buffer overflow.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0C
greprules fetch cve-2026-37198-gtp-unbounded-length-memcpy --engine opengrep

Description

A length extracted directly from a data buffer via pointer dereference is passed to memcpy without bounds checking against the maximum destination buffer size, leading to potential buffer overflow.