Security mailing lists by PureSourceCode

GHSA-w5p8-4jcx-2j6r

MEDIUM

imageproc: integer overflow in kernel size check leads to out-of-bounds read

A bounds verification of a slice storage of a 2-dimensional matrix's coefficients (a kernel) would compare the total size against the product of individual dimensions. This would erroneously cast after the multiplication and consequently fail to detect possible violations when overflow occurs.

Afterwards, the individual sizes were trusted to properly constrain coordinates within the matrix to indices valid for the underlying storage. With a crafted Kernel object, certain combinations of coordinates could then cause an out-of-bounds access in an unsafe function while fulfilling its documented preconditions. The kernel value could be passed to library functions that trusted the preconditions and then performed such reads.

Published
1 May 2026
Last modified
10 Sep 2026
Weakness
CWE-125CWE-190
Also known as
RUSTSEC-2026-0116
Sources
OSVJSONOSV RUSTSEC-2026-0116JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io imageproc < 0.23.1 0.23.1
OSV crates.io imageproc >= 0.24.0, < 0.24.1 0.24.1
OSV crates.io imageproc >= 0.25.0, < 0.25.1 0.25.1
OSV crates.io imageproc >= 0.26.0, < 0.26.2 0.26.2
OSV crates.io imageproc >= 0.0.0-0, < 0.23.1; >= 0.24.0, < 0.24.1; >= 0.25.0, < 0.25.1; >= 0.26.0, < 0.26.2 0.23.1, 0.24.1, 0.25.1, 0.26.2

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 May 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.