{"answers":{"affected":"9 open source packages ship an affected version, including imageproc.","exploited":"There is no known exploitation of GHSA-qg8r-f7x3-25f7 in the wild and no public exploit code.","fix":"Upgrade imageproc to a fixed version for your release line: 0.23.1, 0.24.1, 0.25.1 or 0.26.2.","what":"GHSA-qg8r-f7x3-25f7 is a memory corruption vulnerability in imageproc, published on 1 May 2026."},"fix_prompt":"Check this codebase for GHSA-qg8r-f7x3-25f7 and fix it if it is affected.\n\nWhat it is: GHSA-qg8r-f7x3-25f7 is a memory corruption vulnerability in imageproc, published on 1 May 2026. \nExploitation: There is no known exploitation of GHSA-qg8r-f7x3-25f7 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- imageproc (crates.io): affected all versions; fixed in 0.23.1\n- imageproc (crates.io): affected all versions; fixed in 0.23.1\n- imageproc (crates.io): affected from 0.0.0-0; fixed in 0.23.1, 0.24.1, 0.25.1, 0.26.2\n- imageproc (crates.io): affected from 0.24.0; fixed in 0.24.1\n- imageproc (crates.io): affected from 0.24.0; fixed in 0.24.1\n- imageproc (crates.io): affected from 0.25.0; fixed in 0.25.1\n- imageproc (crates.io): affected from 0.25.0; fixed in 0.25.1\n- imageproc (crates.io): affected from 0.26.0; fixed in 0.26.2\n- imageproc (crates.io): affected from 0.26.0; fixed in 0.26.2\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/GHSA-qg8r-f7x3-25f7/ (Markdown: https://insights.sbomify.com/GHSA-qg8r-f7x3-25f7/index.md)","id":"GHSA-qg8r-f7x3-25f7","markdown":"https://insights.sbomify.com/GHSA-qg8r-f7x3-25f7/index.md","name":"GHSA-qg8r-f7x3-25f7","record":{"aliases":["RUSTSEC-2026-0117"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"unknown","non_default_config":false,"product_category":"Rust image processing library","requires_auth":"none","summary":"An attacker can trigger out-of-bounds reads in imageproc via NaN coordinates, potentially leaking memory or causing crashes.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"A bounds check was performed in floating points before a cast to the index passed to an unchecked access function. This checked considered `NaN` cases improperly, causing them to succeed the check instead of failing it. The floating point coordinate is under caller control by passing a selected projection matrix.\n\nCarefully controlling the coordinates of an image with no data and one non-zero dimension provides an arbitrary read primitive in the first 32-bits of address space with a Bilinear sampling method.\n\nUsing bicubic sampling can result in a read of a few bytes beyond an allocation.\n\nOther out-of-bounds reads may be possible.","ecosystems":["crates.io"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"imageproc: Out-of-bounds read via NaN coordinates in bilinear/bicubic sampling","id":"GHSA-qg8r-f7x3-25f7","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":9,"n_references":null,"packages":[{"ecosystem":"crates.io","fixed":["0.23.1"],"introduced":["0"],"last_affected":[],"package":"imageproc","purl":null,"source":"GHSA-qg8r-f7x3-25f7"},{"ecosystem":"crates.io","fixed":["0.23.1"],"introduced":["0"],"last_affected":[],"package":"imageproc","purl":"pkg:cargo/imageproc","source":"GHSA-qg8r-f7x3-25f7"},{"ecosystem":"crates.io","fixed":["0.23.1","0.24.1","0.25.1","0.26.2"],"introduced":["0.0.0-0","0.24.0","0.25.0","0.26.0"],"last_affected":[],"package":"imageproc","purl":"pkg:cargo/imageproc","source":"RUSTSEC-2026-0117"},{"ecosystem":"crates.io","fixed":["0.24.1"],"introduced":["0.24.0"],"last_affected":[],"package":"imageproc","purl":null,"source":"GHSA-qg8r-f7x3-25f7"},{"ecosystem":"crates.io","fixed":["0.24.1"],"introduced":["0.24.0"],"last_affected":[],"package":"imageproc","purl":"pkg:cargo/imageproc","source":"GHSA-qg8r-f7x3-25f7"},{"ecosystem":"crates.io","fixed":["0.25.1"],"introduced":["0.25.0"],"last_affected":[],"package":"imageproc","purl":null,"source":"GHSA-qg8r-f7x3-25f7"},{"ecosystem":"crates.io","fixed":["0.25.1"],"introduced":["0.25.0"],"last_affected":[],"package":"imageproc","purl":"pkg:cargo/imageproc","source":"GHSA-qg8r-f7x3-25f7"},{"ecosystem":"crates.io","fixed":["0.26.2"],"introduced":["0.26.0"],"last_affected":[],"package":"imageproc","purl":null,"source":"GHSA-qg8r-f7x3-25f7"},{"ecosystem":"crates.io","fixed":["0.26.2"],"introduced":["0.26.0"],"last_affected":[],"package":"imageproc","purl":"pkg:cargo/imageproc","source":"GHSA-qg8r-f7x3-25f7"}],"products":null,"published":"2026-05-01","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An attacker can trigger out-of-bounds reads in imageproc via NaN coordinates, potentially leaking memory or causing crashes.","url":"https://insights.sbomify.com/GHSA-qg8r-f7x3-25f7/"}