Heap Buffer Overflow Vulnerability in nsmd Package

nsmd Updated 25 Sep 2026

Summary

05/07/2026
MEDIUM
No i
Medium
Not published

OSV-2026-1025: Heap-buffer-overflow in decode_common_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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The nsmd package is a component used in various applications for managing network services and data. It provides essential functionalities for handling requests and responses in a networked environment. However, like many software components, it is susceptible to vulnerabilities that can compromise its integrity and security. This specific vulnerability arises from improper handling of memory buffers, leading to potential exploitation by malicious actors.

Vulnerability Detail

The vulnerability identified is a heap-buffer-overflow in the decode_common_resp function within the nsmd package. This issue was reported by OSS-Fuzz and is characterized by a crash type of 'Heap-buffer-overflow READ 1'. The vulnerability can lead to unauthorized access to memory, potentially allowing attackers to execute arbitrary code or crash the application. The specific crash state indicates that the error occurs during the decoding of response messages, which could be exploited if an attacker sends specially crafted input to 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, users can implement input validation to ensure that only properly formatted data is processed by the decode_common_resp function. This can help mitigate the risk of exploitation until a patch is applied. Example code for input validation could look like this:

function validateInput(input) {
    if (typeof input !== 'string' || input.length === 0) {
        throw new Error('Invalid input');
    }
    // Additional validation logic here
}

Conclusion

In summary, the heap buffer overflow vulnerability in the nsmd package poses significant risks to applications utilizing this component. It is crucial for developers and users to update to the latest version to mitigate these risks. Additionally, implementing input validation can serve as a temporary measure until a full update can be performed.

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 exploitation.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, you can check for vulnerabilities in real-time.

If exploited, this vulnerability could allow attackers to execute arbitrary code, crash the application, or gain unauthorized access to sensitive data.

Yes, it is recommended to update the nsmd package to the latest version where this vulnerability has been addressed.

If an immediate update is not possible, implement input validation as a temporary workaround to mitigate the risk of exploitation.

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