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 parameter isn't aligned correctly. In version before GLIBC version 2.29 and aligned correctly, it allows arbitrary write anywhere in the programs memory.
CVE-2021-40647 is a vulnerability in 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., rated Moderate by Microsoft, with a CVSS 3.1 base score of 5.5 (Medium). An attacker can exploit it by an attacker with local access, without any privileges and only if a user takes an action. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 0.34% probability of exploitation activity in the next 30 days, higher than 20% of all scored vulnerabilities. Microsoft released the fix on 16 November 2026, outside Patch Tuesday. It affects 1 product in 1 product family (Open Source Software).
Key facts
- CVE ID
- CVE-2021-40647
- Severity
- Medium CVSS 5.5
- Microsoft severity
- Moderate
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-787
- EPSS
- 0.34% (percentile 20%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- September 2022 Patch Tuesday
- Product families
- Open Source Software
CVSS score and vector
Microsoft scores CVE-2021-40647 at 5.5 (temporal 5.5) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
| Metric | Value |
|---|---|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality impact | None |
| Integrity impact | None |
| Availability impact | High |
Affected products (1)
Open Source Software
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| azl4 man2html 1.6-40.g.azl4 on Azure Linux 4.0 | Release Notes | Security Update | 0:1.6-40.g.azl4 |
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 5.5 (MEDIUM)
- NVD weakness
- CWE-787
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| man2html 1.6g | all listed versions |
References
- https://gist.github.com/untaman/cb58123fe89fc65e3984165db5d40933 (Exploit, Third Party Advisory)
- https://gist.github.com/untaman/cb58123fe89fc65e3984165db5d40933 (Exploit, Third Party Advisory)
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. |