CVE-2025-5228 D-Link DI-8100 jhttpd login.cgi httpd_get_parm stack-based overflow

High 8.7 Published Updated

A stack-based buffer overflow in the D-Link DI-8100 router allows local network attackers to execute arbitrary code via the login.cgi component.

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-5228?

CVE-2025-5228 is a high-severity memory corruption vulnerability in D-Link DI-8100, published on 27 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in D-Link DI-8100 up to 20250523. It has been classified as critical. Affected is the function httpd_get_parm of the file /login.cgi of the component jhttpd. The manipulation of the argument notify leads to stack-based buffer overflow. The attack can only be initiated within the local network. The exploit has been disclosed to the public and may be used.

Weakness: CWE-121, CWE-119

Which versions are affected by CVE-2025-5228?

It affects 1 product.

Products include Dlink Di-8100 Firmware.

How do I fix CVE-2025-5228?

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

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

Sources

Also known as GHSA-2g2q-92qg-99wf.

Is CVE-2025-5228 in your software?

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

Check your SBOMs for free