nday
CVE-2022-37454 GHSA-6w4m-2xhg-2658

Buffer overflow in sponge queue functions

Patch on record 1,487 days after disclosure. Patched: fixed in sha3 1.0.5. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

integer overflow
CWE-190, stated by the ADP CISA-ADP, NVD's analysts, NVD, republishing 134c704f-9b21-4f2e-91b3-4a467353bcc0, and GitHub advisory GHSA-6w4m-2xhg-2658
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
PHP
CPE names NVD's analysts give as vulnerable: a:php:php
Python (CPython)
CPE names NVD's analysts give as vulnerable: a:python:python
open-source library / framework
CPE names NVD's analysts give as vulnerable: a:php:php, a:python:pythonthe product type of Python (CPython) and PHP in nday's product registry
PyPI
GHSA-6w4m-2xhg-2658: pip packages pysha3
RubyGems
GHSA-6w4m-2xhg-2658: rubygems packages sha3
stage
PAT
disclosed
disclosure → patch
T+1487d
cvss
9.8 CRITICAL v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2022-10-21T00:00Z
PATpatch
2026-11-16T17:01Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

Event log

+DISdisclosed

CVE record published by mitre. CVSS 9.8, critical. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , bulk import · raw
{
  "id": 271209,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2022-37454",
  "occurred_at": "2022-10-21T00:00:00Z",
  "observed_at": "2026-11-13T05:37:45.178256Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 9.8,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2025-05-08T15:03:12.969240Z",
      "automatable": "yes",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2022-10-21T00:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version sha3 1.0.5. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-6w4m-2xhg-2658 · nday , observed live · raw
{
  "id": 473080,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-6w4m-2xhg-2658",
  "occurred_at": null,
  "observed_at": "2026-11-16T17:01:02.573287Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-6w4m-2xhg-2658",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 9.8,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Integer Overflow or Wraparound",
        "cwe_id": "CWE-190"
      }
    ],
    "ghsa_id": "GHSA-6w4m-2xhg-2658",
    "packages": [
      {
        "name": "pysha3",
        "ecosystem": "pip",
        "first_patched_version": null,
        "vulnerable_version_range": "<= 1.0.2"
      },
      {
        "name": "sha3",
        "ecosystem": "rubygems",
        "first_patched_version": "1.0.5",
        "vulnerable_version_range": "< 1.0.5"
      }
    ],
    "severity": "critical",
    "references": [
      "https://github.com/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658",
      "https://nvd.nist.gov/vuln/detail/CVE-2022-37454",
      "https://github.com/XKCP/XKCP/issues/105",
      "https://github.com/johanns/sha3/issues/17",
      "https://github.com/tiran/pysha3/issues/29",
      "https://github.com/XKCP/XKCP/commit/fdc6fef075f4e81d6b1bc38364248975e08e340a",
      "https://github.com/johanns/sha3/commit/5f2e8118a62831911703c8753ff2435c3b5d7312",
      "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://www.debian.org/security/2022/dsa-5267",
      "https://www.debian.org/security/2022/dsa-5269",
      "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sha3/CVE-2022-37454.yml",
      "https://news.ycombinator.com/item?id=33281106",
      "https://news.ycombinator.com/item?id=35050307",
      "https://security.gentoo.org/glsa/202305-02",
      "https://lists.fedoraproject.org/archives/list/[email protected]/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ",
      "https://lists.fedoraproject.org/archives/list/[email protected]/message/CMIEXLMTW5GO36HTFFWIPB3OHZXCT3G4",
      "https://mouha.be/sha-3-buffer-overflow",
      "https://pypi.org/project/pysha3",
      "https://security.netapp.com/advisory/ntap-20230203-0001",
      "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CMIEXLMTW5GO36HTFFWIPB3OHZXCT3G4",
      "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ",
      "https://github.com/pypa/advisory-database/tree/main/vulns/pysha3/PYSEC-2026-504.yaml",
      "https://cert-portal.siemens.com/productcert/html/ssa-806742.html",
      "https://cert-portal.siemens.com/productcert/html/ssa-455250.html",
      "https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
      "https://github.com/advisories/GHSA-6w4m-2xhg-2658"
    ],
    "fix_commit_urls": [
      "https://github.com/XKCP/XKCP/commit/fdc6fef075f4e81d6b1bc38364248975e08e340a",
      "https://github.com/johanns/sha3/commit/5f2e8118a62831911703c8753ff2435c3b5d7312"
    ],
    "github_reviewed_at": "2023-04-26T17:39:58Z",
    "advisory_updated_at": "2026-11-16T16:06:47Z",
    "source_code_location": "",
    "advisory_published_at": "2023-04-26T17:39:58Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.