Cloudanix VulnDB

CVE-2024-23809

Critical · 9.8

CVSS

9.8

EPSS

1.7%

Published

Feb 20, 2024

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A bug in software that reads certain medical data files can let attackers take over a computer simply by tricking someone into opening 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 during BrainVision ASCII header parsing in libbiosig allows an attacker-supplied .vdhr file to corrupt heap metadata and achieve arbitrary code execution.

Why it matters to the business

Systems that process untrusted .vdhr files can be fully compromised, enabling data theft, ransomware deployment, or persistent access with minimal attacker effort.

How an attack unfolds

An attacker crafts a malformed .vdhr file that triggers the double-free when parsed by libbiosig; the file is delivered via email, download, or shared storage and is opened by any application linking the vulnerable library, resulting in remote code execution without authentication.

How to fix it

Update libbiosig to a patched release that corrects the header-parsing logic; rebuild and redeploy all dependent applications; apply file-type restrictions or sandboxing around .vdhr processing until upgrades are complete.

How to confirm the fix worked

Confirm the installed libbiosig version is newer than the affected 2.5.0 / ab0ee111 commit; run regression tests with known-good and malformed .vdhr samples; verify no double-free occurs under memory-error detectors.

Typical attack path

  1. Create malicious .vdhr file exploiting the double-free condition
  2. Deliver the file to the target via phishing, web download, or removable media
  3. Victim application loads the file using the vulnerable libbiosig parser
  4. Heap metadata corruption leads to control-flow hijacking and shellcode execution

How to detect it

Review application logs and crash reports for unexpected terminations while parsing .vdhr files; inspect process memory dumps or sanitizer output for double-free signatures; monitor endpoint telemetry for new processes spawned from applications that use libbiosig.

What your security team should do

  • Inventory all software that statically or dynamically links libbiosig and prioritize upgrades
  • Block or quarantine .vdhr files at email gateways and file-transfer endpoints until patches are applied
  • Add memory-safety tooling (ASAN, Valgrind) to the build pipeline for similar parsing code

The record

A double-free vulnerability exists in the BrainVision ASCII Header Parsing functionality of The Biosig Project libbiosig 2.5.0 and Master Branch (ab0ee111). 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