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

High 7.8 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening malicious TIF 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-40662?

CVE-2022-40662 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 TIF images. Crafted data in a TIF image can trigger a read 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-15351.

Weakness: CWE-125

Which versions are affected by CVE-2022-40662?

It affects 1 product.

Products include Nikon Nis-Elements Viewer.

How do I fix CVE-2022-40662?

No fix has been published for CVE-2022-40662 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-40662 being exploited?

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

Sources

Also known as GHSA-q3jf-w4ph-7r73.

Is CVE-2022-40662 in your software?

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

Check your SBOMs for free