CVE-2026-48715: Radvdump Ri Option Buffer Overflow

Found an unvalidated variable length value multiplied and used as a size for memcpy into a fixed-size `struct in6_addr` stack buffer. In network protocol applications, copying payload data with an unchecked chunk multiplier can lead to a severe stack-based buffer overflow. Ensure the length is explicitly bounded (e.g., `<= 3` for IPv6 prefixes) before using

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0C
greprules fetch cve-2026-48715-radvdump-ri-option-buffer-overflow --engine opengrep

Description

Found an unvalidated variable length value multiplied and used as a size for memcpy into a fixed-size `struct in6_addr` stack buffer. In network protocol applications, copying payload data with an unchecked chunk multiplier can lead to a severe stack-based buffer overflow. Ensure the length is explicitly bounded (e.g., `<= 3` for IPv6 prefixes) before using