CVE-2024-51138
CVE-2024-51138 is a critical-severity vulnerability in Draytek Vigor3912 Firmware with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-121.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 1% (59th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-5925
- Weakness: CWE-121
- Affected product: Draytek Vigor3912 Firmware
- Published:
- Last modified:
Description
Vigor165/166 4.2.7 and earlier; Vigor2620/LTE200 3.9.8.9 and earlier; Vigor2860/2925 3.9.8 and earlier; Vigor2862/2926 3.9.9.5 and earlier; Vigor2133/2762/2832 3.9.9 and earlier; Vigor2135/2765/2766 4.4.5. and earlier; Vigor2865/2866/2927 4.4.5.3 and earlier; Vigor2962 4.3.2.8 and earlier; Vigor3912 4.3.6.1 and earlier; Vigor3910 4.4.3.1 and earlier a stack-based buffer overflow vulnerability has been identified in the URL parsing functionality of the TR069 STUN server. This flaw occurs due to insufficient bounds checking on the amount of URL parameters, allowing an attacker to exploit the overflow by sending a maliciously crafted request. Consequently, a remote attacker can execute arbitrary code with elevated privileges.
Frequently asked questions
- What is CVE-2024-51138?
- Vigor165/166 4.2.7 and earlier; Vigor2620/LTE200 3.9.8.9 and earlier; Vigor2860/2925 3.9.8 and earlier; Vigor2862/2926 3.9.9.5 and earlier; Vigor2133/2762/2832 3.9.9 and earlier; Vigor2135/2765/2766 4.4.5. and earlier; Vigor2865/2866/2927 4.4.5.3 and earlier; Vigor2962 4.3.2.8 and earlier; Vigor3912 4.3.6.1 and earlier; Vigor3910 4.4.3.1 and earlier a stack-based buffer overflow vulnerability has been identified in the URL parsing functionality of the TR069 STUN server. This flaw occurs due to insufficient bounds checking on the amount of URL parameters, allowing an attacker to exploit the overflow by sending a maliciously crafted request. Consequently, a remote attacker can execute arbitrary code with elevated privileges.
- How severe is CVE-2024-51138?
- CVE-2024-51138 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-51138 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (59th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-51138?
- CVE-2024-51138 primarily affects Draytek Vigor3912 Firmware. In total, 23 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-51138?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-51138 have an EU (EUVD) identifier?
- Yes. CVE-2024-51138 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-5925.
- When was CVE-2024-51138 published?
- CVE-2024-51138 was published on 2025-02-27 and last updated on 2026-07-05.
References
EU advisories (EUVD)
Affected products (23)
- cpe:2.3:o:draytek:vigor3912_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2620_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigorlte200_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2860_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2925_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2862_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2926_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2133_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2762_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2832_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2135_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2765_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2766_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2763_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2865_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2866_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2927_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2962_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor3910_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2915_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor1000b_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor2952_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:draytek:vigor3220_firmware:*:*:*:*:*:*:*:*
More vulnerabilities in Draytek Vigor3912 Firmware
- CVE-2024-51139 — Critical (CVSS 9.8): Buffer Overflow vulnerability in Vigor2620/LTE200 3.9.8.9 and earlier and Vigor2860/2925 3.9.8 and earlier and…
- CVE-2024-41593 — Critical (CVSS 9.8): DrayTek Vigor310 devices through 4.3.2.6 allow a remote attacker to execute arbitrary code via the function…
- CVE-2024-41339 — High (CVSS 8.8): An issue in the CGI endpoint used to upload configurations in Draytek devices Vigor 165/166 prior to v4.2.6 , Vigor…
- CVE-2024-41334 — High (CVSS 8.8): Draytek devices Vigor 165/166 prior to v4.2.6 , Vigor 2620/LTE200 prior to v3.9.8.8, Vigor 2860/2925 prior to v3.9.7,…
- CVE-2024-41340 — High (CVSS 8.4): An issue in Draytek devices Vigor 165/166 prior to v4.2.6 , Vigor 2620/LTE200 prior to v3.9.8.8, Vigor 2860/2925 prior…
- CVE-2024-41596 — High (CVSS 8.0): Buffer Overflow vulnerabilities exist in DrayTek Vigor310 devices through 4.3.2.6 (in the Vigor management UI) because…
All CVEs affecting Draytek Vigor3912 Firmware →
Other CWE-121 (Stack-based Buffer Overflow) vulnerabilities
- CVE-2026-12848 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12847 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12846 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12485 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-37541 — Critical (CVSS 10.0): Buffer overflow vulnerability in Open Vehicle Monitoring System 3 (OVMS3) 3.3.005. In canformat_gvret.cpp, the length…
- CVE-2026-42996 — Critical (CVSS 10.0): JS8Call through 2.3.1 and JS8Call-improved before 3.0 have a stack-based buffer overflow via a radio transmission of…
Browse all CWE-121 (Stack-based Buffer Overflow) vulnerabilities →