Web-management crash via unchecked fn parameter
Published Apr 28, 2026 · Updated Apr 28, 2026
Stack-based buffer overflow in the tgfile.htm CGI endpoint in D-Link DI-8100 16.07.26A1 allows remote attackers to crash web management. The tgfile_htm handler passes the user-controlled fn value to sprintf after an 11-byte prefix without checking whether it fits a 128-byte stack buffer. The public proof of concept uses a session cookie, while the reporter states that some builds expose the endpoint without authentication; a 200-byte value crashes the web server until the device is rebooted.
Summary
What happened
Stack-based buffer overflow in the tgfile.htm CGI endpoint in D-Link DI-8100 16.07.26A1 allows remote attackers to crash web management. The tgfile_htm handler passes the user-controlled fn value to sprintf after an 11-byte prefix without checking whether it fits a 128-byte stack buffer. The public proof of concept uses a session cookie, while the reporter states that some builds expose the endpoint without authentication; a 200-byte value crashes the web server until the device is rebooted.
The record
- CVE
- CVE-2026-7248
- Published
- Apr 28, 2026
- Updated
- Apr 28, 2026
- Vendor
- D-Link
- Product
- DI-8100
- Classifications
- CWE-120, CWE-119, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 28, 2026CVE publishedPublication date reported by the CVE source.
- Apr 28, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=16.07.26A1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- DI-8100 tgfile_htm fn parameter proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo