{"answers":{"affected":"2 open source packages ship an affected version, including grid.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42199 exists.","fix":"Upgrade grid to 1.0.1 or later.","what":"CVE-2026-42199 is a medium-severity vulnerability in becheran grid, published on 8 May 2026. 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-2026-42199 and fix it if it is affected.\n\nWhat it is: CVE-2026-42199 is a medium-severity vulnerability in becheran grid, published on 8 May 2026. 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-2026-42199 exists.\n\nAffected packages and fixed versions:\n- grid (crates.io): affected from 0.17.0; fixed in 1.0.1\n- grid (crates.io): affected from 0.17.0; fixed in 1.0.1\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-42199/ (Markdown: https://insights.sbomify.com/CVE-2026-42199/index.md)","id":"CVE-2026-42199","markdown":"https://insights.sbomify.com/CVE-2026-42199/index.md","name":"CVE-2026-42199","record":{"aliases":["GHSA-38c5-483c-4qqp"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Rust grid library","requires_auth":"none","summary":"An integer overflow in the Rust grid library allows attackers to trigger undefined behavior via safe API calls, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"Grid is a data structure grid for rust. From version 0.17.0 to before version 1.0.1, an integer overflow in Grid::expand_rows() can corrupt the relationship between the grid’s logical dimensions and its backing storage. After the internal invariant is broken, the safe API get() may invoke get_unchecked() with an invalid index, resulting in Undefined Behavior. This issue has been patched in version 1.0.1.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior","id":"CVE-2026-42199","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Coolify: PostgreSQL Init Script Path Traversal Leads to Arbitrary File Write and Root RCE","id":"CVE-2026-42200"},"packages":[{"ecosystem":"crates.io","fixed":["1.0.1"],"introduced":["0.17.0"],"last_affected":[],"package":"grid","purl":null,"source":"GHSA-38c5-483c-4qqp"},{"ecosystem":"crates.io","fixed":["1.0.1"],"introduced":["0.17.0"],"last_affected":[],"package":"grid","purl":"pkg:cargo/grid","source":"GHSA-38c5-483c-4qqp"}],"prev":{"headline":"pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS","id":"CVE-2026-42198"},"products":["grid"],"published":"2026-05-08","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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-11","vendors":["becheran"]},"summary":"An integer overflow in the Rust grid library allows attackers to trigger undefined behavior via safe API calls, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2026-42199/"}