CVE-2026-77372
Description
A flaw was found in VeraCrypt. The deserialization routines responsible for processing messages sent from unprivileged user interfaces to the elevated root service fail to properly validate data lengths and element counts. A local attacker can exploit this flaw by sending specially crafted serialization payloads to the privileged service, triggering a heap-based buffer overflow or an out-of-bounds memory read. This issue may allow the attacker to execute arbitrary code with elevated privileges, disclose sensitive memory, or cause a denial of service (DoS).
Statement
This vulnerability is rated as Important because an unprivileged local attacker can exploit the inter-process communication boundary to gain root privileges. Although exploitation requires local authentication rather than remote access, the ability to fully compromise the host by targeting the elevated background daemon elevates the severity above Moderate. Red Hat Enterprise Linux relies on LUKS and cryptsetup for storage encryption and does not include VeraCrypt, meaning default installations are unaffected.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
--- CME Mitigation Guidance (2026-11-06) ---
Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.
The highest-value action is to enforce strict bounds checking and element alignment on serialized data received over the IPC pipe by the elevated VeraCrypt CoreService daemon: upgrade to VeraCrypt 1.26.30, which enforce strict nesting limits via SerializationScope, validate type identifiers and element alignment, cap collection and string lengths, and reject password sizes exceeding the fixed 128-byte buffer, closing all 3 injection vectors (malformed serialized payload with unaligned wchar_t byte length sent over IPC pipe, serialized payload specifying PasswordSize greater than 128 bytes, serialized stream containing oversized collection and string counts). Until patched, this is only a concern on Linux, macOS, and FreeBSD systems running the elevated VeraCrypt CoreService daemon — Windows deployments are unaffected — so Restrict unprivileged user access to hosts running VeraCrypt and limit access to the local IPC pipe connecting to the elevated CoreService daemon. As a compensating measure, Enforce address space layout randomization to randomize daemon memory segments and hinder predictable heap exploitation, Compile with full RELRO and position-independent executables to randomize code locations and make the Global Offset Table read-only, Implement control flow integrity to restrict indirect function calls and jumps against overwritten function pointers, Operate SELinux in enforcing mode to confine the root daemon and restrict unauthorized capabilities and domain transitions, Apply SELinux confined user mappings to restrict unprivileged users from communicating with elevated IPC sockets, and Deploy endpoint detection and response monitoring to detect unexpected privileged shells spawned by the VeraCrypt daemon. These controls limit blast radius and contain exploitation, but they do not fix the underlying deserialization heap buffer overflow and out-of-bounds read defect — apply the upstream patch to fully remediate.
Highest-impact CME: CME-301 SELinux (Enforcing Mode) (medium)
Understanding the Weakness (CWE)
Integrity
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.
Other
Technical Impact: Unexpected State
Subsequent write operations can produce undefined or unexpected results.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.