CVE-2021-40648

MEDIUM

man2html 1.6g - Use-After-Free via Chunk Metadata Manipulation

Title source: llm
STIX 2.1

Description

In man2html 1.6g, a filename can be created to overwrite the previous size parameter of the next chunk and the fd, bk, fd_nextsize, bk_nextsize of the current chunk. The next chunk is then freed later on, causing a freeing of an arbitrary amount of 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.2%
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-20
Status published
Products (1)
man2html_project/man2html 1.6g
Published Sep 09, 2022
Tracked Since Feb 18, 2026