cve.bz

CVE-2021-40647 man2html project man2html: Out-of-bounds Write

5.5 mediumExploit referenceEPSS 0.3%

Medium (5.5) in man2html project man2html. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
In man2html 1.6g, a specific string being read in from a file will overwrite the size parameter in the top chunk of the heap. This at least causes the program to segmentation abort if the heap size parameter isn't aligned correctly. In version before GLIBC version 2.29 and aligned correctly, it allows arbitrary write anywhere in the programs memory.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 28th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-40647 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-40647?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-40647?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-40647 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
man2html_project:man2html1.6g

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12man2htmlno fix listedDEBIAN-CVE-2021-40647
Debian13, 14man2html1.6g-16DEBIAN-CVE-2021-40647
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moreman2htmlno fix listedUBUNTU-CVE-2021-40647

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

References

Check your stackJSON