CVE-2026-23881: Missing Context Size Limit Amplification

A method accepts raw byte data, unmarshals it, and appends it to a stateful context without checking the cumulative size of the context data. In policy or template engines, this can allow attackers to mount memory amplification attacks leading to Denial of Service (DoS) via resource exhaustion.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-23881-missing-context-size-limit-amplification --engine opengrep

Description

A method accepts raw byte data, unmarshals it, and appends it to a stateful context without checking the cumulative size of the context data. In policy or template engines, this can allow attackers to mount memory amplification attacks leading to Denial of Service (DoS) via resource exhaustion.