IrfanView SHP 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 SHP files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-23972.
                
            Metrics
Affected Vendors & Products
References
        | Link | Providers | 
|---|---|
| https://www.zerodayinitiative.com/advisories/ZDI-24-668/ |     | 
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 SHP 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 SHP files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-23972. | |
| Title | IrfanView SHP File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability | |
| Weaknesses | CWE-787 | |
| References |  | |
| Metrics | cvssV3_0 
 | 
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: zdi
Published: 2024-11-22T20:05:36.683Z
Updated: 2024-11-22T21:55:50.061Z
Reserved: 2024-06-11T16:22:27.499Z
Link: CVE-2024-5875
 Vulnrichment
                        Vulnrichment
                    Updated: 2024-11-22T21:46:50.895Z
 NVD
                        NVD
                    Status : Analyzed
Published: 2024-11-22T20:15:11.030
Modified: 2025-08-07T16:42:02.120
Link: CVE-2024-5875
 Redhat
                        Redhat
                    No data.