Heap Buffer Overflow Vulnerability in nsmd Package

nsmd Updated 25 Sep 2026

Summary

04/07/2026
MEDIUM
No i
Medium
Not published

OSV-2026-1016: Heap-buffer-overflow in decode_query_device_identification_resp. Affects nsmd versions >= 62de34e8b8bda9eab592ad737b7fbb3924a55e89. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The nsmd package is a component utilized in various applications for managing network services and device identification. It is designed to facilitate communication between devices and ensure proper identification and query handling. However, due to its complex handling of input data, it is susceptible to vulnerabilities that can lead to severe security issues, such as buffer overflows.

Vulnerability Detail

The vulnerability identified is a heap-buffer-overflow occurring in the function decode_query_device_identification_resp. This issue was reported through OSS-Fuzz, indicating that an attacker could exploit this vulnerability to read beyond the allocated memory buffer, potentially leading to unauthorized access to sensitive data or application crashes. The specific crash type is a READ operation that occurs when the function attempts to access memory that it should not, which can compromise the integrity and security of the application.

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, you can implement input validation to ensure that the data being processed by the decode_query_device_identification_resp function is properly sanitized and does not exceed expected lengths. This can help mitigate the risk of exploitation until a patch is applied.

Conclusion

The heap buffer overflow vulnerability in the nsmd package poses significant risks to applications utilizing this component. It is crucial to address this issue promptly by applying available patches and implementing necessary workarounds to safeguard against potential exploitation.

See every vulnerability recorded for nsmd →

Share this vulnerability

FAQ

A heap buffer overflow occurs when a program writes more data to a buffer located on the heap than it can hold, leading to memory corruption and potential security vulnerabilities.

Exploitation of this vulnerability can lead to application crashes, unauthorized access to sensitive data, or even remote code execution, depending on the attacker's capabilities.

Yes, it is advisable to check the official nsmd repository for any available patches and update your package accordingly.

If immediate updates are not possible, implement input validation as a temporary workaround to minimize the risk of exploitation.

You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json. You can also check your application against known vulnerabilities using the Vulert playground.

Related vulnerabilities

Recent vulnerabilities recorded for nsmd.

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