CVE-2026-95105
published high CVSS 4.0 · 8.2Cloak AES-CTR cipher lacks ciphertext authentication, allowing chosen-plaintext forgery by bit flipping
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| danielberkompas | — | cloak0.1.0-pre and later · Other versions: unaffected | Affected | Not stated | EEF |
| danielberkompas | — | danielberkompas/cloakcloak · 2bd17019e285b55c5c218cc842537bf9280f24c3 and later · Other versions: unaffected | Affected | Not stated | EEF |
Description
Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking vulnerability in danielberkompas cloak allows an attacker with write access to stored ciphertext to make it decrypt to a chosen value via bit flipping. Cloak.Ciphers.AES.CTR encrypts with AES-256 in CTR mode and stores the key tag, the IV and the ciphertext with no MAC. decrypt/2 checks only the key tag and the minimum length before it returns the plaintext, and Cloak.Ciphers.Deprecated.AES.CTR decrypts the legacy format the same way. CTR is a stream cipher, so a value XORed into the stored ciphertext is XORed into the plaintext at the same offset. An attacker who can write to the encrypted store (for example through SQL injection or a compromised replica) and who knows or can guess a stored plaintext can replace it with any value of the same length. The application receives that value with no error. This issue affects cloak: from 0.1.0-pre onward.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| danielberkompas | cloak | 0.1.0-pre and later (affected · semver)Default: unaffected | EEF · cna |
| danielberkompas | cloak | 2bd17019e285b55c5c218cc842537bf9280f24c3 and later (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-649 CWE-649 Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking
References
3- EEF CNA record for CVE-2026-95105 https://cna.erlef.org/cves/CVE-2026-95105.html
- Introducing commit 2bd1701 in danielberkompas/cloak https://github.com/danielberkompas/cloak/commit/2bd17019e285b55c5c218cc842537bf9280f24c3
- OSV record EEF-CVE-2026-95105 https://osv.dev/vulnerability/EEF-CVE-2026-95105
Provider assertions
2EEF · cna
Cloak AES-CTR cipher lacks ciphertext authentication, allowing chosen-plaintext forgery by bit flipping
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6524bbf174d4a5a0d33aba31f2550a49fceaf20faf4c037f687501b27e2d4486
- Ingested
- 19 Nov 2026, 08:33:21 UTC
- Source record
- Official CVE record