Buffer Overflow Affecting htmldoc package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.06% (31st 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-UBUNTU2004-HTMLDOC-1912109
  • published20 Feb 2025
  • disclosed3 Nov 2021

Introduced: 3 Nov 2021

CVE-2021-40985  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 htmldoc.

NVD Description

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

A stack-based buffer under-read in htmldoc before 1.9.12, allows attackers to cause a denial of service via a crafted BMP image to image_load_bmp.

CVSS Scores

version 3.1