# CVE-2026-77372: VeraCrypt: Heap overflow and out-of-bounds read in Serializable deserialization (elevated Core service input path)

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.09% (percentile 0, 2026-11-26)
- **CWE:** CWE-125, CWE-787
- **Published:** 2026-11-04T22:53:57.172Z
- **Modified:** 2026-11-12T22:18:35.610Z

## Who should check

- Anyone running VeraCrypt \< 1.26.30

## Description

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.

## Affected and fixed versions

- VeraCrypt: \< 1.26.30 (cvelist)

## Mitigation

- Upgrade VeraCrypt to 1.26.30 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-77372.md
Affected: VeraCrypt < 1.26.30
Fixed in: VeraCrypt 1.26.30

Steps:
1. Search this machine and project for VeraCrypt: 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-2026-77372 being exploited?

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

### How serious is CVE-2026-77372?

High: CVSS 8.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-77372?

VeraCrypt \< 1.26.30.

### Is there a fix for CVE-2026-77372?

Yes. Fixed in VeraCrypt 1.26.30. Upgrade VeraCrypt to 1.26.30 or later.

### How do I check if I'm affected by CVE-2026-77372?

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://github.com/veracrypt/VeraCrypt/security/advisories/GHSA-4j3p-7hp7-xw73>
- patch: <https://github.com/veracrypt/VeraCrypt/commit/fb9d96c52dace4d34c5427402b512e8de5f832d6>
- other: <https://github.com/veracrypt/VeraCrypt/releases/tag/VeraCrypt_1.26.30>

## 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-2026-77372>

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