# CVE-2023-6129: POLY1305 MAC implementation corrupts vector registers on PowerPC

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.15% (percentile 83, 2026-11-26)
- **CWE:** CWE-440
- **Published:** 2024-01-09T16:36:58.860Z
- **Modified:** 2026-10-14T23:17:18.960Z

## Who should check

- Anyone running OpenSSL \>= 3.2.0, \< 3.2.1; \>= 3.1.0, \< 3.1.5; \>= 3.0.0, \< 3.0.13

## 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 and fixed versions

- OpenSSL: \>= 3.2.0, \< 3.2.1; \>= 3.1.0, \< 3.1.5; \>= 3.0.0, \< 3.0.13 (cvelist)

## Mitigation

- Upgrade OpenSSL to 3.0.13 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-6129. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-6129.md
Affected: OpenSSL >= 3.2.0, < 3.2.1; >= 3.1.0, < 3.1.5; >= 3.0.0, < 3.0.13
Fixed in: OpenSSL 3.2.1, OpenSSL 3.1.5, OpenSSL 3.0.13

Steps:
1. Search this machine and project for OpenSSL: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-6129 being exploited?

There is no confirmed exploitation: CVE-2023-6129 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.15% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-6129?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-6129?

OpenSSL \>= 3.2.0, \< 3.2.1; \>= 3.1.0, \< 3.1.5; \>= 3.0.0, \< 3.0.13.

### Is there a fix for CVE-2023-6129?

Yes. Fixed in OpenSSL 3.2.1, OpenSSL 3.1.5, OpenSSL 3.0.13. Upgrade OpenSSL to 3.0.13 or later.

### How do I check if I'm affected by CVE-2023-6129?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.openssl.org/news/secadv/20240109.txt>
- patch: <https://github.com/openssl/openssl/commit/5b139f95c9a47a55a0c54100f3837b1eee942b04>
- patch: <https://github.com/openssl/openssl/commit/f3fc5808fe9ff74042d639839610d03b8fdcc015>
- patch: <https://github.com/openssl/openssl/commit/050d26383d4e264966fb83428e72d5d48f402d35>
- other: <https://security.netapp.com/advisory/ntap-20240216-0009/>
- other: <https://security.netapp.com/advisory/ntap-20240426-0013/>
- other: <https://security.netapp.com/advisory/ntap-20240426-0008/>
- other: <http://www.openwall.com/lists/oss-security/2024/03/11/1>
- other: <https://security.netapp.com/advisory/ntap-20240503-0011/>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-331112.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-915275.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-769027.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-6129>

HTML: <https://flawdb.com/CVE-2023-6129> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-6129>
