{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5228 exists.","fix":"No fix has been published for CVE-2025-5228 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-5228 is a high-severity memory corruption vulnerability in D-Link DI-8100, published on 27 May 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-5228 and fix it if it is affected.\n\nWhat it is: CVE-2025-5228 is a high-severity memory corruption vulnerability in D-Link DI-8100, published on 27 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5228 exists.\n\nAffected product: D-Link DI-8100. 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-2025-5228/ (Markdown: https://insights.sbomify.com/CVE-2025-5228/index.md)","id":"CVE-2025-5228","markdown":"https://insights.sbomify.com/CVE-2025-5228/index.md","name":"CVE-2025-5228","record":{"aliases":["GHSA-2g2q-92qg-99wf"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"D-Link router","requires_auth":"none","summary":"A stack-based buffer overflow in the D-Link DI-8100 router allows local network attackers to execute arbitrary code via the login.cgi component.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"di-8100_firmware","vendor":"dlink"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"A vulnerability was found in D-Link DI-8100 up to 20250523. It has been classified as critical. Affected is the function httpd_get_parm of the file /login.cgi of the component jhttpd. The manipulation of the argument notify leads to stack-based buffer overflow. The attack can only be initiated within the local network. The exploit has been disclosed to the public and may be used.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"D-Link DI-8100 jhttpd login.cgi httpd_get_parm stack-based overflow","id":"CVE-2025-5228","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":0,"n_references":5,"next":{"headline":"Campcodes Online Hospital Management System view-patient.php sql injection","id":"CVE-2025-5229"},"packages":[],"prev":{"headline":"PHPGurukul Small CRM manage-tickets.php sql injection","id":"CVE-2025-5227"},"products":["DI-8100"],"published":"2025-05-27","related":[{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2025-44083","kev_date_added":null,"published":"2025-05-21"},{"cvss_score":9.3,"headline":"D-Link DI-8100 HTTP auto_reboot.asp sprintf buffer overflow","id":"CVE-2026-7853","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":9.3,"headline":"D-Link DI-8100 POST Parameter url_rule.asp url_rule_asp buffer overflow","id":"CVE-2026-7854","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":9.3,"headline":"D-Link DI-8100 CGI Endpoint tgfile.htm tgfile_htm buffer overflow","id":"CVE-2026-7248","kev_date_added":null,"published":"2026-04-28"},{"cvss_score":8.7,"headline":"D-Link DI-8100 HTTP Request tggl.asp tggl_asp buffer overflow","id":"CVE-2026-7855","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":8.7,"headline":"D-Link DI-8100 jhttpd ddns.asp sprintf stack-based overflow","id":"CVE-2025-7908","kev_date_added":null,"published":"2025-07-20"},{"cvss_score":8.7,"headline":"D-Link DI-8100 jhttpd upnp_ctrl.asp sprintf stack-based overflow","id":"CVE-2025-7911","kev_date_added":null,"published":"2025-07-20"}],"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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-27","vendors":["D-Link"]},"summary":"A stack-based buffer overflow in the D-Link DI-8100 router allows local network attackers to execute arbitrary code via the login.cgi component.","url":"https://insights.sbomify.com/CVE-2025-5228/"}