Description
MOOS-IvP through 24.8.1 contains a buffer overflow vulnerability in StringToIvPFunction() where dimension, piece, and degree counts from encoded BHV_IPF payloads are used as allocation sizes and loop bounds without validation. Attackers can supply crafted payloads with mismatched dimension values to write attacker-controlled doubles past the end of the IvPBox weight array, causing memory corruption and potential code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| moos-ivp | moos-ivp | ≤ 24.8.1 | — |
References
- Pull Request #126 issue-tracking patch
- Proposed fix commit (pull request not merged) patch
- https://github.com/moos-ivp/moos-ivp product
- FunctionEncoder.cpp (verified sink) technical-description
- VulnCheck Advisory: MOOS-IvP through 24.8.1 Out-of-Bounds Write via Unvalidated IvP Payload Counts third-party-advisory