Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-45423 EUVD-2021-32194GHSA-4r8p-6r2m-cjwv

A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically al…

Published Mar 13, 2023 · Updated Mar 3, 2025 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 pev 0.81-9 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS pev No fix yet —
Ubuntu 20.04 LTS pev No fix yet —
Ubuntu 18.04 LTS pev No fix yet —
Ubuntu 16.04 LTS pev No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 pev 0.82-r0 —
Alpine v3.23 pev 0.82-r0 —
Alpine v3.22 pev 0.82-r0 —
Alpine v3.21 pev 0.82-r0 —
Alpine v3.20 pev 0.82-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 pev 0.82-r0 —
Alpine v3.18 pev 0.82-r0 —

References