CVE-2023-1255
Input buffer over-read in AES-XTS implementation on 64 bit ARM
Reported by openssl · Published April 20, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openssl | Alpine | 3.1.0-r4, 3.0.8-r4 |
| openssl-perl | Amazon Linux | 1:3.0.8-1.amzn2023.0.2 |
| openssl3 | Alpine | 3.0.8-r3 |
| openssl | Amazon Linux | 1:3.0.8-1.amzn2023.0.2 |
| openssl-provider-fips | Chainguard | 3.0.9-r1 |
| openssl | Chainguard | 3.1.0-r5 |
| openssl | conan.io | 3.1.1, 3.0.9 |
| openssl-devel | Amazon Linux | 1:3.0.8-1.amzn2023.0.2 |
| openssl-libs | Amazon Linux | 1:3.0.8-1.amzn2023.0.2 |
| openssl | Wolfi | 3.1.0-r5 |
| openssl | openssl | 3.1.1, 3.0.9 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenSSL | OpenSSL | 3.1.0, 3.0.0 |
| OpenSSL | OpenSSL | 3.1.0, 3.0.0 |
Timeline
- Apr 20, 2023 CVE Published
- Apr 20, 2023 PoC Published (3 in total, the first dated here)
- Apr 21, 2023 EPSS Score (30 in total, the first dated here)
- Sep 8, 2023 CVE Updated
- Mar 17, 2026 Security Advisory (5 in total, the first dated here)
- May 21, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-1255
vulnetix vdb fixes CVE-2023-1255
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-1255/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- OpenSSL Advisory vendor-advisory
- 3.1.1 git commit patch
- 3.0.9 git commit patch