9.8

CVE-2012-10021: D-Link DIR-605L Captcha Handling Buffer Overflow

Analyzed
Published 31-07-2025Last modified 14-05-2026

Vulnerability summary

CVE-2012-10021 is a critical (CVSS 9.8) Stack-based Buffer Overflow vulnerability in d-link dir-605l_firmware. EPSS estimates a 19.62% chance of exploitation in the next 30 days, higher than 97.4% of scored vulnerabilities. 4 public exploits are recorded.

Priority
Prioritiseweaponized exploit

Weaponized exploit (Metasploit, 08-10-2012)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
19.62%
0%100%
Medium · +14.48 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits4reference, exploit-database, metasploit

Timeline

  1. 31-07-2025
    PublishedVulnerability first disclosed.
  2. 14-05-2026
    Last modifiedVulnerability information updated.

Description

A stack-based buffer overflow vulnerability exists in D-Link DIR-605L Wireless N300 Cloud Router firmware versions 1.12 and 1.13 via the getAuthCode() function. The flaw arises from unsafe usage of sprintf() when processing user-supplied CAPTCHA data via the FILECODE parameter in /goform/formLogin. A remote unauthenticated attacker can exploit this to execute arbitrary code with root privileges on the device.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

19.62%

Chance of exploitation in the next 30 days

Percentile

97%

Versus all other CVEs

30-day change

Increase +14.48 pp

From 5.14% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

4 found
  • referenceUnverified

    Exploit Reference (raw.githubusercontent.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (web.archive.org)

    Maturity: unknown

  • exploit-databaseremotehardwareUnverified

    D-Link DIR-605L - 'getAuthCode()' Unauthenticated Captcha Handling Buffer Overflow (Metasploit)

    Maturity: poc

Show all 4 exploits
  • MetasploitMetasploitremoteUnverified

    D-Link DIR-605L Captcha Handling Buffer Overflow

    exploit/linux/http/dlink_dir605l_captcha_bof

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

D-link1 product
Dlink1 product

2 vendors · 2 products

References

5 links