CVE-2026-5497: Python Unbounded Split Numpy Oom

Unbounded string splitting (`str.split()` without a `maxsplit` limit) inside a list comprehension that passes data directly to memory-heavy accumulators like `np.stack` or `np.array` can result in Out-of-Memory (OOM) Denial of Service. Attacker-controlled strings can trigger massive allocations. Always limit the split components by utilizing python array sli

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-5497-python-unbounded-split-numpy-oom --engine opengrep

Description

Unbounded string splitting (`str.split()` without a `maxsplit` limit) inside a list comprehension that passes data directly to memory-heavy accumulators like `np.stack` or `np.array` can result in Out-of-Memory (OOM) Denial of Service. Attacker-controlled strings can trigger massive allocations. Always limit the split components by utilizing python array sli