CVE-2024-5876 IrfanView PSP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| irfanview | = 4.67 64bit; >= 4.67, < 4.70 | 4.70 | Fixed |
| irfanview formats | <= 4.66.2 | after 4.66.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| irfanview | = 4.67 64bit | No fix listed |
| irfanview | >= 4.67, < 4.70 | 4.70 |
| irfanview formats | <= 4.66.2 | No fix listed |
References
- ZDI-24-669 third-party-advisory