7.5
CWE
NVD-CWE-Other 119
Advisory Published
Updated

CVE-2007-1997: Buffer Overflow

First published: Mon Apr 16 2007(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
ClamXAV=0.90.1
ClamXAV=0.90
ClamXAV=0.90.2
ClamXAV=0.90_rc1.1
ClamXAV=0.90_rc2
ClamXAV=0.90_rc3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2007-1997?

    CVE-2007-1997 has a high severity rating due to its potential to allow remote code execution.

  • How do I fix CVE-2007-1997?

    To fix CVE-2007-1997, upgrade ClamAV to version 0.90.2 or later.

  • What types of files are exploited in CVE-2007-1997?

    CVE-2007-1997 exploits crafted CHM files that contain negative integers.

  • Which versions of ClamAV are affected by CVE-2007-1997?

    CVE-2007-1997 affects ClamAV versions 0.90 and earlier, including 0.90.1.

  • Can CVE-2007-1997 be exploited remotely?

    Yes, CVE-2007-1997 can be exploited remotely by attackers using specially crafted files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203