{"id":68766,"date":"2025-08-25T18:32:03","date_gmt":"2025-08-25T15:02:03","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-54490-the-biosig-project-libbiosig-stack-based-buffer-overflow\/"},"modified":"2025-08-25T18:32:03","modified_gmt":"2025-08-25T15:02:03","slug":"cve-2025-54490-the-biosig-project-libbiosig-stack-based-buffer-overflow","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-54490-the-biosig-project-libbiosig-stack-based-buffer-overflow\/","title":{"rendered":"CVE-2025-54490 &#8211; The Biosig Project libbiosig Stack-Based Buffer Overflow"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-54490<br \/>\n<br \/>\n<strong>Published : <\/strong> Aug. 25, 2025, 2:15 p.m. | 19\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>A stack-based buffer overflow vulnerability exists in the MFER parsing functionality of The Biosig Project libbiosig 3.9.0 and Master Branch (35a819fa). A specially crafted MFER file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.This vulnerability manifests on line 9090 of biosig.c on the current master branch (35a819fa), when the Tag is 64:<\/p>\n<p>                else if (tag==64)     \/\/0x40<br \/>\n                {<br \/>\n                    \/\/ preamble<br \/>\n                    char tmp[256];  \/\/ [1]\n                    curPos += ifread(tmp,1,len,hdr);<\/p>\n<p>In this case, the overflowed buffer is the newly-declared `tmp` [1] instead of `buf`. While `tmp` is larger than `buf`, having a size of 256 bytes, a stack overflow can still occur in cases where `len` is encoded using multiple octets and is greater than 256.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 9.8 | CRITICAL<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-54490 Published : Aug. 25, 2025, 2:15 p.m. | 19\u00a0minutes ago Description : A stack-based buffer overflow vulnerability exists in the MFER parsing functionality of The Biosig Project libbiosig 3.9.0 and Master Branch (35a819fa). A specially crafted MFER file can lead to arbitrary code execution. An attacker can provide a malicious file &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-68766","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/68766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=68766"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/68766\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=68766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=68766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=68766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}