Description
The tnef_attachment function in tnef.c for Clam AntiVirus (ClamAV) before 0.87.1 allows remote attackers to cause a denial of service (infinite loop and memory exhaustion) via a crafted value in a CAB file that causes ClamAV to repeatedly scan the same block.
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 ↗Advisories 2
- DSA-887-1 clamav - several Debian Security (DSA / DLA) · Mar 9, 2026
- DTSA-21-1 clamav - Denial of service vulnerabilities and buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- 17451 third-party-advisory
- GLSA-200511-04 vendor-advisory
- 152 third-party-advisory
- 17501 third-party-advisory
- 17184 third-party-advisory
- 20483 vdb-entry
- MDKSA-2005:205 vendor-advisory
- 17559 third-party-advisory
- 20051104 Clam AntiVirus tnef_attachment() DoS Vulnerability third-party-advisory
- 15316 vdb-entry
- http://sourceforge.net/project/shownotes.php?release_id=368319
- ADV-2005-2294 vdb-entry
- DSA-887 vendor-advisory
- 17434 third-party-advisory
- 1015154 vdb-entry