Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-6129 EUVD-2023-58384GHSA-rj8q-prqp-jwfg

POLY1305 MAC implementation corrupts vector registers on PowerPC

Published Jan 9, 2024 · Updated Oct 14, 2026 · Assigned by openssl

Description

Issue summary: The POLY1305 MAC (message authentication code) implementation
contains a bug that might corrupt the internal state of applications running
on PowerPC CPU based platforms if the CPU provides vector instructions.

Impact summary: If an attacker can influence whether the POLY1305 MAC
algorithm is used, the application state might be corrupted with various
application dependent consequences.

The POLY1305 MAC (message authentication code) implementation in OpenSSL for
PowerPC CPUs restores the contents of vector registers in a different order
than they are saved. Thus the contents of some of these vector registers
are corrupted when returning to the caller. The vulnerable code is used only
on newer PowerPC processors supporting the PowerISA 2.07 instructions.

The consequences of this kind of internal application state corruption can
be various - from no consequences, if the calling application does not
depend on the contents of non-volatile XMM registers at all, to the worst
consequences, where the attacker could get complete control of the application
process. However unless the compiler uses the vector registers for storing
pointers, the most likely consequence, if any, would be an incorrect result
of some application dependent calculations or a crash leading to a denial of
service.

The POLY1305 MAC algorithm is most frequently used as part of the
CHACHA20-POLY1305 AEAD (authenticated encryption with associated data)
algorithm. The most common usage of this AEAD cipher is with TLS protocol
versions 1.2 and 1.3. If this cipher is enabled on the server a malicious
client can influence whether this AEAD cipher is used. This implies that
TLS server applications using OpenSSL can be potentially impacted. However
we are currently not aware of any concrete application that would be affected
by this issue therefore we consider this a Low severity security issue.

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL 3.2.0 – < 3.2.1, 3.1.0 – < 3.1.5, 3.0.0 – < 3.0.13 3.2.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.1.5-1 —
Debian 13 openssl 3.1.5-1 —
Debian 12 openssl 3.0.13-1~deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS openssl 3.0.10-1ubuntu4 —
Ubuntu 22.04 LTS openssl 3.0.2-0ubuntu1.14 USN-6622-1
Ubuntu 20.04 LTS openssl 1.1.1f-1ubuntu2.21 USN-6622-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS-updates 22.04 LTS openssl 3.0.2-0ubuntu1.14+Fips1 —
Ubuntu Pro FIPS-preview 22.04 LTS openssl No fix yet —
Ubuntu Pro 22.04 LTS nodejs No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 edk2 +4 20240524-6.el9_5 RHSA-2024:9088
RHEL 9 openssl +3 1:3.0.7-27.el9 RHSA-2024:2447

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 edk2-ovmf +3 20240524-6.el9_5 ALSA-2024:9088
AlmaLinux 9 openssl +3 1:3.0.7-27.el9 ALSA-2024:2447

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 edk2 20240524-6.el9_5.3 RLSA-2024:9088
ReleasePackageFixed inAdvisory
SLES 15 SP5 openssl-3 3.0.8-150500.5.24.1 SUSE-SU-2024:0172-1
SLES 15 SP4 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
SLE Micro 5.4 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
SLE Micro 5.3 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
SLE HPC 15 SP4 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
SUSE Manager Server 4.3 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
SUSE Manager Proxy 4.3 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssl-3 3.1.4-3.1 openSUSE-SU-2024:13633-1
openSUSE Leap 15.5 openssl-3 3.0.8-150500.5.24.1 SUSE-SU-2024:0172-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
openSUSE Leap Micro 5.3 openssl-3 3.0.8-150400.4.49.1 SUSE-SU-2024:0518-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssl 3.1.4-r3 —
Alpine v3.23 openssl 3.1.4-r3 —
Alpine v3.22 openssl 3.1.4-r3 —
Alpine v3.21 openssl 3.1.4-r3 —
Alpine v3.20 openssl 3.1.4-r3 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 openssl 3.1.4-r3 —
Alpine v3.18 openssl 3.1.4-r3 —
Alpine v3.17 openssl 3.0.12-r2 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cloud-hypervisor-cvm 38.0.72.2-1 —
Azure Linux 3 nodejs 20.14.0-1 —
Azure Linux 3 openssl 3.3.0-1 —
Azure Linux 3 openssl-fips-provider No fix yet —
Azure Linux 2 (CBL-Mariner) cloud-hypervisor-cvm 38.0.72.2-1 —
Azure Linux 2 (CBL-Mariner) hvloader 1.0.1-6 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 edk2-ovmf +3 20240524-6.0.1.el9_5 ELSA-2024-9088
Oracle Linux 9 openssl +3 1:3.0.7-27.0.3.el9 ELSA-2024-2447
Oracle Linux 9 openssl-fips-provider 3.0.7-2.0.1.el9 ELSA-2024-2447

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openssl +1 3.2.1-r0 —

Advisories 38

References