CVE-2021-40985

NameCVE-2021-40985
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2928-1, ELA-570-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
htmldoc (PTS)jessie, jessie (lts)1.8.27-8+deb8u4fixed
stretch (security), stretch (lts), stretch1.8.27-8+deb9u3fixed
buster1.9.3-1+deb10u4fixed
buster (security), buster (lts)1.9.3-1+deb10u2vulnerable
bullseye1.9.11-4+deb11u3fixed
bookworm1.9.16-1fixed
sid, trixie1.9.20-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
htmldocsourcejessie1.8.27-8+deb8u3ELA-570-1
htmldocsourcestretch1.8.27-8+deb9u2DLA-2928-1
htmldocsourcebuster1.9.3-1+deb10u3
htmldocsourcebullseye1.9.11-4+deb11u1
htmldocsource(unstable)1.9.13-1unimportant

Notes

https://github.com/michaelrsweet/htmldoc/issues/444
https://github.com/michaelrsweet/htmldoc/commit/f12b9666e582a8e7b70f11b28e5ffc49ad625d43 (v1.9.13)
Crash in CLI tool, no security impact

Search for package or bug name: Reporting problems