Description
Off-by-one error in the parseicon function in libclamav/pe_icons.c in ClamAV 0.96 allows remote attackers to cause a denial of service (crash) via a crafted PE icon that triggers an out-of-bounds read, related to improper rounding during scaling.
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.96.1+dfsg-1 | — |
| Debian 13 | clamav | 0.96.1+dfsg-1 | — |
| Debian 12 | clamav | 0.96.1+dfsg-1 | — |
References
- http://git.clamav.net/gitweb?p=clamav-devel.git%3Ba=blobdiff%3Bf=libclamav/pe_icons.c%3Bh=3f1bc5be69d0f9d84e576814d1a3cc6f40c4ff2c%3Bhp=39a714f05968f9e929576bf171dd0eb58bf06bef%3Bhb=7f0e3bbf77382d9782e0189bf80f5f59a95779b3%3Bhpb=f0eb394501ec21b9fe67f36cbf5db788711d4236
- [oss-security] 20100521 CVE Request: off by one DoS in pe_icons.c mailing-list
- clamav-parseicon-dos(58825) vdb-entry
- 40318 vdb-entry
- ADV-2010-1214 vdb-entry
- MDVSA-2010:110 vendor-advisory
- SUSE-SR:2010:014 vendor-advisory
- https://wwws.clamav.net/bugzilla/show_bug.cgi?id=2031
- 39895 third-party-advisory
- http://git.clamav.net/gitweb?p=clamav-devel.git%3Ba=blob_plain%3Bf=ChangeLog%3Bhb=clamav-0.96.1