CVE-2021-40647 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 pa...
MediumCVSS 5.5
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
12 packages: 2 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/man2html(Debian 12) | = 1.6g-14; = 1.6g-15; = 1.6g-16; All versions | No fix listed | No fix yet |
| ubuntu/man2html(Ubuntu 16.04) | = 1.6g-7; = 1.6g-8; All versions | No fix listed | No fix yet |
| ubuntu/man2html(Ubuntu 18.04) | = 1.6g-9; = 1.6g-9ubuntu1; = 1.6g-11; All versions | No fix listed | No fix yet |
| ubuntu/man2html(Ubuntu 20.04) | = 1.6g-12; All versions | No fix listed | No fix yet |
| ubuntu/man2html(Ubuntu 22.04) | = 1.6g-14; All versions | No fix listed | No fix yet |
| ubuntu/man2html(Ubuntu 24.04) | = 1.6g-14; = 1.6g-15; = 1.6g-16; All versions | No fix listed | No fix yet |
| ubuntu/man2html(Ubuntu 25.10) | = 1.6g-16; All versions | No fix listed | No fix yet |
| ubuntu/man2html(Ubuntu 26.04) | = 1.6g-16; = 1.6g-16build1; All versions | No fix listed | No fix yet |
| ubuntu/man2html(Ubuntu 26.10) | = 1.6g-16build1; All versions | No fix listed | No fix yet |
| debian/man2html(Debian 13) | < 1.6g-16 | 1.6g-16 | Fixed |
| debian/man2html(Debian 14) | < 1.6g-16 | 1.6g-16 | Fixed |
| man2html project man2html | = 1.6g | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/man2html(Debian:12) | All versions | No fix listed |
| debian/man2html(Debian:12) | = 1.6g-14 | No fix listed |
| debian/man2html(Debian:12) | = 1.6g-15 | No fix listed |
| debian/man2html(Debian:12) | = 1.6g-16 | No fix listed |
| debian/man2html(Debian:13) | < 1.6g-16 | 1.6g-16 |
| debian/man2html(Debian:14) | < 1.6g-16 | 1.6g-16 |
| ubuntu/man2html(Ubuntu:22.04) | All versions | No fix listed |
| man2html project man2html | = 1.6g | No fix listed |
| ubuntu/man2html(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/man2html(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/man2html(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/man2html(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/man2html(Ubuntu:16.04) | = 1.6g-7 | No fix listed |
| ubuntu/man2html(Ubuntu:16.04) | = 1.6g-8 | No fix listed |
| ubuntu/man2html(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/man2html(Ubuntu:18.04) | = 1.6g-9 | No fix listed |
| ubuntu/man2html(Ubuntu:18.04) | = 1.6g-9ubuntu1 | No fix listed |
| ubuntu/man2html(Ubuntu:18.04) | = 1.6g-11 | No fix listed |
| ubuntu/man2html(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/man2html(Ubuntu:20.04) | = 1.6g-12 | No fix listed |
| ubuntu/man2html(Ubuntu:22.04) | = 1.6g-14 | No fix listed |
| ubuntu/man2html(Ubuntu:24.04) | = 1.6g-14 | No fix listed |
| ubuntu/man2html(Ubuntu:24.04) | = 1.6g-15 | No fix listed |
| ubuntu/man2html(Ubuntu:24.04) | = 1.6g-16 | No fix listed |
| ubuntu/man2html(Ubuntu:25.10) | All versions | No fix listed |
Show 4 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/man2html(Ubuntu:25.10) | = 1.6g-16 | No fix listed |
| ubuntu/man2html(Ubuntu:26.10) | = 1.6g-16build1 | No fix listed |
| ubuntu/man2html(Ubuntu:26.04) | = 1.6g-16 | No fix listed |
| ubuntu/man2html(Ubuntu:26.04) | = 1.6g-16build1 | No fix listed |
References
- Debian Security Tracker CVE-2021-40647 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- gist.github.com exploit issue-tracking third-party-advisory
- bugs.debian.org issue-tracking