CVE-2025-60674 Memory corruption in n/a

Medium 6.8 Published Updated

A stack buffer overflow in D-Link router firmware allows arbitrary code execution via a malicious USB device, requiring physical access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-60674?

CVE-2025-60674 is a medium-severity memory corruption vulnerability in n/a, published on 13 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A stack buffer overflow vulnerability exists in the D-Link DIR-878A1 router firmware FW101B04.bin in the rc binary's USB storage handling module. The vulnerability occurs when the "Serial Number" field from a USB device is read via sscanf into a 64-byte stack buffer, while fgets reads up to 127 bytes, causing a stack overflow. An attacker with physical access or control over a USB device can exploit this vulnerability to potentially execute arbitrary code on the device.

Weakness: CWE-121

Which versions are affected by CVE-2025-60674?

It affects 1 product.

Products include Dlink Dir-878 Firmware.

How do I fix CVE-2025-60674?

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

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

Sources

Also known as GHSA-j478-r957-h872.

Is CVE-2025-60674 in your software?

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

Check your SBOMs for free