Code execution via overflowing FAMOS channel count
Published Feb 20, 2024 · Updated Nov 4, 2025
Integer overflow in The BioSig Project libbiosig 2.5.0 and Master Branch (ab0ee111) allows attackers to execute code via a crafted FAMOS file. In sopen_FAMOS_read, repeated CG records add a 32-bit channel count to the 16-bit hdr->NS field, wrap the allocation size, and leave CHAN indexing beyond the shrunken hdr->CHANNEL buffer. FAMOS parsing is enabled by default in affected builds, and a malicious file can overwrite heap data and gain process-level code execution.
Summary
What happened
Integer overflow in The BioSig Project libbiosig 2.5.0 and Master Branch (ab0ee111) allows attackers to execute code via a crafted FAMOS file. In sopen_FAMOS_read, repeated CG records add a 32-bit channel count to the 16-bit hdr->NS field, wrap the allocation size, and leave CHAN indexing beyond the shrunken hdr->CHANNEL buffer. FAMOS parsing is enabled by default in affected builds, and a malicious file can overwrite heap data and gain process-level code execution.
The record
- CVE
- CVE-2024-21812
- Published
- Feb 20, 2024
- Updated
- Nov 4, 2025
- Vendor
- Fedora Project
- Product
- Fedora Linux
- Classifications
- CWE-190, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 20, 2024CVE publishedPublication date reported by the CVE source.
- Nov 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=40
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Cisco Talos FAMOS channel-count proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo