Read the docs
TI-2026-66708 Aliases GHSA-qg8r-f7x3-25f7

imageproc: Out-of-bounds read via NaN coordinates in bilinear/bicubic sampling

Priority LOW 38CWE-190Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

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. Carefully 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. Using bicubic sampling can result in a read of a few bytes beyond an allocation. Other out-of-bounds reads may be possible.

Why it matters now

Fix Fixed imageproc (crates.io): 0.23.1, 0.24.1, 0.25.1 +1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—imageproc (crates.io)before 0.23.10.23.1Patch availableGHSA-qg8r-f7x3-25f7
—imageproc (crates.io)0.24.0 to before 0.24.10.24.1Patch availableGHSA-qg8r-f7x3-25f7
—imageproc (crates.io)0.25.0 to before 0.25.10.25.1Patch availableGHSA-qg8r-f7x3-25f7
—imageproc (crates.io)0.26.0 to before 0.26.20.26.2Patch availableGHSA-qg8r-f7x3-25f7
  • imageproc (crates.io) Vendor— Affected before 0.23.1 Fixed in 0.23.1 Patch available GHSA-qg8r-f7x3-25f7
  • imageproc (crates.io) Vendor— Affected 0.24.0 to before 0.24.1 Fixed in 0.24.1 Patch available GHSA-qg8r-f7x3-25f7
  • imageproc (crates.io) Vendor— Affected 0.25.0 to before 0.25.1 Fixed in 0.25.1 Patch available GHSA-qg8r-f7x3-25f7
  • imageproc (crates.io) Vendor— Affected 0.26.0 to before 0.26.2 Fixed in 0.26.2 Patch available GHSA-qg8r-f7x3-25f7

Remediation

  • Fix · GHSA-qg8r-f7x3-25f7 imageproc (crates.io) Fixed in 0.23.1 Advisory →
  • Fix · GHSA-qg8r-f7x3-25f7 imageproc (crates.io) Fixed in 0.24.1 Advisory →
  • Fix · GHSA-qg8r-f7x3-25f7 imageproc (crates.io) Fixed in 0.25.1 Advisory →
  • Fix · GHSA-qg8r-f7x3-25f7 imageproc (crates.io) Fixed in 0.26.2 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-qg8r-f7x3-25f7

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences