CVE-2024-38443: Stack-based Buffer Overflow
Source CVE Database V5
Not known to be exploited · CVSS 6.2 Medium.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
To mitigate CVE-2024-38443, organizations and developers should avoid using the vulnerable binary insertion sort implementation from The Algorithms - C repository until a patch is available. Instead, they should replace it with iterative sorting algorithms that do not rely on recursion, such as iterative insertion sort or other well-tested sorting methods like quicksort or mergesort with controlled stack usage. If recursion must be used, implement strict recursion depth limits and stack usage monitoring to prevent stack overflow conditions. Conduct thorough testing with various input sizes to detect potential crashes. Additionally, sandbox or isolate applications using this code to limit the impact of crashes and prevent cascading failures. Monitor local user activities to detect attempts to exploit the vulnerability. Finally, stay updated with the repository or vendor for official patches or fixes and apply them promptly once released. For embedded or resource-constrained environments, consider static code analysis tools to detect unsafe recursion patterns and adopt safer coding practices.
Description
C/sorting/binary_insertion_sort.c in The Algorithms - C through e5dad3f has a segmentation fault for deep recursion, which may affect common use cases such as sorting an array of 50 elements.