Advisory Details

October 24th, 2024

Nikon NEF Codec Thumbnail Provider NRW File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-24-1422
ZDI-CAN-19873

CVE ID CVE-2024-8025
CVSS SCORE 7.0, AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Nikon
AFFECTED PRODUCTS NEF Codec
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Nikon NEF Codec. 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 NRW 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.

ADDITIONAL DETAILS Nikon has issued an update to correct this vulnerability. More details can be found at:
https://downloadcenter.nikonimglib.com/en/download/sw/259.html
DISCLOSURE TIMELINE
  • 2024-06-27 - Vulnerability reported to vendor
  • 2024-10-24 - Coordinated public release of advisory
  • 2024-10-24 - Advisory Updated
CREDIT rgod
BACK TO ADVISORIES