Vulnerability DatabaseRUSTSEC-2023-0080

RUSTSEC-2023-0080
Rust vulnerability analysis and mitigation

Overview

A buffer overflow vulnerability was discovered in the transpose crate version 0.2.2 (RUSTSEC-2023-0080). The issue stems from an integer overflow vulnerability that could lead to buffer overflow conditions. The vulnerability was reported on December 18, 2023, affecting the transpose functionality in Rust applications using this crate (GitHub Issue).

Technical details

The vulnerability occurs when handling large input dimensions in the transpose operation. When processing input with width and height values near usize::BITS - 1, integer overflow can occur during multiplication checks. In debug mode, this results in a panic, but in release mode where overflow checks are disabled, it leads to a segmentation fault (GitHub Issue).

Impact

When exploited, this vulnerability can cause buffer overflow conditions in release mode builds, potentially leading to memory corruption and program crashes. The impact is particularly concerning in production environments where debug assertions are disabled (GitHub Issue).

Mitigation and workarounds

The suggested fix involves implementing stronger safety checks using checked multiplication operations. The proposed solution replaces the current safety checks (input_width * input_height) with checked multiplication: let area = input_width.checked_mul(input_height).expect('area overflow') (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22863CRITICAL9.2
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-23519HIGH8.9
  • RustRust
  • yazi
NoYesJan 15, 2026
RUSTSEC-2026-0003HIGH8.9
  • RustRust
  • cmov
NoYesJan 14, 2026
CVE-2026-22864HIGH8.1
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-22782LOW2.9
  • RustRust
  • rustfs
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management