# CVE-2026-43336: lib/crypto: chacha: Zeroize permuted_state before it leaves scope

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-02)
- Published: 2026-05-08T13:31:22.280Z
- Modified: 2026-11-11T20:10:00.273Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

lib/crypto: chacha: Zeroize permuted_state before it leaves scope

Since the ChaCha permutation is invertible, the local variable
'permuted_state' is sufficient to compute the original 'state', and thus
the key, even after the permutation has been done.

While the kernel is quite inconsistent about zeroizing secrets on the
stack (and some prominent userspace crypto libraries don't bother at all
since it's not guaranteed to work anyway), the kernel does try to do it
as a best practice, especially in cases involving the RNG.

Thus, explicitly zeroize 'permuted_state' before it goes out of scope.

(As written by CVE List.)

## Affected

- Linux Linux: from c08d0e647305c3f8f640010a56c9e4bafb9488d3 before e90ee961af515a484f091678ce58a4c3f7b73b02; from c08d0e647305c3f8f640010a56c9e4bafb9488d3 before b416a4245f04a450c67a13e6d96056c37c5b33fe; from c08d0e647305c3f8f640010a56c9e4bafb9488d3 before bd62d9b44464a6c20a34a74068e7a784d0afa04a; from c08d0e647305c3f8f640010a56c9e4bafb9488d3 before 066c760acead1fb743bae294dbd89f479ae43b9b; from c08d0e647305c3f8f640010a56c9e4bafb9488d3 before 1d761e5a7340c46479fb2399598f331e4fe2c633; from c08d0e647305c3f8f640010a56c9e4bafb9488d3 before 1933249263c3a98df79992f61a566476e4163bcc; from c08d0e647305c3f8f640010a56c9e4bafb9488d3 before 91999af43ca2125e3b2c18fcfc02912ada02efc3; from c08d0e647305c3f8f640010a56c9e4bafb9488d3 before e5046823f8fa3677341b541a25af2fcb99a5b1e0; 4.2 (not affected: before 4.2; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.169 up to 6.1.*; from 6.6.135 up to 6.6.*; from 6.12.82 up to 6.12.*; from 6.18.22 up to 6.18.*; from 6.19.12 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 4.2 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.169; from 6.2 before 6.6.135; from 6.7 before 6.12.82; from 6.13 before 6.18.22; from 6.19 before 6.19.12; 7.0

## References

- <https://git.kernel.org/stable/c/e90ee961af515a484f091678ce58a4c3f7b73b02> (patch)
- <https://git.kernel.org/stable/c/b416a4245f04a450c67a13e6d96056c37c5b33fe> (patch)
- <https://git.kernel.org/stable/c/bd62d9b44464a6c20a34a74068e7a784d0afa04a> (patch)
- <https://git.kernel.org/stable/c/066c760acead1fb743bae294dbd89f479ae43b9b> (patch)
- <https://git.kernel.org/stable/c/1d761e5a7340c46479fb2399598f331e4fe2c633> (patch)
- <https://git.kernel.org/stable/c/1933249263c3a98df79992f61a566476e4163bcc> (patch)
- <https://git.kernel.org/stable/c/91999af43ca2125e3b2c18fcfc02912ada02efc3> (patch)
- <https://git.kernel.org/stable/c/e5046823f8fa3677341b541a25af2fcb99a5b1e0> (patch)

## Sources

- CVE List: [CVE-2026-43336](https://www.cve.org/CVERecord?id=CVE-2026-43336), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-43336](https://nvd.nist.gov/vuln/detail/CVE-2026-43336), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43336 · Whole record: https://cve.day/CVE-2026-43336.json · Rebuilt by cve.day 2026-11-25T22:59:21.000Z
