CVE-2024-6821 IrfanView CIN File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability

High 7.8 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening malicious CIN files in IrfanView due to an out-of-bounds write.

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-2024-6821?

CVE-2024-6821 is a high-severity memory corruption vulnerability in Irfanview Irfanview, published on 22 Nov 2024. 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

IrfanView CIN File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of IrfanView. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of CIN files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-23260.

Weakness: CWE-787

Which versions are affected by CVE-2024-6821?

It affects 1 product.

Products include Irfanview Irfanview.

How do I fix CVE-2024-6821?

No fix has been published for CVE-2024-6821 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-6821 being exploited?

There is no known exploitation of CVE-2024-6821 in the wild and no public exploit code.

All Irfanview Irfanview vulnerabilities

Sources

Also known as GHSA-hwfx-3gvr-3fcv.

Is CVE-2024-6821 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free