A Buffer Overflow vulnerabilityexists in Pev 0.81 via the...
Critical severity
Unreviewed
Published
Mar 13, 2023
to the GitHub Advisory Database
•
Updated Apr 1, 2023
Description
Published by the National Vulnerability Database
Mar 13, 2023
Published to the GitHub Advisory Database
Mar 13, 2023
Last updated
Apr 1, 2023
A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp->NumberOfFunctions as its size. However, the loop uses exp->NumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp->NumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.
References