CVE-2026-43336 (GCVE-0-2026-43336)

Vulnerability from cvelistv5 – Published: 2026-05-08 13:31 – Updated: 2026-05-08 13:31
VLAI?
Title
lib/crypto: chacha: Zeroize permuted_state before it leaves scope
Summary
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: c08d0e647305c3f8f640010a56c9e4bafb9488d3 , < e90ee961af515a484f091678ce58a4c3f7b73b02 (git)
Affected: c08d0e647305c3f8f640010a56c9e4bafb9488d3 , < b416a4245f04a450c67a13e6d96056c37c5b33fe (git)
Affected: c08d0e647305c3f8f640010a56c9e4bafb9488d3 , < bd62d9b44464a6c20a34a74068e7a784d0afa04a (git)
Affected: c08d0e647305c3f8f640010a56c9e4bafb9488d3 , < 066c760acead1fb743bae294dbd89f479ae43b9b (git)
Affected: c08d0e647305c3f8f640010a56c9e4bafb9488d3 , < 1d761e5a7340c46479fb2399598f331e4fe2c633 (git)
Affected: c08d0e647305c3f8f640010a56c9e4bafb9488d3 , < 1933249263c3a98df79992f61a566476e4163bcc (git)
Affected: c08d0e647305c3f8f640010a56c9e4bafb9488d3 , < 91999af43ca2125e3b2c18fcfc02912ada02efc3 (git)
Affected: c08d0e647305c3f8f640010a56c9e4bafb9488d3 , < e5046823f8fa3677341b541a25af2fcb99a5b1e0 (git)
Create a notification for this product.
    Linux Linux Affected: 4.2
Unaffected: 0 , < 4.2 (semver)
Unaffected: 5.10.253 , ≤ 5.10.* (semver)
Unaffected: 5.15.203 , ≤ 5.15.* (semver)
Unaffected: 6.1.169 , ≤ 6.1.* (semver)
Unaffected: 6.6.135 , ≤ 6.6.* (semver)
Unaffected: 6.12.82 , ≤ 6.12.* (semver)
Unaffected: 6.18.22 , ≤ 6.18.* (semver)
Unaffected: 6.19.12 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "lib/crypto/chacha-block-generic.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e90ee961af515a484f091678ce58a4c3f7b73b02",
              "status": "affected",
              "version": "c08d0e647305c3f8f640010a56c9e4bafb9488d3",
              "versionType": "git"
            },
            {
              "lessThan": "b416a4245f04a450c67a13e6d96056c37c5b33fe",
              "status": "affected",
              "version": "c08d0e647305c3f8f640010a56c9e4bafb9488d3",
              "versionType": "git"
            },
            {
              "lessThan": "bd62d9b44464a6c20a34a74068e7a784d0afa04a",
              "status": "affected",
              "version": "c08d0e647305c3f8f640010a56c9e4bafb9488d3",
              "versionType": "git"
            },
            {
              "lessThan": "066c760acead1fb743bae294dbd89f479ae43b9b",
              "status": "affected",
              "version": "c08d0e647305c3f8f640010a56c9e4bafb9488d3",
              "versionType": "git"
            },
            {
              "lessThan": "1d761e5a7340c46479fb2399598f331e4fe2c633",
              "status": "affected",
              "version": "c08d0e647305c3f8f640010a56c9e4bafb9488d3",
              "versionType": "git"
            },
            {
              "lessThan": "1933249263c3a98df79992f61a566476e4163bcc",
              "status": "affected",
              "version": "c08d0e647305c3f8f640010a56c9e4bafb9488d3",
              "versionType": "git"
            },
            {
              "lessThan": "91999af43ca2125e3b2c18fcfc02912ada02efc3",
              "status": "affected",
              "version": "c08d0e647305c3f8f640010a56c9e4bafb9488d3",
              "versionType": "git"
            },
            {
              "lessThan": "e5046823f8fa3677341b541a25af2fcb99a5b1e0",
              "status": "affected",
              "version": "c08d0e647305c3f8f640010a56c9e4bafb9488d3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "lib/crypto/chacha-block-generic.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.2"
            },
            {
              "lessThan": "4.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.253",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.203",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.169",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.135",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.82",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.22",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.253",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.203",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.169",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.135",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.82",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.22",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.12",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nlib/crypto: chacha: Zeroize permuted_state before it leaves scope\n\nSince the ChaCha permutation is invertible, the local variable\n\u0027permuted_state\u0027 is sufficient to compute the original \u0027state\u0027, and thus\nthe key, even after the permutation has been done.\n\nWhile the kernel is quite inconsistent about zeroizing secrets on the\nstack (and some prominent userspace crypto libraries don\u0027t bother at all\nsince it\u0027s not guaranteed to work anyway), the kernel does try to do it\nas a best practice, especially in cases involving the RNG.\n\nThus, explicitly zeroize \u0027permuted_state\u0027 before it goes out of scope."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-08T13:31:22.280Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e90ee961af515a484f091678ce58a4c3f7b73b02"
        },
        {
          "url": "https://git.kernel.org/stable/c/b416a4245f04a450c67a13e6d96056c37c5b33fe"
        },
        {
          "url": "https://git.kernel.org/stable/c/bd62d9b44464a6c20a34a74068e7a784d0afa04a"
        },
        {
          "url": "https://git.kernel.org/stable/c/066c760acead1fb743bae294dbd89f479ae43b9b"
        },
        {
          "url": "https://git.kernel.org/stable/c/1d761e5a7340c46479fb2399598f331e4fe2c633"
        },
        {
          "url": "https://git.kernel.org/stable/c/1933249263c3a98df79992f61a566476e4163bcc"
        },
        {
          "url": "https://git.kernel.org/stable/c/91999af43ca2125e3b2c18fcfc02912ada02efc3"
        },
        {
          "url": "https://git.kernel.org/stable/c/e5046823f8fa3677341b541a25af2fcb99a5b1e0"
        }
      ],
      "title": "lib/crypto: chacha: Zeroize permuted_state before it leaves scope",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43336",
    "datePublished": "2026-05-08T13:31:22.280Z",
    "dateReserved": "2026-05-01T14:12:56.002Z",
    "dateUpdated": "2026-05-08T13:31:22.280Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-43336",
      "date": "2026-05-09",
      "epss": "0.00024",
      "percentile": "0.07036"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-43336\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-08T14:16:43.383\",\"lastModified\":\"2026-05-08T14:16:43.383\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nlib/crypto: chacha: Zeroize permuted_state before it leaves scope\\n\\nSince the ChaCha permutation is invertible, the local variable\\n\u0027permuted_state\u0027 is sufficient to compute the original \u0027state\u0027, and thus\\nthe key, even after the permutation has been done.\\n\\nWhile the kernel is quite inconsistent about zeroizing secrets on the\\nstack (and some prominent userspace crypto libraries don\u0027t bother at all\\nsince it\u0027s not guaranteed to work anyway), the kernel does try to do it\\nas a best practice, especially in cases involving the RNG.\\n\\nThus, explicitly zeroize \u0027permuted_state\u0027 before it goes out of scope.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/066c760acead1fb743bae294dbd89f479ae43b9b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1933249263c3a98df79992f61a566476e4163bcc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1d761e5a7340c46479fb2399598f331e4fe2c633\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/91999af43ca2125e3b2c18fcfc02912ada02efc3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b416a4245f04a450c67a13e6d96056c37c5b33fe\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bd62d9b44464a6c20a34a74068e7a784d0afa04a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e5046823f8fa3677341b541a25af2fcb99a5b1e0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e90ee961af515a484f091678ce58a4c3f7b73b02\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…