ZDI-24-904: IrfanView WSQ File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability

Published Jul 18, 2024
·
Updated

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 WSQ 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.

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-6812.

ZDI

Affected Software

1 affected component
IrfanView IrfanView

Event History

Jul 18, 2024
Advisory Published
via ZDI·05:00 AM
Data Sourced
via ZDI·05:00 AM
Description
Feb 22, 2025
Advisory Published
via ZDI·10:10 PM

Frequently Asked Questions

1

What is the severity of ZDI-24-904?

The severity of ZDI-24-904 is critical due to the potential for remote code execution.

2

How do I fix ZDI-24-904?

To fix ZDI-24-904, update IrfanView to the latest version that contains the security patches addressing this vulnerability.

3

What types of users are affected by ZDI-24-904?

All users of IrfanView are potentially affected by ZDI-24-904, particularly those who may open malicious files or access harmful web pages.

4

What is the attack vector for ZDI-24-904?

The attack vector for ZDI-24-904 involves user interaction, requiring victims to visit a malicious webpage or open a compromised file.

5

What can attackers achieve by exploiting ZDI-24-904?

By successfully exploiting ZDI-24-904, attackers can execute arbitrary code on the victim's system, potentially leading to full system compromise.

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