{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-3409 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-3409 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-3409 is a medium-severity memory corruption vulnerability in Nothings stb, published on 8 Apr 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-3409 and fix it if it is affected.\n\nWhat it is: CVE-2025-3409 is a medium-severity memory corruption vulnerability in Nothings stb, published on 8 Apr 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-3409 in the wild and no public exploit code.\n\nAffected product: Nothings stb. 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-3409/ (Markdown: https://insights.sbomify.com/CVE-2025-3409/index.md)","id":"CVE-2025-3409","markdown":"https://insights.sbomify.com/CVE-2025-3409/index.md","name":"CVE-2025-3409","record":{"aliases":["DEBIAN-CVE-2025-3409","GHSA-69p9-7943-9qhx","UBUNTU-CVE-2025-3409"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"stb C library","requires_auth":"none","summary":"A stack-based buffer overflow in the stb_include_string function allows remote attackers to execute arbitrary code or cause denial of service.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"stb_image.h","vendor":"nothings"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/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 classified as critical has been found in Nothings stb up to f056911. This affects the function stb_include_string. The manipulation of the argument path_to_includes leads to stack-based buffer overflow. It is possible to initiate the attack remotely. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. The vendor was contacted early about this disclosure but did not respond in any way.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Nothings stb stb_include_string stack-based overflow","id":"CVE-2025-3409","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"mymagicpower AIAS LocalStorageController.java unrestricted upload","id":"CVE-2025-3410"},"packages":[],"prev":{"headline":"Nothings stb stb_dupreplace integer overflow","id":"CVE-2025-3408"},"products":["stb"],"published":"2025-04-08","related":[{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2019-19777","kev_date_added":null,"published":"2019-12-13"},{"cvss_score":7.3,"headline":"Double-free in stbi__load_gif_main_outofmem in stb_image","id":"CVE-2023-45664","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":7.3,"headline":"Possible double-free or memory leak in stbi__load_gif_main in stb_image","id":"CVE-2023-45666","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":6.5,"headline":"Use after free in n/a","id":"CVE-2023-43281","kev_date_added":null,"published":"2023-10-24"},{"cvss_score":6.5,"headline":"Wild address read in stbi__gif_load_next in stb_image","id":"CVE-2023-45661","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":6.5,"headline":"Multi-byte read heap buffer overflow in stbi__vertical_flip in stb_image","id":"CVE-2023-45662","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":6.5,"headline":"Denial of service in n/a","id":"CVE-2019-20056","kev_date_added":null,"published":"2019-12-29"}],"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":"partial"},"state":"PUBLISHED","updated":"2025-04-08","vendors":["Nothings"]},"summary":"A stack-based buffer overflow in the stb_include_string function allows remote attackers to execute arbitrary code or cause denial of service.","url":"https://insights.sbomify.com/CVE-2025-3409/"}