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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1281-1, DTSA-37-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
clamav (PTS)bullseye0.103.10+dfsg-0+deb11u1fixed
bullseye (security)1.0.7+dfsg-1~deb11u2fixed
bookworm1.0.7+dfsg-1~deb12u1fixed
sid, trixie1.4.1+dfsg-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
clamavsourcesarge0.84-2.sarge.16DSA-1281-1
clamavsourceetch0.90.1-3etch1DSA-1281-1
clamavsourcelenny0.90.1-3lenny2DTSA-37-1
clamavsource(unstable)0.90.2-1high

Search for package or bug name: Reporting problems