Integer Overflow Vulnerability in rust-transpose Package

rust-transpose Updated 02 Oct 2025

Summary

27/07/2025
N/A
No i
Medium
5.3

CVE-2023-53156: The transpose crate before 0.2.3 for Rust allows an integer overflow via input_width and input_height arguments. Affects rust-transpose versions < 134293e7f7f8e13d342ae625e479e6097b5525db. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The rust-transpose package is a Rust crate designed for matrix transposition operations, enabling efficient manipulation of two-dimensional data structures. It is widely used in applications that require mathematical computations and data processing. However, prior to version 0.2.3, the package is susceptible to an integer overflow vulnerability that can be exploited through improper input handling.

Vulnerability Detail

The vulnerability, identified as CVE-2023-53156, arises from the handling of input_width and input_height arguments within the transpose crate. An attacker can exploit this flaw by providing specially crafted input values, leading to an integer overflow. This can result in unexpected behavior, including crashes or the execution of arbitrary code, posing significant risks to the integrity and security of applications utilizing this crate.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can validate and sanitize input values for input_width and input_height before passing them to the transpose functions, ensuring they fall within acceptable ranges to prevent overflow.

Conclusion

The rust-transpose package has a critical integer overflow vulnerability that can be exploited through improper input handling. Users are strongly advised to update to the latest version to protect their applications from potential risks. Utilizing tools like Vulert can further enhance security by monitoring for vulnerabilities in real-time.

See every vulnerability recorded for rust-transpose →

Share this vulnerability

FAQ

CVE-2023-53156 is a vulnerability in the rust-transpose package that allows for integer overflow through improper handling of input arguments.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your manifest file for vulnerabilities.

Exploiting this vulnerability can lead to application crashes or arbitrary code execution, compromising the security and stability of the software.

Yes, a patch is available in version 0.2.3 of the rust-transpose package. Users should update to this version to mitigate the vulnerability.

Vulert monitors and alerts for open-source vulnerabilities in software using just a manifest file. It provides real-time alerts without requiring code access or installation.

Related vulnerabilities

Recent vulnerabilities recorded for rust-transpose.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback