PT-2024-28005 · Unknown · The Algorithms
N1Neman
·
Published
2024-06-16
·
Updated
2024-07-03
·
CVE-2024-38443
CVSS v3.1
6.2
Medium
| Vector | AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
The Algorithms - C versions through e5dad3f
Description
The issue is related to a segmentation fault caused by deep recursion in the binary insertion sort.c file. This may impact common use cases, such as sorting an array of 50 elements.
Recommendations
For versions through e5dad3f, consider revising the
binary insertion sort function to prevent deep recursion, potentially by implementing an iterative approach or optimizing the recursive calls to avoid stack overflow.Fix
Stack Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
The Algorithms