CVE-2025-58356
Constellation allows insecure use of LUKS2 persistent storage partitions
Description
Constellation is the first Confidential Kubernetes. The Constellation CVM image uses LUKS2-encrypted volumes for persistent storage. When opening an encrypted storage device, the CVM uses the libcryptsetup function crypt_activate_by_passhrase. If the VM is successful in opening the partition with the disk encryption key, it treats the volume as confidential. However, due to the unsafe handling of null keyslot algorithms in the cryptsetup 2.8.1, it is possible that the opened volume is not encrypted at all. Cryptsetup prior to version 2.8.1 does not report an error when processing LUKS2-formatted disks that use the cipher_null-ecb algorithm in the keyslot encryption field. This vulnerability is fixed in 2.24.0.
INFO
Published Date :
Oct. 27, 2025, 8:15 p.m.
Last Modified :
Oct. 8, 2026, 11:10 a.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 4.0 | HIGH | [email protected] |
Solution
- Update cryptsetup to version 2.24.0 or later.
- Verify disk encryption is correctly configured and active.
Public PoC/Exploit Available at Github
CVE-2025-58356 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-58356.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-58356 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-58356
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Publications from Trail of Bits
conference-presentations academic-papers security-reviews
HTML Python Solidity JavaScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-58356 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-58356 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 08, 2026
Action Type Old Value New Value Added Translation Title: constellation de edgelesssys, Description: Constellation es el primer Kubernetes Confidencial. La imagen CVM de Constellation utiliza volúmenes cifrados con LUKS2 para almacenamiento persistente. Al abrir un dispositivo de almacenamiento cifrado, la CVM utiliza la función de libcryptsetup crypt_activate_by_passhrase. Si la VM logra abrir la partición con la clave de cifrado de disco, trata el volumen como confidencial. Sin embargo, debido al manejo inseguro de algoritmos de keyslot nulos en cryptsetup 2.8.1, es posible que el volumen abierto no esté cifrado en absoluto. Cryptsetup anterior a la versión 2.8.1 no informa un error al procesar discos formateados con LUKS2 que utilizan el algoritmo cipher_null-ecb en el campo de cifrado de keyslot. Esta vulnerabilidad está corregida en 2.24.0. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'edgelesssys', 'product': 'constellation', 'versions': [{'status': 'affected', 'version': '< 2.24.0'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-58356', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2025-10-27T19:44:26.781817Z'} -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 28, 2025
Action Type Old Value New Value Added Reference https://blog.trailofbits.com/2025/10/30/vulnerabilities-in-luks2-disk-encryption-for-confidential-vms/ -
New CVE Received by [email protected]
Oct. 27, 2025
Action Type Old Value New Value Added Description Constellation is the first Confidential Kubernetes. The Constellation CVM image uses LUKS2-encrypted volumes for persistent storage. When opening an encrypted storage device, the CVM uses the libcryptsetup function crypt_activate_by_passhrase. If the VM is successful in opening the partition with the disk encryption key, it treats the volume as confidential. However, due to the unsafe handling of null keyslot algorithms in the cryptsetup 2.8.1, it is possible that the opened volume is not encrypted at all. Cryptsetup prior to version 2.8.1 does not report an error when processing LUKS2-formatted disks that use the cipher_null-ecb algorithm in the keyslot encryption field. This vulnerability is fixed in 2.24.0. Added CVSS V4.0 AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-347 Added Reference https://github.com/edgelesssys/constellation/pull/3927 Added Reference https://github.com/edgelesssys/constellation/releases/tag/v2.24.0 Added Reference https://github.com/edgelesssys/constellation/security/advisories/GHSA-hq76-6gh2-5g4q