CVE-2026-7857
Buffer Overflow in D-Link DI-8100 Router Firmware
Publication date: 2026-05-05
Last updated on: 2026-05-06
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| dlink | di-8100_firmware | 16.07.26a1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-120 | The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer. |
| CWE-119 | The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2026-7857 is a stack-based buffer overflow vulnerability found in the D-Link DI-8100 device running firmware version 16.07.26A1. It occurs in the web management interface's CGI handler at the /user_group.asp endpoint. The vulnerability arises because the function uses the unsafe sprintf function to concatenate user-supplied parameters into a fixed-size stack buffer without proper bounds checking.
An authenticated attacker can exploit this by sending a crafted HTTP POST request with an excessively long string in the 'attr' parameter, causing the buffer to overflow, corrupting the stack, and potentially crashing the HTTP service.
In some cases, this overflow could lead to remote code execution depending on the memory layout and payload used.
How can this vulnerability impact me? :
This vulnerability can impact you by allowing an authenticated attacker to cause a Denial of Service (DoS) by crashing the HTTP service of the device, making the web management interface unavailable.
Additionally, depending on the memory layout and the crafted payload, the attacker might achieve remote code execution, which could allow them to take control of the device or execute arbitrary code.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring for abnormal behavior or crashes in the HTTP service of the D-Link DI-8100 device, especially when accessing the /user_group.asp endpoint.
A practical detection method involves sending a crafted HTTP POST request to the /user_group.asp endpoint with an excessively long string in the 'attr' parameter to test for buffer overflow symptoms such as connection resets or service crashes.
For example, using curl to send a test payload:
- curl -X POST http://<device-ip>/user_group.asp -d "name=test&mem=1&pri=1&attr=$(python3 -c 'print("A"*1000)')"
If the HTTP service crashes or the connection is reset, it indicates the presence of the vulnerability.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The provided information does not specify any direct impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting access to the vulnerable /user_group.asp endpoint to trusted and authenticated users only, as the attack requires authentication.
Additionally, monitor the device for any unusual HTTP service crashes or resets that may indicate exploitation attempts.
If possible, apply firmware updates or patches from the vendor that replace the unsafe sprintf function with a safer alternative like snprintf to prevent buffer overflow.
As a temporary measure, consider disabling remote management or limiting management access to a secure network segment until a patch is available.