CVE-2023-1255Input buffer over-read in AES-XTS implementation on 64 bit ARM
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | openssl | Fixed | 3.0.2-0ubuntu1.10 | UBUNTU-CVE-2023-1255 |
| Ubuntu 16.04 | edk2 | Fix pending | ||
| Ubuntu 16.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | openssl | Fix pending | ||
| Ubuntu 14.04 | edk2 | Fix pending | ||
| Debian 14 | openssl | Fixed | 3.0.9-1 | DEBIAN-CVE-2023-1255 |
| Debian 13 | openssl | Fixed | 3.0.9-1 | DEBIAN-CVE-2023-1255 |
| Debian 12 | openssl | Fixed | 3.0.9-1 | DEBIAN-CVE-2023-1255 |
| Red Hat Enterprise Linux 9 | compat-openssl11 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-ovmf | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-tools-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | openssl | Fixed | 1:3.0.7-16.el9_2 | RHSA-2023:3722 |
| Red Hat Enterprise Linux 9 | openssl-devel | Fixed | 1:3.0.7-16.el9_2 | RHSA-2023:3722 |
| Red Hat Enterprise Linux 9 | openssl-libs | Fixed | 1:3.0.7-16.el9_2 | RHSA-2023:3722 |
| Red Hat Enterprise Linux 9 | openssl-perl | Fixed | 1:3.0.7-16.el9_2 | RHSA-2023:3722 |
| Red Hat Enterprise Linux 9 | shim | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-aa64 | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-x64 | Not affected | ||
| Red Hat Enterprise Linux 8 | compat-openssl10 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2-ovmf | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 8 | shim | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-aa64 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-ia32 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-x64 | Not affected | ||
| Red Hat Enterprise Linux 7 | AAVMF | Not affected | ||
| Red Hat Enterprise Linux 7 | OVMF | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 7 | ovmf | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-static | Not affected | ||
| AlmaLinux 9 | openssl | Fixed | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| AlmaLinux 9 | openssl-devel | Fixed | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| AlmaLinux 9 | openssl-libs | Fixed | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| AlmaLinux 9 | openssl-perl | Fixed | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| Alpine Linux 3.24 | openssl | Fixed | 3.1.0-r4 | ALPINE-CVE-2023-1255 |
| Alpine Linux 3.23 | openssl | Fixed | 3.1.0-r4 | ALPINE-CVE-2023-1255 |
| Alpine Linux 3.22 | openssl | Fixed | 3.1.0-r4 | ALPINE-CVE-2023-1255 |
| Alpine Linux 3.21 | openssl | Fixed | 3.1.0-r4 | ALPINE-CVE-2023-1255 |
| Alpine Linux 3.20 | openssl | Fixed | 3.1.0-r4 | ALPINE-CVE-2023-1255 |
| Alpine Linux 3.19 | openssl | Fixed | 3.1.0-r4 | ALPINE-CVE-2023-1255 |
| Alpine Linux 3.18 | openssl | Fixed | 3.1.0-r4 | ALPINE-CVE-2023-1255 |
| Alpine Linux 3.17 | openssl | Fixed | 3.0.8-r4 | ALPINE-CVE-2023-1255 |
| Alpine Linux 3.16 | openssl3 | Fixed | 3.0.8-r3 | ALPINE-CVE-2023-1255 |
| Alpine Linux 3.15 | openssl3 | Fixed | 3.0.8-r3 | ALPINE-CVE-2023-1255 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: 3.1.0 to before 3.1.1, 3.0.0 to before 3.0.9; fixed in
3.1.1,3.0.9
Vendor advisories:
- https://www.openssl.org/news/secadv/20230419.txt (vendor-advisory)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=bc2f61ad70971869b242fc1cb445… (patch)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=02ac9c9420275868472f33b01def… (patch)
References
- https://www.openssl.org/news/secadv/20230419.txt
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=bc2f61ad70971869b242fc1cb445b98bad50074a
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=02ac9c9420275868472f33b01def01218742b8bb
- https://security.netapp.com/advisory/ntap-20230908-0006/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.