CVE-2022-40655 Memory corruption in NIS-Elements Viewer

High 7.8 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening malicious ND2 files in NIKON NIS-Elements Viewer.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-40655?

CVE-2022-40655 is a high-severity memory corruption vulnerability in NIKON NIS-Elements Viewer, published on 15 Sep 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

This vulnerability allows remote attackers to execute arbitrary code on affected installations of NIKON NIS-Elements Viewer 1.2100.1483.0. 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 ND2 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-15071.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2022-40655?

It affects 1 product.

Products include Nikon Nis-Elements Viewer.

How do I fix CVE-2022-40655?

No fix has been published for CVE-2022-40655 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-40655 being exploited?

There is no known exploitation of CVE-2022-40655 in the wild and no public exploit code.

Sources

Also known as GHSA-ppmm-vg73-p2w2.

Is CVE-2022-40655 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free