CVE-2026-23870: React Native Sparse Array Dos

A potential Denial of Service (DoS) vulnerability exists where an array's length is arbitrarily expanded using unvalidated values from another array. A subsequent unbounded index-based `for` loop over this sparse array traverses all array empty slots (holes), potentially causing excessive CPU consumption and a blocked main thread. Validate integer bounds bef

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0JS
greprules fetch cve-2026-23870-react-native-sparse-array-dos --engine opengrep

Description

A potential Denial of Service (DoS) vulnerability exists where an array's length is arbitrarily expanded using unvalidated values from another array. A subsequent unbounded index-based `for` loop over this sparse array traverses all array empty slots (holes), potentially causing excessive CPU consumption and a blocked main thread. Validate integer bounds bef