CVE-2021-40647

MEDIUM

man2html 1.6g - Out-of-bounds Write via Heap Size Parameter Overwrite

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://gist.github.com/untaman/cb58123fe89fc65e3984165db5d40933

Scores

CVSS v3 5.5
EPSS 0.0031
EPSS Percentile 23.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-787
Status published
Products (1)
man2html_project/man2html 1.6g
Published Sep 09, 2022
Tracked Since Feb 18, 2026