CVE-2019-25741 Mobatek MobaXterm 12.1 Buffer Overflow via Sessions File

Critical 9.3 Published Updated

Remote attackers can execute arbitrary code by tricking users into importing a malicious session file in MobaXterm.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-25741?

CVE-2019-25741 is a critical memory corruption vulnerability in Mobatek MobaXterm, published on 4 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Mobatek MobaXterm 12.1 contains a structured exception handling (SEH) based buffer overflow vulnerability in the username field of session files that allows remote attackers to execute arbitrary code. Attackers can craft a malicious MobaXterm sessions file with overflow data that triggers the vulnerability when imported and executed, enabling reverse shell execution with user privileges.

Weakness: CWE-120

Which versions are affected by CVE-2019-25741?

How do I fix CVE-2019-25741?

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

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

Sources

Also known as GHSA-288f-q89m-r9qr.

Is CVE-2019-25741 in your software?

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

Check your SBOMs for free