CVE-2021-47781 Cmder Console Emulator 1.3.18 - 'Cmder.exe' Denial of Service (PoC)

Medium 6.7 Published Updated

Attackers can crash Cmder Console Emulator by providing a maliciously crafted .cmd file, causing a 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-47781?

CVE-2021-47781 is a medium-severity memory corruption vulnerability in Cmder Console Emulator, published on 15 Jan 2026. 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

Cmder Console Emulator 1.3.18 contains a buffer overflow vulnerability that allows attackers to trigger a denial of service condition through a maliciously crafted .cmd file. Attackers can create a specially constructed .cmd file with repeated characters to overwhelm the console emulator's buffer and crash the application.

Weakness: CWE-787

Which versions are affected by CVE-2021-47781?

How do I fix CVE-2021-47781?

No fix has been published for CVE-2021-47781 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-47781 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47781 exists.

Sources

Also known as GHSA-7wmq-973g-rwg4.

Is CVE-2021-47781 in your software?

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

Check your SBOMs for free