CVE-2024-23809
Critical · 9.8CVSS
9.8
EPSS
1.7%
Published
Feb 20, 2024
CISA due date
—
Cloudanix analysis
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
- Create malicious .vdhr file exploiting the double-free condition
- Deliver the file to the target via phishing, web download, or removable media
- Victim application loads the file using the vulnerable libbiosig parser
- 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
- CVE-2024-23313 An integer underflow vulnerability exists in the sopen_FAMOS_read functionality of The… Also affects biosig
- CVE-2024-23606 An out-of-bounds write vulnerability exists in the sopen_FAMOS_read functionality of The… Also affects biosig
- CVE-2024-23310 A use-after-free vulnerability exists in the sopen_FAMOS_read functionality of The Biosig… Also affects biosig
- CVE-2024-21795 A heap-based buffer overflow vulnerability exists in the .egi parsing functionality of… Also affects biosig
- CVE-2024-22097 A double-free vulnerability exists in the BrainVision Header Parsing functionality of The… Also affects biosig
- CVE-2024-21812 An integer overflow vulnerability exists in the sopen_FAMOS_read functionality of The… Also affects biosig
- CVE-2024-23305 An out-of-bounds write vulnerability exists in the BrainVisionMarker Parsing… Also affects biosig
- CVE-2026-109271 ImageMagick 7.1.2-30 before 7.1.2-32 contains a use after free vulnerability in the… CWE-415