CVE-2024-5876: IrfanView PSP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
IrfanView PSP File Parsing Heap-based Buffer Overflow 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 PSP files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-23973.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-5876?
CVE-2024-5876 is a critical vulnerability that allows remote code execution via a heap-based buffer overflow.
How do I fix CVE-2024-5876?
To fix CVE-2024-5876, update IrfanView to version 4.67 or later.
What types of software are affected by CVE-2024-5876?
CVE-2024-5876 affects IrfanView versions up to and including 4.66.2.
What is required to exploit CVE-2024-5876?
Exploitation of CVE-2024-5876 requires user interaction, as the target must open a specially crafted file.
What can happen if CVE-2024-5876 is exploited?
If CVE-2024-5876 is exploited, an attacker can execute arbitrary code on the affected system.