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.
                
            Metrics
Affected Vendors & Products
References
        | Link | Providers | 
|---|---|
| https://www.zerodayinitiative.com/advisories/ZDI-24-669/ |     | 
History
                    Thu, 07 Aug 2025 16:45:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time appeared | Irfanview formats | |
| CPEs | cpe:2.3:a:irfanview:formats:*:*:*:*:*:irfanview:x64:* cpe:2.3:a:irfanview:irfanview:*:*:*:*:*:*:x64:* | |
| Vendors & Products | Irfanview formats | 
Fri, 22 Nov 2024 22:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time appeared | Irfanview Irfanview irfanview | |
| CPEs | cpe:2.3:a:irfanview:irfanview:-:*:*:*:*:*:*:* | |
| Vendors & Products | Irfanview Irfanview irfanview | |
| Metrics | ssvc 
 | 
Fri, 22 Nov 2024 20:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| 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. | |
| Title | IrfanView PSP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability | |
| Weaknesses | CWE-122 | |
| References |  | |
| Metrics | cvssV3_0 
 | 
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: zdi
Published: 2024-11-22T20:05:37.770Z
Updated: 2024-11-22T21:55:50.197Z
Reserved: 2024-06-11T16:22:51.592Z
Link: CVE-2024-5876
 Vulnrichment
                        Vulnrichment
                    Updated: 2024-11-22T21:46:53.457Z
 NVD
                        NVD
                    Status : Analyzed
Published: 2024-11-22T20:15:11.150
Modified: 2025-08-07T16:42:05.160
Link: CVE-2024-5876
 Redhat
                        Redhat
                    No data.