DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
Debian Bugs1034725

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pev (PTS)buster0.80-4fixed
bookworm, sid0.81-9fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pevsourcebuster(not affected)


[bullseye] - pev <no-dsa> (Minor issue, will be fixed in next point release)
[buster] - pev <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems