CVE-2023-53156: Integer Overflow

Published Apr 5, 2024
·
Updated

Given the function transpose::transpose: rust fn transpose<T: Copy>(input: &[T], output: &mut [T], inputwidth: usize, inputheight: usize)

The safety check inputwidth inputheight == output.len() can fail due to inputwidth inputheight overflowing in such a way that it equals output.len(). As a result of failing the safety check, memory past the end of output is written to. This only occurs in release mode since panics on overflow in debug mode.

Exploiting this issue requires the caller to pass inputwidth and inputheight arguments such that multiplying them overflows, and the overflown result equals the lengths of input and output slices.

Other sources

The transpose crate before 0.2.3 for Rust allows an integer overflow via inputwidth and inputheight arguments.

MITRE

Affected Software

3 affected componentsFixes available
Rust transpose crate<0.2.3
rust/transpose>=0.1.0<0.2.3
0.2.3
Ejmahler Transpose Rust>=0.1.0<0.2.3

Event History

Apr 5, 2024
Advisory Published
via GitHub·03:41 PM
Data Sourced
via GitHub·03:41 PM
DescriptionSeverityWeaknessAffected Software
Jul 27, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-53156?

CVE-2023-53156 has been classified as a vulnerability that can lead to integer overflow, which may affect application reliability.

2

How do I fix CVE-2023-53156?

To fix CVE-2023-53156, update the transpose crate to version 0.2.3 or later.

3

What input parameters are involved in CVE-2023-53156?

CVE-2023-53156 involves potential integer overflow via the input_width and input_height parameters.

4

Which versions of the transpose crate are affected by CVE-2023-53156?

Versions of the transpose crate prior to 0.2.3 are affected by CVE-2023-53156.

5

What programming language does CVE-2023-53156 pertain to?

CVE-2023-53156 pertains to the Rust programming language.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203