# CVE-2022-38072: ADMesh improper array index validation

Source: https://junglewise.ai/threats/cve-2022-38072-admesh-improper-array-index-validation  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-04-03  
License: CC BY 4.0 with a link back

CVE-2022-38072 · Severity: low · CVSS 3.1 · Published 2023-04-03

An improper array index validation vulnerability exists in the stl_fix_normal_directions functionality of ADMesh Master Commit 767a105 and v0.98.4. A specially-crafted stl file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

Technologies: [admesh (PyPI)](https://junglewise.ai/threats/technologies/admesh). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-38072 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-38072 being exploited in the wild.

**How severe is CVE-2022-38072?** Low severity, with a CVSS score of 3.1, published 3 April 2023.

**Which products and versions are affected?** admesh (PyPI) ECOSYSTEM:introduced=0,fixed=0.98.5, GIT:introduced=0,fixed=5fab257268a0ee6f832c18d72af89810a29fbd5f|ECOSYSTEM:introduced=0.

**Is there a fix for CVE-2022-38072?** Yes. admesh (PyPI): upgrade to 0.98.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-38072?** Check whether you run admesh (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- admesh (PyPI): upgrade to 0.98.5 or later

  ```sh
  pip install "admesh>=0.98.5"
  ```


## Affected products

- admesh (PyPI) ECOSYSTEM:introduced=0,fixed=0.98.5, GIT:introduced=0,fixed=5fab257268a0ee6f832c18d72af89810a29fbd5f|ECOSYSTEM:introduced=0

## Identifiers

- CVE-2022-38072
- GHSA-v5hv-4pw3-q6h9
- PYSEC-2023-263

## Related threats

- [PYSEC-2026-5 - A security flaw has been discovered in admesh up to 0.98.5. This issue affects the function stl_check_normal_vector of the file src/normals.](https://junglewise.ai/threats/cve-2026-2653-pysec-2026-5-a-security-flaw-has-been-discovered-in-admesh-up-to-0)
- [Out-of-bounds read in admesh](https://junglewise.ai/threats/cve-2018-25033-out-of-bounds-read-in-admesh)
