Heap Buffer Overflow in ADMesh Package Due to Improper Array Index Validation

admesh Updated 21 Feb 2026

Summary

03/04/2023
N/A
No i
High
8.8

DEBIAN-CVE-2022-38072: An improper array index validation vulnerability exists in the stl_fix_normal_directions functionality of ADMesh Master Commit 767a105 and v0.98.4. Affects admesh versions 0.98.4-1 – 0.98.5-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

ADMesh is a software tool used for processing and repairing STL files, commonly utilized in 3D printing and computer-aided design. It is designed to fix issues in STL files, ensuring they are suitable for 3D printing. However, a vulnerability has been identified in versions of ADMesh prior to 0.98.5, which can lead to severe security risks if exploited.

Vulnerability Detail

An improper array index validation vulnerability exists in the stl_fix_normal_directions functionality of ADMesh Master Commit 767a105 and version 0.98.4. This flaw allows an attacker to craft a specially-designed STL file that triggers a heap buffer overflow, potentially leading to arbitrary code execution, data corruption, or system crashes. The vulnerability has a CVSS score of 8.8, indicating a high severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users should avoid opening or processing STL files from untrusted sources until the package is updated. Additionally, consider using alternative software for STL file processing that does not have this vulnerability.

Conclusion

The ADMesh package has a critical vulnerability that can lead to severe security issues if not addressed. Users are strongly advised to update to the latest version to mitigate risks. Additionally, utilizing tools like Vulert can help monitor and alert for vulnerabilities in real-time.

See every vulnerability recorded for admesh →

Share this vulnerability

FAQ

The vulnerability is a heap buffer overflow caused by improper array index validation in the stl_fix_normal_directions functionality.

If exploited, this vulnerability can lead to arbitrary code execution, data corruption, or system crashes, posing significant security risks.

ADMesh versions prior to 0.98.5 are affected by this vulnerability.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor and alert for open-source vulnerabilities without requiring installation.

If immediate updates are not possible, avoid processing STL files from untrusted sources and consider using alternative software until the vulnerability is addressed.

Related vulnerabilities

Recent vulnerabilities recorded for admesh.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback