{"id":"CVE-2026-62357","aliases":["CVE-2026-62357"],"related":[],"kind":"vulnerability","state":"published","title":"DragonflyDB `CMS.INITBYDIM` integer overflow leads to a remote, attacker-controlled heap out-of-bounds write","summary":"Dragonfly is an in-memory data store built for modern application workloads. Prior to 1.40.0, CMS.INITBYDIM and CMS.INITBYPROB accept dimensions whose width times depth times sizeof(int64_t) overflows in src/core/cms.cc, allocating an undersized counter buffer while CMS.INCRBY and CMS.QUERY use the unbounded dimensions, which allows an unauthenticated remote client to corrupt or disclose adjacent heap memory and crash the server. This issue is fixed in version 1.40.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Dragonfly is an in-memory data store built for modern application workloads. Prior to 1.40.0, CMS.INITBYDIM and CMS.INITBYPROB accept dimensions whose width times depth times sizeof(int64_t) overflows in src/core/cms.cc, allocating an undersized counter buffer while CMS.INCRBY and CMS.QUERY use the unbounded dimensions, which allows an unauthenticated remote client to corrupt or disclose adjacent heap memory and crash the server. This issue is fixed in version 1.40.0.","source":"cvelist"},{"lang":"es","text":"Dragonfly es un almacén de datos en memoria construido para cargas de trabajo de aplicaciones modernas. Antes de la versión 1.40.0, CMS.INITBYDIM y CMS.INITBYPROB aceptan dimensiones cuyo ancho por profundidad por sizeof(int64_t) desborda en src/core/cms.cc, asignando un búfer de contador de tamaño insuficiente mientras que CMS.INCRBY y CMS.QUERY usan las dimensiones ilimitadas, lo que permite a un cliente remoto no autenticado corromper o divulgar memoria adyacente del heap y bloquear el servidor. Este problema está solucionado en la versión 1.40.0.","source":"nvd"}],"published":"2026-08-18T15:18:52.900Z","modified":"2026-10-22T22:10:00.250Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.8,"rating":"HIGH"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"version":"< 1.40.0","status":"affected"}],"vendor":"dragonflydb","product":"dragonfly","source":"cvelist"}],"references":[{"url":"https://github.com/dragonflydb/dragonfly/security/advisories/GHSA-cmmv-h748-v93x","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dragonflydb/dragonfly/pull/7647","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dragonflydb/dragonfly/commit/c004623249fe2151dc5d64e21364fb9fb07c90d3","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dragonflydb/dragonfly/releases/tag/v1.40.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-08-19T14:36:04.925Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-62357","url":"https://www.cve.org/CVERecord?id=CVE-2026-62357","licence":"CVE Terms of Use","modified":"2026-08-19T14:36:42.019Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-62357","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62357","licence":"Public domain","modified":"2026-10-22T22:10:00.250Z"}],"updatedAt":"2026-11-25T22:59:33.505Z","epss":{"score":0.00524,"percentile":0.3784,"date":"2026-11-30T12:00:22.000Z"}}