CVE-2021-40648 Memory corruption in n/a

Medium 5.5 Published Updated

A memory corruption vulnerability in man2html allows attackers to corrupt heap metadata, potentially leading to arbitrary code execution or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-40648?

CVE-2021-40648 is a medium-severity memory corruption vulnerability in n/a, published on 9 Sep 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2021-40648?

It affects 1 product.

Products include Man2html Project Man2html.

How do I fix CVE-2021-40648?

No fix has been published for CVE-2021-40648 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-40648 being exploited?

There is no known exploitation of CVE-2021-40648 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2021-40648, GHSA-x62g-3vp2-7m3v, UBUNTU-CVE-2021-40648.

Is CVE-2021-40648 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free