{"id":"CVE-2021-3345","aliases":["CVE-2021-3345"],"related":[],"kind":"vulnerability","state":"published","title":"gcrymdblockwrite in cipher/hash-common.c in Libgcrypt version 1.9.0 has a heap-based buffer overflow when the digest final function sets a…","summary":"_gcry_md_block_write in cipher/hash-common.c in Libgcrypt version 1.9.0 has a heap-based buffer overflow when the digest final function sets a large count value. It is recommended to upgrade to 1.9.1 or later.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"_gcry_md_block_write in cipher/hash-common.c in Libgcrypt version 1.9.0 has a heap-based buffer overflow when the digest final function sets a large count value. It is recommended to upgrade to 1.9.1 or later.","source":"cvelist"},{"lang":"es","text":"La función _gcry_md_block_write en el archivo cipher/hash-common.c en la versión 1.9.0 de Libgcrypt tiene un desbordamiento de búfer basado en la pila cuando la función final del resumen establece un valor de recuento grande. Se recomienda actualizar a la versión 1.9.1 o posterior.","source":"nvd"}],"published":"2021-01-29T14:20:31.000Z","modified":"2026-06-17T04:04:58.500Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","score":7.2,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"1.9.0"}],"vendor":"gnupg","product":"libgcrypt","cpe":"cpe:2.3:a:gnupg:libgcrypt:1.9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.0.0.3.0"}],"vendor":"oracle","product":"communications_billing_and_revenue_management","cpe":"cpe:2.3:a:oracle:communications_billing_and_revenue_management:12.0.0.3.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=512c0c75276949f13b6373b5c04f7065af750b08","tags":["x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html","tags":["mailing-list","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html","tags":["mailing-list","patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://gnupg.org","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=767814","tags":["issue-tracking","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3345","url":"https://www.cve.org/CVERecord?id=CVE-2021-3345","licence":"CVE Terms of Use","modified":"2024-08-03T16:53:17.504Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3345","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3345","licence":"Public domain","modified":"2026-06-17T04:04:58.500Z"}],"updatedAt":"2026-11-25T22:57:59.756Z","epss":{"score":0.01073,"percentile":0.65904,"date":"2026-12-02T12:00:21.000Z"}}