VYPR
Unrated severityNVD Advisory· Published Jun 20, 2025· Updated Jun 20, 2025

D-Link DIR-867 Query String strncpy stack-based overflow

CVE-2025-6334

Description

A vulnerability has been found in D-Link DIR-867 1.0 and classified as critical. This vulnerability affects the function strncpy of the component Query String Handler. The manipulation leads to stack-based buffer overflow. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. This vulnerability only affects products that are no longer supported by the maintainer.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Stack-based buffer overflow in D-Link DIR-867 1.0 Query String Handler allows remote unauthenticated attackers to cause denial of service or potentially execute arbitrary code.

Vulnerability

A stack-based buffer overflow vulnerability exists in the prog.fcgi component of D-Link DIR-867 A1 firmware version 1.00B07. The flaw resides in the strncpy function within the Query String Handler. When processing the REQUEST_URI or method= parameter in the query string, strncpy copies user-supplied input into a fixed 256-byte stack buffer without enforcing a length limit. This allows an attacker to overwrite adjacent stack memory, including return addresses. The product is end-of-life and no longer supported by the vendor [1][2].

Exploitation

An unauthenticated attacker can exploit this vulnerability remotely by sending a crafted HTTP POST request to the affected router. By supplying an overly long method= parameter (e.g., 254 bytes or more) or a malformed REQUEST_URI, the attacker can control the copy length via the difference between the start position after method= and the & delimiter. The strncpy call then overflows the stack buffer. No authentication or user interaction is required. The exploit has been publicly disclosed [2].

Impact

Successful exploitation causes the prog.fcgi process to crash, leading to a denial of service (DoS) condition. While the reference notes that obtaining a shell has not been verified, the stack overflow is sufficient to overwrite critical stack variables and return addresses, potentially enabling arbitrary code execution with the privileges of the web server. The impact is limited to the router's web interface functionality [2].

Mitigation

D-Link has not released a patch for this vulnerability, as the DIR-867 is an end-of-life product no longer supported by the vendor [1]. No workaround is available. Users are advised to replace the device with a supported model to mitigate the risk. The vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Dlink/DIR-867llm-create2 versions
    =1.0+ 1 more
    • (no CPE)range: =1.0
    • (no CPE)range: 1.0

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.