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.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/moos-ivp/moos-ivp/blob/1de9ae146cd63c209e8c3fd81611a4ed2472971b/ivp/src/lib_ivpbuild/FunctionEncoder.cpp#L407 Issue Tracking, Patch
- https://github.com/moos-ivp/moos-ivp/commit/85f4653ff792b30c3ab14dc0eac0991d1405d904 Issue Tracking, Patch
- https://github.com/moos-ivp/moos-ivp/pull/126 Issue Tracking, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 9.3 · mitNVD modified 2026-10-14 23:28
Affected (CPE criteria) 1
cpe:2.3:a:mit:moos-ivp:*:*:*:*:*:*:*:*
References 5
- https://github.com/moos-ivp/moos-ivp Product
- https://github.com/moos-ivp/moos-ivp/blob/1de9ae146cd63c209e8c3fd81611a4ed2472971b/ivp/src/lib_ivpbuild/FunctionEncoder.cpp#L407 Issue Tracking, Patch
- https://github.com/moos-ivp/moos-ivp/commit/85f4653ff792b30c3ab14dc0eac0991d1405d904 Issue Tracking, Patch
- https://github.com/moos-ivp/moos-ivp/pull/126 Issue Tracking, Patch
- https://www.vulncheck.com/advisories/moos-ivp-through-24.8.1-out-of-bounds-write-via-unvalidated-ivp-payload-counts Third Party Advisory