CVE-2026-55149: Go Unbounded Slice Allocation From String Conversion

An integer converted directly from a string is used to allocate a slice with make() without bounds validation. An attacker providing a large integer could cause excessive memory allocation and denial of service.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-55149-go-unbounded-slice-allocation-from-string-conversion --engine opengrep

Description

An integer converted directly from a string is used to allocate a slice with make() without bounds validation. An attacker providing a large integer could cause excessive memory allocation and denial of service.