CVE-2025-8159 Details
Description
A vulnerability was found in D-Link DIR-513 1.0. It has been rated as critical. This issue affects the function formLanguageChange of the file /goform/formLanguageChange of the component HTTP POST Request Handler. The manipulation of the argument curTime leads to stack-based buffer overflow. The attack may 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.
A critical stack-based buffer overflow vulnerability has been identified in the D-Link DIR-513 router, specifically in version 1.0. The issue arises within the Boa web server, which manages the device's web interface. The vulnerability is triggered when a remote attacker sends a crafted POST request to the /goform/formLanguageChange endpoint. The problem lies in the formLanguageChange function, where the curTime parameter is improperly validated before being used in a sprintf() call. This lack of validation allows attackers to send excessively long values, causing a buffer overflow that can overwrite the return address on the stack.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/boyslikesports/vul/blob/main/formLanguageChange.md | CISA-ADP | Broken Link |
| https://github.com/boyslikesports/vul/blob/main/formLanguageChange.md | [email protected] | Broken Link |
| https://vuldb.com/?ctiid.317573 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.317573 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.620604 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.dlink.com/ | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dlink dir-513 firmware | 1.0 |
CPE
Remediation
| |
| dlink dir-513 | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 16, 2025 | Initial Analysis | [email protected] |
| Jul 25, 2025 | New CVE Received | [email protected] |
| Jul 25, 2025 | CVE Modified | CISA-ADP |