VeraCrypt
CVE-2026-77372
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local same-user access
-
DeliveryCraft malformed serialized message
-
ExploitDeliver to root CoreService over private pipe
-
ExecutionTrigger heap overflow or OOB read in root helper
-
ImpactDisclose or corrupt root-process memory
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the Unix/macOS/FreeBSD (wxWidgets) build of VeraCrypt at version ≤1.26.29 that uses Platform::Serializer and the elevated root CoreService helper; Windows is not affected because it uses a different code path. The attacker must be able to deliver serialized input to the root CoreService - normally the same-user unprivileged GUI/CLI front-end - with an attacker-controlled, unvalidated size (non-multiple of sizeof(wchar_t) to overflow the heap, or PasswordSize >128 to over-read the fixed PasswordBuffer). Limiting factors that reduce realistic risk: the CoreService pipe is a private fd pair whose immediate writer is the same-user parent process, so exploitation requires local low-privileged authenticated access and crosses only the user→root boundary - it is not remotely or cross-user reachable through this path. |
| Impact | The signals conflict sharply and that conflict is the headline. The input CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:L/UI:N) with all impact metrics maxed (VC/VI/VA:H and subsequent-system SC/SI/SA:H) produces the 8.8 'High' score, but the vendor's own GHSA-4j3p-7hp7-xw73 advisory rates this Moderate (~5-6) and explicitly frames it as a local trust-boundary / defense-in-depth issue, NOT remote or cross-user RCE. The all-high-plus-scope-high impact assignment in the input is what inflates the score; the reporter states the realistic reachability is far narrower because the CoreService pipe is a private fd pair whose immediate writer is the same-user parent process. No EPSS score was provided, the CVE is NOT in CISA KEV, and no public exploit was identified - the only references are the advisory, the fix commit, and the release, i.e. remediation artifacts, not exploit code. The vuln.today decision label is 'this_week' (not act_now/emergency). Net assessment: this is a genuine memory-safety weakness in a process running as root (meaningful because it sits on the user→root boundary), but it reads as high-CVSS-but-moderate-real-risk rather than an urgent widespread threat. The authentication posture is confirmed by the vector (PR:L = low-privileged local user), and the local-only attack vector plus absence of exploitation signals support treating it as important hardening to patch this week rather than an emergency. |
| Exploit ScenarioDerived | A local, low-privileged user already running VeraCrypt on a Linux, macOS, or FreeBSD (Unix/wxWidgets) build supplies a crafted serialized request to the root CoreService helper, setting an unvalidated size or PasswordSize so that Serializer::DeserializeWString overflows its heap allocation by 1-3 bytes or VolumePassword::Deserialize over-reads past the fixed 128-byte password buffer inside the root process. No public exploit code was identified at the time of analysis, and because the pipe's immediate writer is the same-user parent process the realistic impact is a user-to-root defense-in-depth weakness, not remote or cross-user compromise. Per the CVSS vector this is local (AV:L), requires low privileges (PR:L), and needs no user interaction (UI:N). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Heap memory corruption and out-of-bounds reads in VeraCrypt on Linux, macOS, and FreeBSD through 1.26.29 can be triggered by crafted serialized data passed from the unprivileged GUI or CLI to the root CoreService helper, potentially corrupting memory or over-reading the fixed password buffer in the elevated process. The documented path is a local defense-in-depth boundary-the CoreService pipe is a private fd pair whose immediate writer is the same-user parent-so this is not remote or cross-user exploitation, although the independent assessment rates confidentiality impact as high and integrity/availability impact as limited. The flaws are fixed in 1.26.30; no public exploit has been identified at time of analysis.
RemediationAI
Upgrade VeraCrypt to 1.26.30, which contains the vendor-released patch (release tag: https://github.com/veracrypt/VeraCrypt/releases/tag/VeraCrypt_1.26.30; advisory: https://github.com/veracrypt/VeraCrypt/security/advisories/GHSA-4j3p-7hp7-xw73). The patch commit https://github.com/veracrypt/VeraCrypt/commit/fb9d96c52dace4d34c5427402b512e8de5f832d6 requires DeserializeWString sizes to be non-zero multiples of sizeof(wchar_t), rejects zero-length DeserializeString input, caps string and collection sizes, and rejects PasswordSize values above MaxSize in VolumePassword::Deserialize. No separate workaround is described in the advisory; updating to 1.26.30 is the documented complete fix. The vulnerability is prioritized as this_week, and the affected boundary is the local unprivileged GUI/CLI to root CoreService path rather than a remote service.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
VeraCrypt's Unix/macOS/FreeBSD wxWidgets build uses Platform::Serializer and the elevated CoreService, and the defects are CWE-125 out-of-bounds read with CWE-787 out-of-bounds write and CWE-789 excessive-allocation weaknesses in the same deserialization code. In Serializer::DeserializeWString, a 64-bit size is read from the stream and a vector<wchar_t> of floor(size / sizeof(wchar_t)) elements is allocated, but size bytes are then read into it; when size is not a multiple of sizeof(wchar_t), the heap allocation is overflowed by 1-3 bytes on 4-byte-wchar_t platforms. In VolumePassword::Deserialize, PasswordSize is assigned from the stream without checking the fixed 128-byte PasswordBuffer, so downstream DataPtr()/Size() consumers such as the KDF can read past the buffer. The same deserializers lack allocation and collection bounds, allowing memory-exhaustion attempts, and a zero-length DeserializeString can access an empty vector; the patch adds size-multiple checks, rejects zero-length strings, caps string/collection sizes, and rejects PasswordSize > MaxSize. Windows uses a different path and is not affected. The risk signals conflict sharply: the advisory calls this Moderate (CVSS ~5-6) local trust-boundary hardening, the supplied CVSS 4.0 vector is 8.8 with AC:H/AT:P, and the independent CVSS 3.1 assessment is AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L; the stable facts are the local same-user pipe, the root CoreService target, and the memory-safety defects, while the severity framing is what conflicts.
Know when Veracrypt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Local same-user front-end feeds the root helper (AV:L, PR:L); size is unvalidated and attacker-controlled (AC:L); main impact is OOB read of root-process memory (C:H), with limited write and DoS (I:L/A:L).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
VeraCrypt provides disk encryption with strong security based on TrueCrypt. Prior to 1.26.30, the Unix, macOS, and FreeBSD serialization paths in src/Platform/Serializer.cpp and src/Volume/VolumePassword.cpp accept untrusted length and count values when deserializing data that can cross from the unprivileged GUI or CLI to the root CoreService helper. Serializer::DeserializeWString allocates floor(size / sizeof(wchar_t)) elements but reads size bytes, so a non-aligned size can overflow the heap allocation. VolumePassword::Deserialize accepts PasswordSize values larger than the fixed 128-byte PasswordBuffer, allowing downstream DataPtr() and Size() consumers such as the KDF to read beyond the buffer. DeserializeString, DeserializeWString, and the string and wide-string list readers also lack allocation and collection bounds, which can exhaust memory, and a zero-length DeserializeString can access an empty vector. Windows uses a different path, and the immediate CoreService pipe writer is the same-user parent process, so the documented exposure is a local defense-in-depth boundary rather than a remote attack. This issue is fixed in 1.26.30.
Technical POC Analysis
Three distinct defects in VeraCrypt's own serialization code, present in the Unix/macOS/FreeBSD (wxWidgets) build: src/Platform/Serializer.cpp and src/Volume/VolumePassword.cpp.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
VeraCrypt versions through 1.26.29 on Linux, macOS, and FreeBSD contain heap memory corruption and out-of-bounds read flaws that an unprivileged local user could trigger via crafted data sent to the root-level CoreService helper. While the attack requires local access and same-user privileges, the vulnerability has high confidentiality impact because elevated processes could over-read the fixed password buffer, potentially exposing secrets. Security management should prioritize patching because password material compromise could undermine the entire disk encryption trust model for affected endpoints.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
The IsDriveLetterAvailable method in Driver/Ntdriver.c in TrueCrypt 7.0, VeraCrypt before 1.15, and CipherShed, when run
Untrusted search path vulnerability in the installer for TrueCrypt 7.2 and 7.1a, VeraCrypt before 1.17-BETA, and possibl
The (1) IsVolumeAccessibleByCurrentUser and (2) MountDevice methods in Ntdriver.c in TrueCrypt 7.0, VeraCrypt before 1.1
VeraCrypt 1.24 allows Local Privilege Escalation during execution of VeraCryptExpander.exe. Rated high severity (CVSS 7.
Local privilege escalation in VeraCrypt for Linux before 1.26.30 lets an attacker who already holds same-UID access and
Local privilege escalation in VeraCrypt through 1.26.31 on Linux allows a low-privileged local user who shares the UID o
VeraCrypt 1.26.29 (FUSE-T build) on macOS can leave a dismounted volume's decrypted contents readable, because VeraCrypt
Key derivation in VeraCrypt's non-default wolfCrypt backend silently substituted HKDF for PBKDF2-HMAC in SHA-256 and SHA
Hidden volume creation in VeraCrypt 1.26.6 through 1.26.28 leaves forensically detectable plaintext markers inside file-
Information disclosure in the VeraCrypt Windows kernel driver (veracrypt.sys) in version 1.26.29 and earlier allows a lo
IDRIX, Truecrypt Veracrypt, Truecrypt Prior to 1.23-Hotfix-1 (Veracrypt), all versions (Truecrypt) is affected by: Buffe
NVD
CVE.org
EPSS
GitHub
Exploit-DB