CVE-2024-23313
Critical · 9.8CVSS
9.8
EPSS
1.8%
Published
Feb 20, 2024
CISA due date
—
Cloudanix analysis
A flaw in software that reads certain scientific data files can let attackers take over a computer just 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
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer underflow in sopen_FAMOS_read allows specially crafted .famos input to trigger an out-of-bounds write, enabling arbitrary code execution.
Why it matters to the business
Processing untrusted .famos files on affected systems can result in complete compromise, allowing attackers to run malicious code, steal data, or deploy ransomware without user interaction beyond opening the file.
How an attack unfolds
An attacker creates a malicious .famos file that triggers an integer underflow during FAMOS format parsing; when a vulnerable application opens the file the underflow leads to an out-of-bounds write that overwrites memory with attacker-controlled data, achieving arbitrary code execution.
How to fix it
Upgrade libbiosig to a patched release that corrects the integer underflow in sopen_FAMOS_read; until patches are available, avoid opening untrusted .famos files and consider sandboxing or file-type blocking.
How to confirm the fix worked
Confirm the installed libbiosig version is newer than the affected 2.5.0 / ab0ee111 commit; attempt to open a known-good .famos file after upgrade and monitor for crashes or unexpected behavior.
Typical attack path
- Craft a .famos file that triggers the integer underflow in sopen_FAMOS_read
- Deliver the file via email attachment, download link, or shared storage
- Victim application opens the file using the vulnerable libbiosig library
- Integer underflow causes out-of-bounds write and arbitrary code execution
How to detect it
Review application crash logs and process dumps for abnormal behavior during .famos parsing; inspect file-handling audit logs for unexpected execution or memory corruption indicators after .famos files are opened.
What your security team should do
- Prioritize patching libbiosig across all systems that parse .famos files
- Implement file-type restrictions or sandboxing for untrusted scientific data files
- Monitor for new upstream releases and update EPSS/KEV tracking as exploit maturity changes
The record
An integer underflow vulnerability exists in the sopen_FAMOS_read functionality of The Biosig Project libbiosig 2.5.0 and Master Branch (ab0ee111). A specially crafted .famos file can lead to an out-of-bounds write which in turn 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-23809 A double-free vulnerability exists in the BrainVision ASCII Header Parsing functionality… 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-88833 A flaw was found in BusyBox's udhcpc DHCP client. CWE-191