{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-12745 exists.","fix":"No fix has been published for CVE-2025-12745 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-12745 is a medium-severity memory corruption vulnerability in QuickJS, published on 5 Nov 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-12745 and fix it if it is affected.\n\nWhat it is: CVE-2025-12745 is a medium-severity memory corruption vulnerability in QuickJS, published on 5 Nov 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-12745 exists.\n\nAffected product: QuickJS. 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-12745/ (Markdown: https://insights.sbomify.com/CVE-2025-12745/index.md)","id":"CVE-2025-12745","markdown":"https://insights.sbomify.com/CVE-2025-12745/index.md","name":"CVE-2025-12745","record":{"aliases":["DEBIAN-CVE-2025-12745","GHSA-rw7h-fw9j-wrgx","UBUNTU-CVE-2025-12745"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"JavaScript engine library","requires_auth":"low_privilege","summary":"A buffer over-read in QuickJS allows local attackers to cause denial of service or disclose sensitive memory contents.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"quickjs","vendor":"bellard"}],"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-125","name":"Out-of-bounds Read"},{"id":"CWE-126","name":"Buffer Over-read"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"A weakness has been identified in QuickJS up to eb2c89087def1829ed99630cb14b549d7a98408c. This affects the function js_array_buffer_slice of the file quickjs.c. This manipulation causes buffer over-read. The attack is restricted to local execution. The exploit has been made available to the public and could be exploited. This product adopts a rolling release strategy to maintain continuous delivery Patch name: c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea. To fix this issue, it is recommended to deploy a patch.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"QuickJS quickjs.c js_array_buffer_slice buffer over-read","id":"CVE-2025-12745","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":0,"n_references":7,"next":{"headline":"Tainacan \u003c= 1.0.0 - Reflected Cross-Site Scripting","id":"CVE-2025-12746"},"packages":[],"prev":{"headline":"Abrt: command-injection in abrt leading to local privilege escalation","id":"CVE-2025-12744"},"products":["QuickJS"],"published":"2025-11-05","related":[{"cvss_score":5.6,"headline":"Memory corruption in QuickJS","id":"CVE-2025-46687","kev_date_added":null,"published":"2025-04-27"},{"cvss_score":4,"headline":"Denial of service in n/a","id":"CVE-2024-33263","kev_date_added":null,"published":"2024-04-26"}],"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-11-05","vendors":["n/a"]},"summary":"A buffer over-read in QuickJS allows local attackers to cause denial of service or disclose sensitive memory contents.","url":"https://insights.sbomify.com/CVE-2025-12745/"}