CVE-2024-5874: IrfanView PNT File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability

Published Nov 22, 2024
·
Updated

IrfanView PNT 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 PNT 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-23969.

Affected Software

3 affected components
IrfanView IrfanView
All of the following
IrfanView Formats Irfanview<=4.66.2
IrfanView IrfanView<=4.67

Event History

Nov 22, 2024
CVE Published
via MITRE·08:05 PM
Data Sourced
via MITRE·08:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Feb 23, 2025
Advisory Published
via ZDI·12:50 AM

Frequently Asked Questions

1

What is the severity of CVE-2024-5874?

CVE-2024-5874 has a high severity rating due to its potential for remote code execution.

2

How do I fix CVE-2024-5874?

To fix CVE-2024-5874, update IrfanView to version 4.67 or later.

3

What are the prerequisites for exploiting CVE-2024-5874?

Exploitation of CVE-2024-5874 requires user interaction, specifically visiting a malicious PNT file.

4

Which versions of IrfanView are affected by CVE-2024-5874?

Versions of IrfanView prior to 4.67 are affected by CVE-2024-5874.

5

What type of vulnerability is CVE-2024-5874 classified as?

CVE-2024-5874 is classified as an Out-Of-Bounds Write vulnerability, leading to remote code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203