Cloudanix VulnDB

CVE-2024-22097

Critical · 9.8

CVSS

9.8

EPSS

1.6%

Published

Feb 20, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in software that reads certain medical signal files could let an attacker take control of a computer simply by getting a victim to open a specially made file.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Double-free condition during BrainVision header parsing of .vdhr files in libbiosig allows an attacker-supplied file to corrupt memory and achieve arbitrary code execution.

Why it matters to the business

Systems that parse untrusted .vdhr files risk remote compromise, data theft, or ransomware deployment; although exploitation remains uncommon, the high severity means any unpatched installation in medical or research workflows represents a significant operational risk.

How an attack unfolds

An attacker creates a malformed .vdhr file that triggers the double-free during header parsing; the file is delivered to a target application that links against the vulnerable libbiosig library, causing memory corruption that is turned into code execution.

How to fix it

Upgrade libbiosig to a version containing the fix for the BrainVision header parser; rebuild and redeploy all dependent applications; remove or quarantine any remaining copies of the vulnerable master branch or 2.5.0 release.

How to confirm the fix worked

Confirm the installed libbiosig version is newer than the affected commits; run the library's test suite against known-good and crafted .vdhr samples; monitor process memory for double-free crashes during parsing.

Typical attack path

  1. Craft a .vdhr file containing a malicious BrainVision header
  2. Deliver the file via email, download, or shared storage
  3. Victim application opens the file and invokes libbiosig parsing
  4. Double-free corrupts heap structures
  5. Attacker-controlled data leads to arbitrary code execution

How to detect it

Search application and system logs for unexpected crashes or errors while processing .vdhr files; inspect process dumps or sanitizer reports for double-free signatures in the BrainVision parsing path; correlate file-creation events with subsequent suspicious process behavior.

What your security team should do

  • Prioritize inventory of all applications linking libbiosig and schedule immediate updates
  • Block or sandbox processing of .vdhr files from untrusted sources until patched
  • Add .vdhr file handling to threat-hunting playbooks and SIEM rules

The record

A double-free vulnerability exists in the BrainVision Header Parsing functionality of The Biosig Project libbiosig Master Branch (ab0ee111) and 2.5.0. A specially crafted .vdhr file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 biosig 0 No fix
Debian:12 biosig 0 No fix
Debian:13 biosig 0 2.6.0-1
Debian:14 biosig 0 2.6.0-1
Ubuntu:22.04:LTS biosig 0 No fix
Ubuntu:24.04:LTS biosig 0 No fix
Ubuntu:24.10 biosig 0 2.6.0-1ubuntu1

Related vulnerabilities