Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-37454

The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-37454
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 13:33 UTC · Revision 1

Source evidence

CVE-2022-37454

core-osv · Original source

Published 21 Oct 2022, 00:00 UTC

The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.

osv:CVE-2022-37454
Complete source record
{
  "id": "75dc4afe1be2cd68aa970df73455b271e0baad5f0aedad2a8d2f90ae28ffbb19",
  "url": "https://osv.dev/vulnerability/CVE-2022-37454",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-37454",
    "summary": "The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.",
    "evidence": "osv:CVE-2022-37454",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2022-37454",
      "aliases": [
        "BIT-libphp-2022-37454",
        "BIT-libpython-2022-37454",
        "BIT-php-2022-37454",
        "BIT-php-min-2022-37454",
        "BIT-python-2022-37454",
        "BIT-python-min-2022-37454",
        "CVE-2022-37454",
        "GHSA-6w4m-2xhg-2658",
        "PSF-2022-11",
        "PYSEC-2026-504"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/php/php-src",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8148cbb78841c8ec0759c0836e7f35dec799d300"
                },
                {
                  "fixed": "dca8d5565b947270a29f232bc54efd9df3b92b94"
                },
                {
                  "introduced": "5dc92c2117cafc61daaaaa240fd46c3ac33872a4"
                },
                {
                  "fixed": "145b4e6e2f319a92cd5bc27f426bcbec2dd0add9"
                },
                {
                  "introduced": "381ba9f5d0edd0c9c8ec1dea7e21d513ad08b115"
                },
                {
                  "fixed": "b91e67524dfc9ade4cbf5c0fe997677aea7b33c1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.2.0"
                      },
                      {
                        "fixed": "7.4.33"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "fixed": "8.0.25"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.1.0"
                      },
                      {
                        "fixed": "8.1.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-37454.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/python/cpython",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5c4568a05a0a62b5947c55f68f9f2ecfb90a4f12"
                },
                {
                  "fixed": "3f82aa744678620a811927dc4e56ad9c7c3d0c14"
                },
                {
                  "introduced": "fa919fdf2583bdfead1df00e842f24f30b2a34bf"
                },
                {
                  "fixed": "1e3d2d52109c9d82ba307116e912d16bb4b0dbb7"
                },
                {
                  "introduced": "9cf6752276e6fcfd0c23fdb064ad27f448aaaf75"
                },
                {
                  "fixed": "595f9ccb0c059f2fb5bf13643bfc0cdd5b55a422"
                },
                {
                  "introduced": "b494f5935c92951e75597bfe1c8b1f3112fec270"
                },
                {
                  "fixed": "1dd9be6584413fbfa823f37a224f101b819505d1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.6.0"
                      },
                      {
                        "fixed": "3.7.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.8.0"
                      },
                      {
                        "fixed": "3.8.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.9.0"
                      },
                      {
                        "fixed": "3.9.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.10.0"
                      },
                      {
                        "fixed": "3.10.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-37454.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.153771911Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-455250.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-806742.html",
        "https://csrc.nist.gov/projects/hash-functions/sha-3-project",
        "https://eprint.iacr.org/2023/331",
        "https://lists.debian.org/debian-lts-announce/2022/10/msg00041.html",
        "https://lists.debian.org/debian-lts-announce/2022/11/msg00000.html",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CMIEXLMTW5GO36HTFFWIPB3OHZXCT3G4/",
        "https://mouha.be/sha-3-buffer-overflow/",
        "https://news.ycombinator.com/item?id=33281106",
        "https://news.ycombinator.com/item?id=35050307",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37454.json",
        "https://github.com/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-37454",
        "https://security.gentoo.org/glsa/202305-02",
        "https://security.netapp.com/advisory/ntap-20230203-0001/",
        "https://www.debian.org/security/2022/dsa-5267",
        "https://www.debian.org/security/2022/dsa-5269"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37454.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-37454",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495952,
  "published_at": "2022-10-21T00:00:00+00:00"
}