{"id":"CVE-2026-21864","summary":"Remote DoS from malformed RESTORE command","details":"Valkey-Bloom is a Rust based Valkey module which brings a Bloom Filter (Module) data type into the Valkey distributed key-value database. Prior to commit a68614b6e3845777d383b3a513cedcc08b3b7ccd, a specially crafted `RESTORE` command can cause Valkey to hit an assertion, causes the server to shutdown. Valkey modules are required to handle errors in RDB parsing by using `VALKEYMODULE_OPTIONS_HANDLE_IO_ERRORS` flag. If this flag is not set, errors encountered during parsing result in a system assertion which shuts down the system. Even though the Valkey-bloom module correctly handled the parsing, it did not originally set the flag. Commit a68614b6e3845777d383b3a513cedcc08b3b7ccd contains a patch. One may mitigate this defect by disabling the `RESTORE` command if it is unused by one's application.","aliases":["GHSA-mc2g-h759-3qw2"],"modified":"2026-08-12T03:51:37.543330821Z","published":"2026-02-24T00:24:15.677Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-20"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21864.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"a68614b6e3845777d383b3a513cedcc08b3b7ccd"}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21864.json"},{"type":"ADVISORY","url":"https://github.com/valkey-io/valkey-bloom/security/advisories/GHSA-mc2g-h759-3qw2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21864"},{"type":"FIX","url":"https://github.com/valkey-io/valkey-bloom/commit/a68614b6e3845777d383b3a513cedcc08b3b7ccd"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/valkey-io/valkey-bloom","events":[{"introduced":"0"},{"fixed":"43b4e704bc8d6bd5f65529c8bd7e8488f2d54080"},{"fixed":"a68614b6e3845777d383b3a513cedcc08b3b7ccd"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.0.1"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:lfprojects:valkey-bloom:*:*:*:*:*:*:*:*"}}],"versions":["1.0.0","1.0.0-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21864.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}