{"answers":{"affected":"9 open source packages ship an affected version, including imageproc.","exploited":"There is no known exploitation of GHSA-w5p8-4jcx-2j6r 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-w5p8-4jcx-2j6r is a vulnerability in imageproc, published on 1 May 2026."},"fix_prompt":"Check this codebase for GHSA-w5p8-4jcx-2j6r and fix it if it is affected.\n\nWhat it is: GHSA-w5p8-4jcx-2j6r is a vulnerability in imageproc, published on 1 May 2026. \nExploitation: There is no known exploitation of GHSA-w5p8-4jcx-2j6r 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-w5p8-4jcx-2j6r/ (Markdown: https://insights.sbomify.com/GHSA-w5p8-4jcx-2j6r/index.md)","id":"GHSA-w5p8-4jcx-2j6r","markdown":"https://insights.sbomify.com/GHSA-w5p8-4jcx-2j6r/index.md","name":"GHSA-w5p8-4jcx-2j6r","record":{"aliases":["RUSTSEC-2026-0116"],"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 integer overflow in kernel size validation allows out-of-bounds reads, potentially causing crashes or information disclosure in applications using the imageproc library.","user_interaction":"not_required","vuln_class":"integer_overflow"},"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 verification of a slice storage of a 2-dimensional matrix's\ncoefficients (a kernel) would compare the total size against the product of\nindividual dimensions. This would erroneously cast *after* the multiplication\nand consequently fail to detect possible violations when overflow occurs.\n\nAfterwards, the individual sizes were trusted to properly constrain coordinates\nwithin the matrix to indices valid for the underlying storage. With a crafted\n`Kernel` object, certain combinations of coordinates could then cause an\nout-of-bounds access in an `unsafe` function while fulfilling its documented\npreconditions. The kernel value could be passed to library functions that\ntrusted the preconditions and then performed such reads.","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":"Improper check of an invariant resulting in incorrect bounds checks","id":"GHSA-w5p8-4jcx-2j6r","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"integer_overflow","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-w5p8-4jcx-2j6r"},{"ecosystem":"crates.io","fixed":["0.23.1"],"introduced":["0"],"last_affected":[],"package":"imageproc","purl":"pkg:cargo/imageproc","source":"GHSA-w5p8-4jcx-2j6r"},{"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-0116"},{"ecosystem":"crates.io","fixed":["0.24.1"],"introduced":["0.24.0"],"last_affected":[],"package":"imageproc","purl":null,"source":"GHSA-w5p8-4jcx-2j6r"},{"ecosystem":"crates.io","fixed":["0.24.1"],"introduced":["0.24.0"],"last_affected":[],"package":"imageproc","purl":"pkg:cargo/imageproc","source":"GHSA-w5p8-4jcx-2j6r"},{"ecosystem":"crates.io","fixed":["0.25.1"],"introduced":["0.25.0"],"last_affected":[],"package":"imageproc","purl":null,"source":"GHSA-w5p8-4jcx-2j6r"},{"ecosystem":"crates.io","fixed":["0.25.1"],"introduced":["0.25.0"],"last_affected":[],"package":"imageproc","purl":"pkg:cargo/imageproc","source":"GHSA-w5p8-4jcx-2j6r"},{"ecosystem":"crates.io","fixed":["0.26.2"],"introduced":["0.26.0"],"last_affected":[],"package":"imageproc","purl":null,"source":"GHSA-w5p8-4jcx-2j6r"},{"ecosystem":"crates.io","fixed":["0.26.2"],"introduced":["0.26.0"],"last_affected":[],"package":"imageproc","purl":"pkg:cargo/imageproc","source":"GHSA-w5p8-4jcx-2j6r"}],"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 integer overflow in kernel size validation allows out-of-bounds reads, potentially causing crashes or information disclosure in applications using the imageproc library.","url":"https://insights.sbomify.com/GHSA-w5p8-4jcx-2j6r/"}