ClamAV: one deliberately broken file could stop the virus scanner
The open-source ClamAV scanner fixed ten security flaws on November 18. A malformed help file, Office document, packed executable or archive could crash the scanner or send it into an endless loop, and several of the bugs could write past the end of a memory buffer.
- CVE-2026-76411
- CVE-2026-76414
- CVE-2026-76415
- CVE-2026-76416
- CVE-2026-76417
- CVE-2026-76421
- CVE-2026-76422
- CVE-2026-76430
- CVE-2026-76515
- CVE-2026-76516
How it happened, step by step
Simplified diagram: the boxes are illustrative, but the sequence follows what the sources describe.
The scanner unpacks the attachment
An email arrives. The server hands the attachment to ClamAV, which unpacks it — archive, document, packed program — and only then looks for malware inside.
Use the arrow keys to move between steps.
- The scanner unpacks the attachment: An email arrives. The server hands the attachment to ClamAV, which unpacks it — archive, document, packed program — and only then looks for malware inside.
- The parser believes the file: To unpack, the code uses the sizes and offsets written inside the file. For some formats it did not check them properly.
- A malformed file arrives: The attacker sends a file whose internal fields are deliberately wrong. The scanner loops forever, runs out of memory or writes past a buffer, and stops.
- Mail backs up: If the server waits for the scanner, messages pile up. Whether they wait or pass through unscanned depends on the configuration.
- The fix: Versions 1.5.5 and 1.4.7 check the values found in the file and cap how much and how long they unpack. The malformed file no longer stops the scanner.
What happened
On November 18, 2026, Cisco Talos released ClamAV 1.5.5 and 1.4.7. The two patch releases close ten CVEs. The same day Cisco said its own Secure Endpoint connectors for Windows, Linux and Mac were affected too.
How it happened
ClamAV does more than match patterns: to look inside an attachment it first unpacks it. It understands a long list of formats for that — CHM help files, the OLE2 container behind Office documents, UPX-packed programs, InstallShield and XAR archives. Those parsers trusted the sizes, offsets and counts written inside the file, and in the faulty cases did not check them properly.
That went wrong in two ways. In the CHM, OLE2, InstallShield and XAR bugs the scanner loops forever, runs out of stack or memory, or fills up temporary storage. In the LZX-compressed CHM, UPX and yC unpackers, phishing-URL handling and logging bugs, the code reads or writes past the end of a buffer.
Who was affected
Every ClamAV release up to 1.5.4. Most of the bugs have been in the code for years; the oldest dates back to version 0.71. Mail servers and upload pipelines that hand incoming files to ClamAV automatically are the most exposed — there, sending an email may be enough.
Two of the flaws need a particular setup: CVE-2026-76411 requires full-hash phishing signatures to be loaded, and CVE-2026-76422 requires debug logging to be on, according to Cisco.
Consequences
Cisco rated all ten as denial of service (CVSS 7.5): the scanning process dies or hangs. If your mail flow waits for the scanner, messages pile up; if it lets mail through without it, mail goes unscanned. Which of the two happens depends on your own configuration.
ClamAV’s notes say several of the bugs can corrupt memory and the logging bug can leak memory contents. Neither source mentions code execution, and Cisco is not aware of anyone exploiting the flaws.
Cisco rates the risk as high on its Windows Secure Endpoint connector, where scanning runs with elevated privileges, and medium on Linux and Mac.
How it was resolved
Update to ClamAV 1.5.5 or 1.4.7. Source tarballs, GitHub releases and Docker Hub images are available, though the Docker images could lag on release day. If you installed ClamAV from your distribution, you need your distribution’s update.
Fixed Cisco Secure Endpoint connector versions: Windows 8.6.4, Linux 1.29.3, Mac 1.27.5. Cisco says there is no workaround.
What businesses can learn
Security software is attack surface too. A virus scanner opens and parses every untrusted file it sees, so it deserves the same patch urgency as your web server.
Bugs can hide for twenty years. Some of these date back to the 0.7x–0.9x releases; parsers for old file formats are the code fewest people look at.
Decide in advance what happens when the filter dies: should mail queue up, or pass through unscanned? That is not a choice to make in the middle of an incident.
More incidents
nginx: five critical flaws in the web server in front of millions of sites
F5 fixed five vulnerabilities in nginx that can let an unauthenticated attacker run code inside the nginx worker process. The most important one needs nothing more than HTTP/2 switched on.
Read the storyONLYOFFICE: from a view-only share to root on the server
Rapid7 found five flaws in ONLYOFFICE’s Document Server. Chained together, a document you were only allowed to look at was enough to run commands as root inside the server’s container.
Read the story