Integer Overflow Vulnerability in rust-transpose Package (CVE-2023-53156)

rust-transpose Updated 02 Oct 2025

Summary

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

UBUNTU-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 0.2.2-1. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The rust-transpose package is a Rust library designed for matrix transposition operations. It is utilized in various applications that require efficient handling of matrix data structures. The package is known for its performance and ease of use, but it has been identified to have a vulnerability that can lead to integer overflow, affecting its reliability and security.

Vulnerability Detail

The vulnerability identified as CVE-2023-53156 affects the transpose crate before version 0.2.3. It allows an integer overflow through the input_width and input_height arguments. This overflow can lead to unexpected behavior, including potential crashes or incorrect calculations, which can compromise the integrity of applications relying on this library. The vulnerability originates from improper handling of input values, making it critical for developers to address it promptly.

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, developers can validate the input_width and input_height arguments before passing them to the library to ensure they do not exceed safe limits, thus preventing the integer overflow.

Conclusion

The rust-transpose package has a significant vulnerability (CVE-2023-53156) that can lead to integer overflow, affecting applications that rely on it. Users are advised to update to the patched version to mitigate risks. Temporary workarounds are available, but prompt action is recommended to ensure application integrity.

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 specific input arguments.

This vulnerability can lead to crashes or incorrect calculations in applications that utilize the rust-transpose library, potentially compromising data integrity.

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

As a temporary measure, validate the input arguments to prevent integer overflow until you can update to the patched version.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json. You can also check your application for this specific vulnerability using the Vulert playground.

Related vulnerabilities

Recent vulnerabilities recorded for rust-transpose.

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