Skip to content
OpenAdvisories
Medium · 5.9 CVE-2023-1255 EUVD-2023-23524GHSA-4wp2-xw7p-2gfx

Input buffer over-read in AES-XTS implementation on 64 bit ARM

Published Apr 20, 2023 · Updated Feb 13, 2025 · Assigned by openssl

Description

Issue summary: The AES-XTS cipher decryption implementation for 64 bit ARM
platform contains a bug that could cause it to read past the input buffer,
leading to a crash.

Impact summary: Applications that use the AES-XTS algorithm on the 64 bit ARM
platform can crash in rare circumstances. The AES-XTS algorithm is usually
used for disk encryption.

The AES-XTS cipher decryption implementation for 64 bit ARM platform will read
past the end of the ciphertext buffer if the ciphertext size is 4 mod 5 in 16
byte blocks, e.g. 144 bytes or 1024 bytes. If the memory after the ciphertext
buffer is unmapped, this will trigger a crash which results in a denial of
service.

If an attacker can control the size and location of the ciphertext buffer
being decrypted by an application using AES-XTS on 64 bit ARM, the
application is affected. This is fairly unlikely making this issue
a Low severity one.

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL 3.1.0 – < 3.1.1, 3.0.0 – < 3.0.9 3.1.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssl 3.0.9-1 —
Debian 13 openssl 3.0.9-1 —
Debian 12 openssl 3.0.9-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS openssl 3.0.2-0ubuntu1.10 USN-6119-1
Ubuntu 20.04 LTS openssl 1.1.1f-1ubuntu2.19 USN-6119-1
Ubuntu 18.04 LTS openssl 1.1.1-1ubuntu2.1~18.04.23 USN-6119-1
Ubuntu 18.04 LTS openssl1.0 1.0.2n-1ubuntu5.13 USN-6119-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS-updates 22.04 LTS openssl 3.0.2-0ubuntu1.10+Fips1 —
Ubuntu Pro FIPS-preview 22.04 LTS openssl 3.0.2-0ubuntu1.10+Fips1 —
Ubuntu Pro 22.04 LTS nodejs No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 openssl +3 1:3.0.7-16.el9_2 RHSA-2023:3722

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 openssl +3 1:3.0.7-16.el9_2 ALSA-2023:3722
ReleasePackageFixed inAdvisory
SLES 15 SP5 openssl-3 3.0.8-150500.5.3.1 SUSE-SU-2023:2620-1
SLES 15 SP4 openssl-3 3.0.8-150400.4.26.1 SUSE-SU-2023:2470-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssl-3 3.1.1-1.1 openSUSE-SU-2024:12969-1
openSUSE Leap 15.5 openssl-3 3.0.8-150500.5.3.1 SUSE-SU-2023:2620-1
openSUSE Leap 15.4 openssl-3 3.0.8-150400.4.26.1 SUSE-SU-2023:2470-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssl 3.1.0-r4 —
Alpine v3.23 openssl 3.1.0-r4 —
Alpine v3.22 openssl 3.1.0-r4 —
Alpine v3.21 openssl 3.1.0-r4 —
Alpine v3.20 openssl 3.1.0-r4 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 openssl 3.1.0-r4 —
Alpine v3.18 openssl 3.1.0-r4 —
Alpine v3.17 openssl 3.0.8-r4 —
Alpine v3.16 openssl3 3.0.8-r3 —
Alpine v3.15 openssl3 3.0.8-r3 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openssl +3 1:3.0.8-1.amzn2023.0.2 ALAS2023-2023-181

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 openssl +3 1:3.0.7-16.0.1.el9_2 ELSA-2023-3722

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openssl 3.1.0-r5 —

Advisories 13

References