CVE-2024-54952 Null dereference in n/a

High 7.5 Published Updated

Remote unauthenticated attackers can cause a denial of service in the SMB service via crafted packets, affecting MikroTik RouterOS devices.

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-2024-54952?

CVE-2024-54952 is a high-severity vulnerability in Mikrotik Routeros, published on 29 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

MikroTik RouterOS 6.40.5, the SMB service contains a memory corruption vulnerability. Remote, unauthenticated attackers can exploit this issue by sending specially crafted packets, triggering a null pointer dereference. This leads to a Remote Denial of Service (DoS), rendering the SMB service unavailable.

Weakness: CWE-476

Which versions are affected by CVE-2024-54952?

It affects 1 product.

Products include Mikrotik Routeros.

How do I fix CVE-2024-54952?

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

Is CVE-2024-54952 being exploited?

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

All Mikrotik Routeros vulnerabilities

Sources

Also known as GHSA-q4jx-xcc8-66qx.

Is CVE-2024-54952 in your software?

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

Check your SBOMs for free