CVE-2025-54952: Executorch Unchecked Size Mul Sizeof In Allocate
Allocator call receives an unchecked `$N * sizeof($T)` byte count. If `$N` is large (e.g., attacker-controlled, derived from a model/file field), the multiplication can wrap `size_t` and the allocator will return an under-sized buffer while the caller still indexes up to `$N` elements, causing a heap buffer overflow (CWE-680, CVE-2025-54952). Guard the multi
greprules fetch cve-2025-54952-executorch-unchecked-size-mul-sizeof-in-allocate --engine opengrepDescription
Allocator call receives an unchecked `$N * sizeof($T)` byte count. If `$N` is large (e.g., attacker-controlled, derived from a model/file field), the multiplication can wrap `size_t` and the allocator will return an under-sized buffer while the caller still indexes up to `$N` elements, causing a heap buffer overflow (CWE-680, CVE-2025-54952). Guard the multi
Community feedback
0 rule-level signals from signed-in users.
- Useful reports
- 0
- Context false positives
- 0
- Metadata suggestions
- 0
Contextual precision
Aggregated from approved scan feedback. False-positive reports describe observed scan contexts, not a global rule verdict.
- Findings observed
- 0
- Projects
- 0
- Reporters
- 0
Precision details are collecting more signed-in reports before verdict counts or ratios are emphasized.
No approved finding verdicts yet.
No scan diagnostics reported yet.