CVE-2024-51138 Memory corruption in n/a
Remote attackers can execute arbitrary code with elevated privileges via a stack-based buffer overflow in the TR069 STUN server URL parsing.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-51138?
CVE-2024-51138 is a critical memory corruption vulnerability in Draytek Vigor3910 Firmware, published on 27 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-121
Which versions are affected by CVE-2024-51138?
It affects 23 products.
Products include Draytek Vigor1000b Firmware, Draytek Vigor2133 Firmware, Draytek Vigor2135 Firmware, Draytek Vigor2620 Firmware, Draytek Vigor2762 Firmware, Draytek Vigor2763 Firmware and 17 more.
How do I fix CVE-2024-51138?
No fix has been published for CVE-2024-51138 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-51138 being exploited?
There is no known exploitation of CVE-2024-51138 in the wild and no public exploit code.
Other vulnerabilities in Draytek Vigor3910 Firmware
Sources
Also known as GHSA-mgc5-hg3f-6h7v.