CVE-2025-7005 Avast antivirus infinite recursion when scanning a malformed PE file
Attackers can cause a denial of service in Avast, AVG, and Norton antivirus products by providing a malformed PE file that triggers infinite recursion.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-7005?
CVE-2025-7005 is a medium-severity denial of service vulnerability in Gen Digital AVG Antivirus, published on 12 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Uncontrolled recursion vulnerability in Avast Antivirus when scanning a malformed Windows PE file may allow Denial-of-Service of the antivirus process.
This issue affects Avast Antivirus, AVG Antivirus, Norton Antivirus, Avast One, and Avast Business Antivirus on Windows, macOS, and Linux for virus definition builds before VPS 25031700.
The affected scanning logic is delivered through a shared Gen Digital virus definition update stream. The same stream feeds the consumer antivirus products listed in this advisory and other Gen Digital products that embed the same engine. Mitigation flows through this update channel; installations at or above the listed build are not vulnerable regardless of which product consumes the stream.
Weakness: CWE-674
Which versions are affected by CVE-2025-7005?
How do I fix CVE-2025-7005?
No fix has been published for CVE-2025-7005 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-7005 being exploited?
There is no known exploitation of CVE-2025-7005 in the wild and no public exploit code.
Sources
Also known as GHSA-w5xg-24x3-2465.