CVE-2007-1997: Clam Anti-Virus Clamav

High severity, CVSS 7.5. EPSS: 5.4% chance of exploitation in the next 30 days.

Integer 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.

Affected products

  • Clam Anti-Virus Clamav: version 0.90 only; version 0.90.1 only; version 0.90.2 only; version 0.90_rc1.1 only; version 0.90_rc2 only; version 0.90_rc3 only

Published 2007-04-16. Last modified 2026-06-16.