CVE-2024-5877: IrfanView PIC File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
IrfanView PIC 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 PIC files. The issue results from the lack of proper validation of user-supplied data, which can result in a write before the start of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-23974.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-5877?
CVE-2024-5877 has a high severity rating due to its potential for remote code execution.
How do I fix CVE-2024-5877?
To fix CVE-2024-5877, update IrfanView to version 4.67 or later.
What type of vulnerability is CVE-2024-5877?
CVE-2024-5877 is an out-of-bounds write vulnerability that can lead to remote code execution.
Who is affected by CVE-2024-5877?
CVE-2024-5877 affects users running IrfanView versions up to 4.66.2.
Is user interaction required to exploit CVE-2024-5877?
Yes, user interaction is required as the target needs to open a specially crafted PIC file.