CVE-2007-4916 Memory corruption in n/a

Critical 10.0 Published Updated

Heap-based buffer overflow in MFC Library allows attackers to execute arbitrary code or cause denial of service via crafted input.

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-2007-4916?

CVE-2007-4916 is a critical memory corruption vulnerability in n/a, published on 17 Sep 2007. 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

Heap-based buffer overflow in the FileFind::FindFile method in (1) MFC42.dll, (2) MFC42u.dll, (3) MFC71.dll, and (4) MFC71u.dll in Microsoft Foundation Class (MFC) Library 8.0, as used by the ListFiles method in hpqutil.dll 2.0.0.138 in Hewlett-Packard (HP) All-in-One and Photo & Imaging Gallery 1.1 and probably other products, allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long first argument.

Weakness: CWE-119

Which versions are affected by CVE-2007-4916?

It affects 2 products.

Products include Hp All-in-on Printer, Hp Photo and Imaging Gallery.

How do I fix CVE-2007-4916?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-4916 exists.

Public exploit code: 2 Exploit-DB entries.

Sources

Also known as GHSA-frv7-rf72-j8fp.

Is CVE-2007-4916 in your software?

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

Check your SBOMs for free