{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8837 exists.","fix":"Apply the vendor's patch.","what":"CVE-2025-8837 is a medium-severity use after free vulnerability in Jasper Project Jasper, published on 11 Aug 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-8837 and fix it if it is affected.\n\nWhat it is: CVE-2025-8837 is a medium-severity use after free vulnerability in Jasper Project Jasper, published on 11 Aug 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-8837 exists.\n\nAffected product: Jasper Project Jasper. 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-8837/ (Markdown: https://insights.sbomify.com/CVE-2025-8837/index.md)","id":"CVE-2025-8837","markdown":"https://insights.sbomify.com/CVE-2025-8837/index.md","name":"CVE-2025-8837","record":{"aliases":["AZL-66168","AZL-66198","CLSA-2025-1759498325","CLSA-2025-1759864646","CLSA-2025-1760026282","GHSA-p7cc-89mg-9wr6","OESA-2026-4179","OESA-2026-4180","OESA-2026-4181","UBUNTU-CVE-2025-8837"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"JasPer image library","requires_auth":"low_privilege","summary":"A local attacker can trigger a use-after-free in JasPer's JPEG2000 handler, potentially leading to code execution or denial of service.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"jasper","vendor":"jasper_project"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-416","name":"Use After Free"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"A vulnerability was identified in JasPer up to 4.2.5. This affects the function jpc_dec_dump of the file src/libjasper/jpc/jpc_dec.c of the component JPEG2000 File Handler. The manipulation leads to use after free. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The patch is named 8308060d3fbc1da10353ac8a95c8ea60eba9c25a. It is recommended to apply a patch to fix this issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"JasPer JPEG2000 File jpc_dec.c jpc_dec_dump use after free","id":"CVE-2025-8837","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"jasper_project:jasper","products":["jasper_project:jasper"],"type":"use_after_free","year":"2025"},"n_packages":0,"n_references":7,"next":{"headline":"WinterChenS my-site Backend admin preHandle improper authentication","id":"CVE-2025-8838"},"packages":[],"prev":{"headline":"JasPer JPEG2000 Encoder jpc_enc.c jpc_floorlog2 assertion","id":"CVE-2025-8836"},"products":["JasPer"],"published":"2025-08-11","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-3522","kev_date_added":null,"published":"2008-10-02"},{"cvss_score":9.3,"headline":"Integer overflow in n/a","id":"CVE-2008-3520","kev_date_added":null,"published":"2008-10-02"},{"cvss_score":8.8,"headline":"Integer overflow in n/a","id":"CVE-2015-8751","kev_date_added":null,"published":"2020-02-17"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2023-51257","kev_date_added":null,"published":"2024-01-16"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2016-8886","kev_date_added":null,"published":"2017-03-23"},{"cvss_score":7.8,"headline":"Integer overflow in n/a","id":"CVE-2016-9387","kev_date_added":null,"published":"2017-03-23"},{"cvss_score":7.8,"headline":"Integer overflow in n/a","id":"CVE-2016-10249","kev_date_added":null,"published":"2017-03-15"}],"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":"partial"},"state":"PUBLISHED","updated":"2025-08-11","vendors":["n/a"]},"summary":"A local attacker can trigger a use-after-free in JasPer's JPEG2000 handler, potentially leading to code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2025-8837/"}