Home / Dalli / Dalli / CVE-2022-4064
CVE-2022-4064: is it exploited, and which versions of Dalli are affected and fixed?
CVE-2022-4064 is an injection vulnerability in Dalli. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: dalli before 3.2.3 (GitHub advisory GHSA-3xg8-cc8f-9wv2). Fixed in 3.2.3 (GitHub advisory GHSA-3xg8-cc8f-9wv2). Severity: Medium (6.3, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:43 UTC.
What is CVE-2022-4064?
Dalli Meta Protocol request_formatter.rb self.meta_set injection
A vulnerability was found in Dalli up to 3.2.2. It has been classified as problematic. Affected is the function self.meta_set of the file lib/dalli/protocol/meta/request_formatter.rb of the component Meta Protocol Handler. The manipulation of the argument cas/ttl leads to injection. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 3.2.3 is able to address this issue. The patch is identified as 48d594dae55934476fec61789e7a7c3700e0f50d. It is recommended to upgrade the affected component.
From the CVE record by VulDB, last updated April 15, 2025, 13:12 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Dalli | 3.2.0 3.2.1 3.2.2 |
As the CVE record by VulDB states it, last updated April 15, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | dalli | < 3.2.3 | 3.2.3 | GHSA-3xg8-cc8f-9wv2 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 26, 2022. Summary: Unsanitized input leading to code injection in Dalli.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| dalli project | dalli | from - before 3.2.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:19 UTC.
How severe is CVE-2022-4064?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | VulDB |
| Low 3.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | VulDB |
| Low 3.7 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | VulDB |
| Low 2.6 | CVSS 2.0 | AV:N/AC:H/Au:N/C:N/I:P/A:N | VulDB |
| Low 3.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-4064 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, April 14, 2025)
- EPSS
- 1.75% probability of exploitation activity in the next 30 days, percentile 78.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
- CWE-707 Improper Neutralization
Where are the vendor advisories and references?
- VDB-214026 | Dalli Meta Protocol request_formatter.rb self.meta_set injection vdb-entry, technical-description
- VDB-214026 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- https://github.com/petergoldstein/dalli/issues/932 exploit, issue-tracking
- https://github.com/petergoldstein/dalli/pull/933 issue-tracking
- https://github.com/petergoldstein/dalli/commit/48d594dae55934476fec61789e7a7c3700e0f50d patch
- https://github.com/petergoldstein/dalli/releases/tag/v3.2.3 patch
- https://github.com/advisories/GHSA-3xg8-cc8f-9wv2 issue-tracking
Who found and reported it?
- VulDB GitHub Commit Analyzer (tool)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 19, 2022
- Published
- November 19, 2022, 00:00 UTC
- CVE record updated
- April 15, 2025, 13:12 UTC by VulDB
- NVD
- Modified, last modified June 17, 2026, 05:19 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2022-4064
Is CVE-2022-4064 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 1.75% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Dalli are affected by CVE-2022-4064?
dalli before 3.2.3, per the GitHub advisory GHSA-3xg8-cc8f-9wv2. The tables above give every range the sources list.
Which version fixes CVE-2022-4064?
3.2.3, per the GitHub advisory GHSA-3xg8-cc8f-9wv2. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-4064?
Medium (6.3, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2022-4064?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.