Integer Overflow 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-21812: An integer overflow vulnerability exists in the sopen_FAMOS_read 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Biosig Project's libbiosig is a library designed for processing biometric data, particularly in relation to signal processing. It is utilized in various applications that require secure and reliable handling of biometric signals. The package is available in Debian distributions, specifically versions 13 and 14. This library is critical for applications that depend on accurate biometric data analysis, making its security paramount.

Vulnerability Detail

An integer overflow vulnerability exists in the sopen_FAMOS_read functionality of The Biosig Project libbiosig versions prior to 2.6.0-1. This vulnerability can be exploited by an attacker using a specially crafted .famos file, leading to an out-of-bounds write. Such an exploit can result in arbitrary code execution, allowing the attacker to execute malicious code on the affected system. The vulnerability arises from improper handling of input data, which fails to validate the size of the data being processed.

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 can avoid opening .famos files from untrusted sources to mitigate the risk of exploitation until the package is updated.

Conclusion

The integer overflow vulnerability in the Biosig package poses a significant risk, allowing for potential arbitrary code execution through malicious .famos files. It is crucial for users to update to the latest version to mitigate this risk and to exercise caution when handling biometric data files.

See every vulnerability recorded for biosig →

Share this vulnerability

FAQ

The vulnerability is an integer overflow that can lead to out-of-bounds writes and arbitrary code execution.

Versions prior to 2.6.0-1 of the Biosig package are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If an immediate update is not possible, avoid using .famos files from untrusted sources to reduce the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for biosig.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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