CVE-2007-4916
Heap-based buffer overflow in the FileFind::FindFile method in (1) MFC42.dll, (2) MFC42u.dll, (3) MFC71.dll, and (4) MFC71u.dll in…
- 10.0HighCVSS base score
- 19.7%Exploitation in 30 daysEPSS · top 2.6% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list 2 Exploit-DB entries for it.
Show the exploits2
Exploit-DB2 entries
- Microsoft MFC Library - CFileFind::FindFile Buffer Overflow (Exploit-DB entry) (opens in a new tab)
EDB-ID 30593dos, windowspublished 14 Sept 2007Verified
- HP - ActiveX 'hpqutil.dll' ListFiles Remote Heap Overflow (PoC) (Exploit-DB entry) (opens in a new tab)
EDB-ID 4409dos, windowspublished 14 Sept 2007Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
Published
- 17 years later
· 17 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 19.7% · top 2.6% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 10.0.
Affected products
n/a
- affected n/a
References
13
- 25697 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 20070914 [GOODFELLAS-VULN] ActiveX hpqutil!ListFiles hpqutil.dll - Remoteheap overflow (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20070914 [GOODFELLAS-VULN] FileFind class from MFC Library cause heapoverflow (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 1018698 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- visual-mfc-findfile-bo(36608) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 25673 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- VU#611008 (opens in a new tab)third-party-advisoryx_refsource_CERT-VNx_transferred
- http://goodfellas.shellcode.com.ar/own/VULWKU200706142 (opens in a new tab)x_refsource_MISCx_transferred
- http://goodfellas.shellcode.com.ar/own/VULWAR200706041 (opens in a new tab)x_refsource_MISCx_transferred
- 3143 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- 26800 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2007-3182 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- hp-hpqutillistfiles-bo(36609) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2007-4897 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2007-4916)Record last updated .