{"answers":{"affected":"2 open source packages ship an affected version, including probe-image-size.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-104861 exists.","fix":"Upgrade probe-image-size to 7.4.0 or later.","what":"CVE-2026-104861 is a high-severity denial of service vulnerability in nodeca probe-image-size, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-104861 and fix it if it is affected.\n\nWhat it is: CVE-2026-104861 is a high-severity denial of service vulnerability in nodeca probe-image-size, published on 2 Oct 2026. 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-2026-104861 exists.\n\nAffected packages and fixed versions:\n- probe-image-size (npm): affected all versions; fixed in 7.4.0\n- probe-image-size (npm): affected all versions; fixed in 7.4.0\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-2026-104861/ (Markdown: https://insights.sbomify.com/CVE-2026-104861/index.md)","id":"CVE-2026-104861","markdown":"https://insights.sbomify.com/CVE-2026-104861/index.md","name":"CVE-2026-104861","record":{"aliases":["CLSA-2026-1791028047","CLSA-2026-1792489910","GHSA-gjj5-9665-rwrc","MINI-wj6p-gj4m-pwxp","MINI-wmq9-crw2-6xvg"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js image size library","requires_auth":"none","summary":"An attacker can cause a denial of service by sending crafted SVG data that triggers quadratic-time regex scanning, blocking the Node.js event loop.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"probe-image-size gets image dimensions without downloading the entire file. Prior to 7.4.0, lib/parse_sync/svg.js and lib/parse_stream/svg.js use the searching regular expression /\u003c[-_.:a-zA-Z0-9][^\u003e]*\u003e/, which repeatedly scans to the end of input when attacker-controlled data contains many less-than characters without a closing greater-than character. The synchronous parser converts and scans the full supplied buffer without an input cap, while the streaming parser reparses the complete accumulated SVG prefix for every received chunk. The probe.sync(), probe(stream), and probe(url) entry points can therefore block the Node.js event loop at full CPU, and attacker-controlled chunking can amplify the streaming cost. This issue is fixed in version 7.4.0.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"probe-image-size: Quadratic-time Denial of Service in the SVG Parser","id":"CVE-2026-104861","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":5,"next":{"headline":"Angular SSR: Path Traversal to Sibling Directories in CommonEngine on Windows","id":"CVE-2026-104871"},"packages":[{"ecosystem":"npm","fixed":["7.4.0"],"introduced":["0"],"last_affected":[],"package":"probe-image-size","purl":null,"source":"GHSA-gjj5-9665-rwrc"},{"ecosystem":"npm","fixed":["7.4.0"],"introduced":["0"],"last_affected":[],"package":"probe-image-size","purl":"pkg:npm/probe-image-size","source":"GHSA-gjj5-9665-rwrc"}],"prev":{"headline":"Nx: OS command injection in the @nx/docker release pipeline","id":"CVE-2026-104859"},"products":["probe-image-size"],"published":"2026-10-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-02","vendors":["nodeca"]},"summary":"An attacker can cause a denial of service by sending crafted SVG data that triggers quadratic-time regex scanning, blocking the Node.js event loop.","url":"https://insights.sbomify.com/CVE-2026-104861/"}