{"answers":{"affected":"It affects 23 products.","exploited":"There is no known exploitation of CVE-2024-51138 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-51138 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-51138 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-51138 in the wild and no public exploit code.\n\nAffected product: Draytek Vigor3910 Firmware. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-51138/ (Markdown: https://insights.sbomify.com/CVE-2024-51138/index.md)","id":"CVE-2024-51138","markdown":"https://insights.sbomify.com/CVE-2024-51138/index.md","name":"CVE-2024-51138","record":{"aliases":["GHSA-mgc5-hg3f-6h7v"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"DrayTek router firmware","requires_auth":"none","summary":"Remote attackers can execute arbitrary code with elevated privileges via a stack-based buffer overflow in the TR069 STUN server URL parsing.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"vigor1000b_firmware","vendor":"draytek"},{"product":"vigor2133_firmware","vendor":"draytek"},{"product":"vigor2135_firmware","vendor":"draytek"},{"product":"vigor2620_firmware","vendor":"draytek"},{"product":"vigor2762_firmware","vendor":"draytek"},{"product":"vigor2763_firmware","vendor":"draytek"},{"product":"vigor2765_firmware","vendor":"draytek"},{"product":"vigor2766_firmware","vendor":"draytek"},{"product":"vigor2832_firmware","vendor":"draytek"},{"product":"vigor2860_firmware","vendor":"draytek"},{"product":"vigor2862_firmware","vendor":"draytek"},{"product":"vigor2865_firmware","vendor":"draytek"},{"product":"vigor2866_firmware","vendor":"draytek"},{"product":"vigor2915_firmware","vendor":"draytek"},{"product":"vigor2925_firmware","vendor":"draytek"},{"product":"vigor2926_firmware","vendor":"draytek"},{"product":"vigor2927_firmware","vendor":"draytek"},{"product":"vigor2952_firmware","vendor":"draytek"},{"product":"vigor2962_firmware","vendor":"draytek"},{"product":"vigor3220_firmware","vendor":"draytek"},{"product":"vigor3910_firmware","vendor":"draytek"},{"product":"vigor3912_firmware","vendor":"draytek"},{"product":"vigorlte200_firmware","vendor":"draytek"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Memory corruption in n/a","id":"CVE-2024-51138","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"draytek:vigor3910_firmware","products":["draytek:vigor3910_firmware"],"type":"memory_corruption","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in n/a","id":"CVE-2024-51139"},"packages":[],"prev":{"headline":"XML external entity in n/a","id":"CVE-2024-51136"},"products":["n/a"],"published":"2025-02-27","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2022-32548","kev_date_added":null,"published":"2022-08-29"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2024-51139","kev_date_added":null,"published":"2025-02-27"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2024-41593","kev_date_added":null,"published":"2024-10-03"},{"cvss_score":8,"headline":"Memory corruption in n/a","id":"CVE-2024-41588","kev_date_added":null,"published":"2024-10-03"},{"cvss_score":8,"headline":"Memory corruption in n/a","id":"CVE-2024-41590","kev_date_added":null,"published":"2024-10-03"},{"cvss_score":8,"headline":"Memory corruption in n/a","id":"CVE-2024-41592","kev_date_added":null,"published":"2024-10-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-05","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code with elevated privileges via a stack-based buffer overflow in the TR069 STUN server URL parsing.","url":"https://insights.sbomify.com/CVE-2024-51138/"}