Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | clamav | 0.90.2-1 | — |
| Debian 13 | clamav | 0.90.2-1 | — |
| Debian 12 | clamav | 0.90.2-1 | — |
| Debian 5.0 | clamav | 0.90.1-3lenny2 | DTSA-37-1 |
| Debian 4.0 | clamav | 0.90.1-3etch1 | DSA-1281-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 3.1 | clamav | 0.84-2.sarge.16 | DSA-1281-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | clamav | 0.103.3-1.4 | openSUSE-SU-2024:10685-1 |
Advisories 3
- DTSA-37-1 clamav - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1281-1 clamav - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10685-1 clamav-0.103.3-1.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 25022 third-party-advisory
- 2007-0013 vendor-advisory
- clamav-cabunstore-cabextract-bo(33637) vdb-entry
- 1017921 vdb-entry
- 20070416 Clam AntiVirus ClamAV CAB File Unstore Buffer Overflow Vulnerability third-party-advisory
- 23473 vdb-entry
- 24996 third-party-advisory
- MDKSA-2007:098 vendor-advisory
- ADV-2008-0924 vdb-entry
- SUSE-SA:2007:026 vendor-advisory
- 29420 third-party-advisory
- APPLE-SA-2008-03-18 vendor-advisory
- 25189 third-party-advisory
- http://docs.info.apple.com/article.html?artnum=307562
- http://support.novell.com/techcenter/psdb/50a5cb718f20761dd7e0b6b4e0935c52.html
- http://sourceforge.net/project/shownotes.php?release_id=500765
- ADV-2007-1378 vdb-entry
- 25028 third-party-advisory
- GLSA-200704-21 vendor-advisory
- 24946 third-party-advisory
- DSA-1281 vendor-advisory
- 24920 third-party-advisory
- 24891 third-party-advisory