{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48060 exists.","fix":"No fix published yet.","what":"CVE-2025-48060 is a high-severity memory corruption vulnerability in jqlang jq, published on 21 May 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-2025-48060 and fix it if it is affected.\n\nWhat it is: CVE-2025-48060 is a high-severity memory corruption vulnerability in jqlang jq, published on 21 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48060 exists.\n\nAffected product: jqlang jq. 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-48060/ (Markdown: https://insights.sbomify.com/CVE-2025-48060/index.md)","id":"CVE-2025-48060","markdown":"https://insights.sbomify.com/CVE-2025-48060/index.md","name":"CVE-2025-48060","record":{"aliases":["ALPINE-CVE-2025-48060","AZL-61968","AZL-61974","BELL-CVE-2025-48060","CLSA-2025-1752749203","DEBIAN-CVE-2025-48060","DLA-4307-1","ECHO-1a73-323b-ca34","GHSA-p7rr-28xf-3m5w","SUSE-SU-2025:02915-1","SUSE-SU-2025:20655-1","UBUNTU-CVE-2025-48060"],"analysis":{"component_type":"developer_tool","fix_type":"no_fix_stated","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JSON processor","requires_auth":"none","summary":"A heap-buffer-overflow in jq's string formatting function can cause crashes or potentially allow code execution when processing malicious JSON input.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"jq","vendor":"jqlang"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"jq is a command-line JSON processor. In versions up to and including 1.7.1, a heap-buffer-overflow is present in function `jv_string_vfmt` in the jq_fuzz_execute harness from oss-fuzz. This crash happens on file jv.c, line 1456 `void* p = malloc(sz);`. As of time of publication, no patched versions are available.","ecosystems":["SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Micro 6.0","openSUSE:Leap 15.6"],"exploits":{"exploitdb":0,"first_seen":"2025-11-16","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-11-16T07:08:35Z","kind":"github_poc","ref":"https://github.com/leorivass/jq-els-backport-cve-2025-48060","stars":1,"title":"Backported the upstream fix for CVE-2025-48060 (heap buffer overflow in jv_string_empty) to jq 1.6."}],"tier":"weaponised"},"has_fix":true,"headline":"AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)","id":"CVE-2025-48060","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":9,"n_references":1,"next":{"headline":"wire-webapp Has Insufficient Session Invalidation after User Logout","id":"CVE-2025-48061"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["1.6-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"jq","purl":"pkg:rpm/suse/jq\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2025:02915-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["1.6-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"jq","purl":"pkg:rpm/suse/jq\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2025:02915-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["1.6-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"jq","purl":"pkg:rpm/suse/jq\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2025:02915-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["1.6-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"jq","purl":"pkg:rpm/suse/jq\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2025:02915-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["1.6-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"jq","purl":"pkg:rpm/suse/jq\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2025:02915-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["1.6-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"jq","purl":"pkg:rpm/suse/jq\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2025:02915-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["1.6-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"jq","purl":"pkg:rpm/suse/jq\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2025:02915-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["1.6-5.1"],"introduced":["0"],"last_affected":[],"package":"jq","purl":"pkg:rpm/suse/jq\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2025:20655-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.6-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"jq","purl":"pkg:rpm/opensuse/jq\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:02915-1"}],"prev":{"headline":"PowSyBl Core Contains a Polynomial ReDoS in RegexCriterion","id":"CVE-2025-48059"},"products":["jq"],"published":"2025-05-21","related":[{"cvss_score":8.2,"headline":"jq: Integer overflow in jvp_string_append() allows Heap-based Buffer Overflow","id":"CVE-2026-32316","kev_date_added":null,"published":"2026-04-13"},{"cvss_score":8.1,"headline":"Memory corruption in jq","id":"CVE-2024-53427","kev_date_added":null,"published":"2025-02-26"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2023-49355","kev_date_added":null,"published":"2023-12-11"},{"cvss_score":7.1,"headline":"jq --rawfile invalid-state reuse after String too long causes heap-buffer-overflow","id":"CVE-2026-49839","kev_date_added":null,"published":"2026-06-25"},{"cvss_score":6.9,"headline":"jq: potential integer overflow in jvp_string_append","id":"CVE-2026-54679","kev_date_added":null,"published":"2026-06-25"},{"cvss_score":6.9,"headline":"jq: Out-of-Bounds Read in jv_parse_sized() Error Formatting for Non-NUL-Terminated Counted Buffers","id":"CVE-2026-39979","kev_date_added":null,"published":"2026-04-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["jqlang"]},"summary":"A heap-buffer-overflow in jq's string formatting function can cause crashes or potentially allow code execution when processing malicious JSON input.","url":"https://insights.sbomify.com/CVE-2025-48060/"}