# CVE-2021-40647: man2html: In man2html 1.6g, a specific string being read in from a file will overwrite the size parameter in the top chunk of t...

CVE-2021-40647 is fixed in man2html on 1 platform, first by DEBIAN-CVE-2021-40647, released September 9, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-40647
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0034
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 9, 2022

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | man2html Debian 13.5 (trixie) | 1.6g-16 | [DEBIAN-CVE-2021-40647](https://patchblox.com/security/data/fix/linux/debian-cve-2021-40647.md) | Sep 9, 2022 |
| Linux | man2html Debian 14 | 1.6g-16 | [DEBIAN-CVE-2021-40647](https://patchblox.com/security/data/fix/linux/debian-cve-2021-40647.md) | Sep 9, 2022 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
