{"id":"CVE-2026-77372","state":"PUBLISHED","title":"VeraCrypt: Heap overflow and out-of-bounds read in Serializable deserialization (elevated Core service input path)","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.","publishedAt":"2026-11-04T22:53:57.172Z","updatedAt":"2026-11-09T22:03:22.734Z","severity":{"score":8.8,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["veracrypt VeraCrypt"],"affected":[{"vendor":"veracrypt","product":"VeraCrypt","versions":[{"version":"< 1.26.30","status":"affected"}]}],"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"],"weaknesses":["CWE-125","CWE-787"],"ingestedAt":"2026-11-09T22:14:06.228Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/77xxx/CVE-2026-77372.json","commit":"c9a6fe5e0ec6065765766582c6238d8d696001a1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-77372","state":"PUBLISHED","datePublished":"2026-11-04T22:53:57.172Z","dateUpdated":"2026-11-09T22:03:22.734Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-20T19:36:13.805Z"},"containers":{"cna":{"title":"VeraCrypt: Heap overflow and out-of-bounds read in Serializable deserialization (elevated Core service input path)","descriptions":[{"lang":"en","value":"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":[{"vendor":"veracrypt","product":"VeraCrypt","versions":[{"version":"< 1.26.30","status":"affected"}]}],"references":[{"url":"https://github.com/veracrypt/VeraCrypt/security/advisories/GHSA-4j3p-7hp7-xw73","name":"https://github.com/veracrypt/VeraCrypt/security/advisories/GHSA-4j3p-7hp7-xw73","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/veracrypt/VeraCrypt/commit/fb9d96c52dace4d34c5427402b512e8de5f832d6","name":"https://github.com/veracrypt/VeraCrypt/commit/fb9d96c52dace4d34c5427402b512e8de5f832d6","tags":["x_refsource_MISC"]},{"url":"https://github.com/veracrypt/VeraCrypt/releases/tag/VeraCrypt_1.26.30","name":"https://github.com/veracrypt/VeraCrypt/releases/tag/VeraCrypt_1.26.30","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-04T22:53:57.172Z"},"source":{"advisory":"GHSA-4j3p-7hp7-xw73","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-09T22:03:11.106487Z","id":"CVE-2026-77372","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-09T22:03:22.734Z"}}]}}}