CVE-2026-49346: Cpp Allocation Integer Overflow

Buffer allocation size calculated via potentially overflowing 32-bit multiplication. Cast operands to size_t.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0C
greprules fetch cve-2026-49346-cpp-allocation-integer-overflow --engine opengrep

Description

Buffer allocation size calculated via potentially overflowing 32-bit multiplication. Cast operands to size_t.