CVE-2007-1997

NameCVE-2007-1997
DescriptionInteger signedness error in the (1) cab_unstore and (2) cab_extract functions in libclamav/cab.c in Clam AntiVirus (ClamAV) before 0.90.2 allow remote attackers to execute arbitrary code via a crafted CHM file that contains a negative integer, which passes a signed comparison and leads to a stack-based buffer overflow.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-1281-1, DTSA-37-1
NVD severityhigh (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
clamav (PTS)wheezy0.99+dfsg-0+deb7u2fixed
wheezy (security)0.99.2+dfsg-0+deb7u2fixed
jessie0.99.2+dfsg-0+deb8u2fixed
stretch0.99.2+dfsg-4fixed
sid0.99.2+dfsg-5fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
clamavsource(unstable)0.90.2-1high
clamavsourceetch0.90.1-3etch1highDSA-1281-1
clamavsourcelenny0.90.1-3lenny2highDTSA-37-1
clamavsourcesarge0.84-2.sarge.16highDSA-1281-1

Search for package or bug name: Reporting problems