CVEfocus › CVE database › CVE-2021-40647

CVE-2021-40647

CVSS 5.5 MediumEPSS 0.3% (higher than 20% of CVEs)Published 2022-09-09Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
2Fix pending
3Under investigation
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10man2htmlFix pendingUBUNTU-CVE-2021-40647
Ubuntu 26.04man2htmlUnder investigationUBUNTU-CVE-2021-40647
Ubuntu 25.10man2htmlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-40647
Ubuntu 24.04man2htmlUnder investigationUBUNTU-CVE-2021-40647
Ubuntu 22.04man2htmlUnder investigationUBUNTU-CVE-2021-40647
Ubuntu 20.04man2htmlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-40647
Ubuntu 18.04man2htmlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-40647
Ubuntu 16.04man2htmlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-40647
Ubuntu 14.04man2htmlWill not fix
Ubuntu decided not to fix this in this release
Debian 14man2htmlFixed1.6g-16DEBIAN-CVE-2021-40647
Debian 13man2htmlFixed1.6g-16DEBIAN-CVE-2021-40647
Debian 12man2htmlFix pendingDEBIAN-CVE-2021-40647

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.