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.
                
            Metrics
Affected Vendors & Products
References
        | Link | Providers | 
|---|---|
| https://github.com/merces/libpe/issues/35 |     | 
History
                    Tue, 04 Mar 2025 03:45:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Metrics | ssvc 
 | 
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: mitre
Published: 2023-03-13T00:00:00.000Z
Updated: 2025-03-03T20:37:30.139Z
Reserved: 2021-12-20T00:00:00.000Z
Link: CVE-2021-45423
 Vulnrichment
                        Vulnrichment
                    Updated: 2024-08-04T04:39:20.665Z
 NVD
                        NVD
                    Status : Modified
Published: 2023-03-13T18:15:12.553
Modified: 2025-03-03T21:15:12.083
Link: CVE-2021-45423
 Redhat
                        Redhat
                    No data.