CVE-2024-21795 Memory corruption in libbiosig

Critical 9.8 Published Updated

A heap-based buffer overflow in libbiosig allows arbitrary code execution via a malicious .egi file, affecting applications using this library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-21795?

CVE-2024-21795 is a critical memory corruption vulnerability in Fedoraproject Fedora, published on 20 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A heap-based buffer overflow vulnerability exists in the .egi parsing functionality of The Biosig Project libbiosig 2.5.0 and Master Branch (ab0ee111). A specially crafted .egi file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2024-21795?

It affects 2 products.

Products include Fedoraproject Fedora, Libbiosig Project Libbiosig.

How do I fix CVE-2024-21795?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-21795 being exploited?

There is no known exploitation of CVE-2024-21795 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-21795, GHSA-7xww-xh6h-rqhj, UBUNTU-CVE-2024-21795.

Is CVE-2024-21795 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free