CVE-2024-5875 IrfanView SHP File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
Remote attackers can execute arbitrary code by tricking users into opening malicious SHP 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-5875?
CVE-2024-5875 is a high-severity memory corruption vulnerability in 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 SHP 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 SHP 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-23972.
Weakness: CWE-787
Which versions are affected by CVE-2024-5875?
It affects 1 product.
Products include Irfanview Formats.
How do I fix CVE-2024-5875?
No fix has been published for CVE-2024-5875 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-5875 being exploited?
There is no known exploitation of CVE-2024-5875 in the wild and no public exploit code.
Other vulnerabilities in IrfanView
- CVE-2009-0197 Integer overflow in n/a
- CVE-2024-5874 IrfanView PNT File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
- CVE-2024-5876 IrfanView PSP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
- CVE-2024-5877 IrfanView PIC File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
Sources
Also known as GHSA-62qp-pqg5-cf39.