Out-of-Bounds Write Vulnerability in Biosig Package Leading to Arbitrary Code Execution

biosig Updated 02 Oct 2025

Summary

20/02/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-23305: An out-of-bounds write vulnerability exists in the BrainVisionMarker Parsing functionality of The Biosig Project libbiosig 2.5.0 and Master Branch (ab0ee111). Affects biosig versions < 2.6.0-1. Fixed in 2.6.0-1. 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 Biosig Project provides a library called libbiosig, which is designed for parsing and processing various bio-signal data formats. It is widely used in research and applications involving brain signal analysis. The package is available in Debian distributions, specifically versions 13 and 14. The functionality of libbiosig includes handling BrainVisionMarker files, which are essential for interpreting brain signal data. However, a critical vulnerability has been identified that could allow attackers to exploit this functionality.

Vulnerability Detail

An out-of-bounds write vulnerability exists in the BrainVisionMarker Parsing functionality of the Biosig Project's libbiosig version 2.5.0 and the Master Branch (commit ab0ee111). This vulnerability can be triggered by a specially crafted .vmrk file, leading to arbitrary code execution. An attacker can exploit this vulnerability by providing a malicious file, potentially compromising the system's integrity and confidentiality.

How To Fix

Minimum fixed version

2.6.0-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade biosig

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users are advised to avoid opening untrusted .vmrk files until the package is updated. Additionally, implementing file validation checks before processing can help mitigate the risk of exploitation.

Conclusion

The out-of-bounds write vulnerability in the Biosig package poses a significant risk, allowing for arbitrary code execution through malicious .vmrk files. It is crucial for users to update to the patched version 2.6.0-1 to safeguard their systems. Until then, users should exercise caution when handling potentially harmful files.

See every vulnerability recorded for biosig →

Share this vulnerability

FAQ

The vulnerability is an out-of-bounds write issue that can lead to arbitrary code execution when processing malicious .vmrk files.

The affected versions are libbiosig 2.5.0 and the Master Branch (commit ab0ee111).

You can use Vulert, which monitors open-source vulnerabilities in real-time. By uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.

As a workaround, avoid processing untrusted .vmrk files and implement validation checks to minimize risk.

Related vulnerabilities

Recent vulnerabilities recorded for biosig.

How To Fix

Minimum fixed version

2.6.0-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade biosig

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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