ZDI-CAN-23973: ZDI-24-669: 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.
Other sources
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 ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2024-5876.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-23973?
The severity of ZDI-CAN-23973 is critical due to the potential for remote code execution.
How do I fix ZDI-CAN-23973?
To fix ZDI-CAN-23973, update IrfanView to the latest version provided by the vendor.
What types of attacks can leverage ZDI-CAN-23973?
ZDI-CAN-23973 can be exploited through malicious web pages or files that the user interacts with.
Are all versions of IrfanView affected by ZDI-CAN-23973?
Yes, all versions of IrfanView prior to the patch are susceptible to ZDI-CAN-23973.
What is the impact of not addressing ZDI-CAN-23973?
Failure to address ZDI-CAN-23973 can result in unauthorized code execution and compromise of the system.