{"id":"CVE-2023-28856","summary":"`HINCRBYFLOAT` can be used to crash a redis-server process","details":"Redis is an open source, in-memory database that persists on disk. Authenticated users can use the `HINCRBYFLOAT` command to create an invalid hash field that will crash Redis on access in affected versions. This issue has been addressed in in versions 7.0.11, 6.2.12, and 6.0.19. Users are advised to upgrade. There are no known workarounds for this issue.","aliases":["BIT-keydb-2023-28856","BIT-redis-2023-28856","BIT-valkey-2023-28856","GHSA-hjv8-vjf6-wcr6"],"modified":"2026-08-18T16:55:07.690285Z","published":"2023-04-18T20:50:03.691Z","related":["ALSA-2025:0595","SUSE-SU-2023:2122-1","SUSE-SU-2023:2925-1","SUSE-SU-2023:3407-1","openSUSE-SU-2024:12874-1"],"database_specific":{"cwe_ids":["CWE-20","CWE-617"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28856.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00023.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EQ4DJSO4DMR55AWK6OPVJH5UTEB35R2Z/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LPUTH7NBQTZDVJWFNUD24ZCS6NDUFYS6/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OQGKMKSQE67L32HE6W5EI2I2YKW5VWHI/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28856.json"},{"type":"ADVISORY","url":"https://github.com/redis/redis/security/advisories/GHSA-hjv8-vjf6-wcr6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28856"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230601-0007/"},{"type":"FIX","url":"https://github.com/redis/redis/commit/bc7fe41e5857a0854d524e2a63a028e9394d2a5c"},{"type":"FIX","url":"https://github.com/redis/redis/pull/11149"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/redis/redis","events":[{"introduced":"0"},{"fixed":"87e3c4fb12ac32242117fa13a4cd8dc52a9b9b93"},{"introduced":"445aa844b946a8f1bc21ac8554b44adb1ecb4018"},{"fixed":"2d4b9401f16bb67d3c42947d3db5d347f06ac17c"},{"introduced":"d375595d5e3ae2e5c29e6c00a2dc3d60578fd9fc"},{"fixed":"391aa4079c0855aa20929b1e272403937e874d57"},{"fixed":"bc7fe41e5857a0854d524e2a63a028e9394d2a5c"}],"database_specific":{"cpe":"cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"6.0.19"},{"introduced":"6.2.0"},{"fixed":"6.2.12"},{"introduced":"7.0.0"},{"fixed":"7.0.11"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["6.0.18","6.2.11","7.0.10","7.0.9","7.0.8","6.2.10","6.0.17","6.2.9","6.0.16","6.2.8","7.0.7","7.0.6","7.0.5","6.2.7","7.0.4","7.0.3","7.0.2","7.0.1","7.0.0","6.2.6","6.2.5","6.0.15","6.0.14","6.2.4","6.2.3","6.0.13","6.2.2","6.0.12","6.2.1","6.2.0","6.0.11","6.0.10","6.0.9","6.0.8","6.0.7","6.0.6","6.0.5","6.0.4","6.0.3","6.0.2","6.0.1","6.0.0","6.0-rc4","6.0-rc3","6.0-rc2","6.0-rc1","2.3-alpha0","2.2.0-rc1","2.2-alpha6","2.2-alpha5","2.2-alpha4","2.2-alpha3","2.2-alpha2","2.2-alpha1","2.2-alpha0","v2.0.0-rc1","v2.1.1-watch","v1.3.11","v1.3.10","v1.3.9","v1.3.8","v1.3.7","1.3.6","vm-playpen"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-28856.json","vanir_signatures_modified":"2026-08-18T16:55:07Z","vanir_signatures":[{"digest":{"line_hashes":["57405584871899262086016017610265619809","205707702322636315792193608061836075174","147361045299368567821354545319049191855","237515320385344892240792858591057582825"],"threshold":0.9},"id":"CVE-2023-28856-38b41659","signature_type":"Line","signature_version":"v1","source":"https://github.com/redis/redis/commit/bc7fe41e5857a0854d524e2a63a028e9394d2a5c","target":{"file":"src/t_hash.c"},"deprecated":false},{"source":"https://github.com/redis/redis/commit/bc7fe41e5857a0854d524e2a63a028e9394d2a5c","target":{"function":"hincrbyfloatCommand","file":"src/t_hash.c"},"deprecated":false,"digest":{"function_hash":"94218052227217989572285703011581209673","length":1246},"id":"CVE-2023-28856-b00e551a","signature_type":"Function","signature_version":"v1"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}