Loop with Unreachable Exit Condition ('Infinite Loop') Affecting w3m package, versions <0.5.3-26ubuntu0.2


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.05% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-W3M-395445
  • published25 Jan 2018
  • disclosed25 Jan 2018

Introduced: 25 Jan 2018

CVE-2018-6196  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 w3m to version 0.5.3-26ubuntu0.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream w3m package and not the w3m package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the feed_table_block_tag function in table.c does not prevent a negative indent value.