CVE-2016-9422
High · 8.8CVSS
8.8
EPSS
3.2%
Published
Dec 12, 2016
CISA due date
—
Cloudanix analysis
A flaw in a tool that reads web pages can let attackers crash the program or run their own code if someone views a specially crafted page.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Improper validation of table span attribute values in feed_table_tag allows stack or heap buffer overflow when parsing crafted HTML, leading to memory corruption that can result in denial of service or arbitrary code execution.
Why it matters to the business
Attackers can crash or take control of systems processing untrusted web content, leading to service disruption or compromise; the vulnerability is present in long-deployed cadvisor packages but has seen no observed exploitation or ransomware use despite years of public availability.
How an attack unfolds
An attacker creates a malicious HTML page containing a table with an oversized or malformed span attribute, then delivers it to a victim application that uses the vulnerable w3m parsing code; when the page is rendered, the buffer overflow occurs and the attacker gains control or causes a crash.
How to fix it
Upgrade affected cadvisor packages to the fixed versions 0.49.1-r7 (Chainguard) or 0.49.1-r7 (Wolfi) and rebuild or redeploy any containers using the patched images.
How to confirm the fix worked
Confirm package versions match the fixed releases, then test parsing of a crafted HTML table containing an extreme span attribute to verify the overflow condition is no longer triggered.
Typical attack path
- Craft malicious HTML with invalid table span value
- Host or embed the page in a location reachable by the target application
- Trigger rendering or parsing of the page inside the vulnerable w3m component
- Exploit resulting memory corruption to execute code or crash the process
How to detect it
Review application logs for crashes or segmentation faults during HTML parsing; because the vulnerability is old and has no known exploitation campaigns, focus on historical crash artifacts or memory dumps rather than active indicators.
What your security team should do
- Immediately update cadvisor to the stated fixed versions across all environments
- Audit container images for any remaining older w3m or cadvisor dependencies
- Add HTML parsing of untrusted content to the list of high-risk operations requiring sandboxing or isolation
The record
An issue was discovered in the Tatsuya Kinoshita w3m fork before 0.5.3-31. The feed_table_tag function in w3m doesn't properly validate the value of table span, which allows remote attackers to cause a denial of service (stack and/or heap buffer overflow) and possibly execute arbitrary code via a crafted HTML page.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | w3m | 0 | 0.5.3-30 |
| Debian:12 | w3m | 0 | 0.5.3-30 |
| Debian:13 | w3m | 0 | 0.5.3-30 |
| Mageia:5 | w3m | 0 | 0.5.3-8.2.mga5 |
| SUSE:Linux Enterprise Server 11 SP4 | w3m | 0 | 0.5.3.git20161120-4.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | w3m | 0 | 0.5.3.git20161120-4.1 |
| Ubuntu:14.04:LTS | w3m | 0 | 0.5.3-15ubuntu0.1 |
| Ubuntu:16.04:LTS | w3m | 0 | 0.5.3-26ubuntu0.1 |
Related vulnerabilities
- CVE-2016-9427 Integer overflow vulnerability in bdwgc before 2016-09-27 allows attackers to cause… Also affects w3m
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-119
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-119
- CVE-2026-90831 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90804 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90803 A security vulnerability has been detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90801 A security flaw has been discovered in GNU Binutils 2.47. CWE-119
- CVE-2026-87933 A vulnerability was found in DaveGamble cJSON up to 1.7.19. CWE-119