---
id: CVE-2026-85438
title: >-
  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
summary: >-
  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 …
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-190
vendor: moos-ivp
product: moos-ivp
affected:
  - moos-ivp <= 24.8.1
published: '2026-09-03'
updated: '2026-09-14'
sourceUpdated: '2026-09-14T14:17:13.980'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85438'
references:
  - url: 'https://github.com/moos-ivp/moos-ivp'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/moos-ivp/moos-ivp/blob/1de9ae146cd63c209e8c3fd81611a4ed2472971b/ivp/src/lib_ivpbuild/FunctionEncoder.cpp#L407
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/moos-ivp/moos-ivp/commit/85f4653ff792b30c3ab14dc0eac0991d1405d904
    label: disclosure@vulncheck.com
  - url: 'https://github.com/moos-ivp/moos-ivp/pull/126'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/moos-ivp-through-24.8.1-out-of-bounds-write-via-unvalidated-ivp-payload-counts
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-09-14T13:08:17.831933Z'
epss: 0.00879
epssPercentile: 0.5735
ingestedAt: '2026-09-08T20:10:03.161Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
