{"id":"CVE-2021-3345","aliases":["BELL-CVE-2021-3345","EUVD-2021-26676","GHSA-pf53-rq8f-rwqx","UBUNTU-CVE-2021-3345","openSUSE-SU-2024:10941-1"],"status":"published","title":"_gcry_md_block_write in cipher/hash-common.c in Libgcrypt before 1.9.1 has a heap-based buffer...","description":"_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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01064,"percentile":0.649,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-787"],"published":"2021-01-29T14:20:31Z","modified":"2026-10-24T10:30:56Z","exploits":[{"source":"pocgithub","id":"MLGRadish/CVE-2021-3345","title":"MLGRadish/CVE-2021-3345","date":"2021-01-31","url":"https://github.com/MLGRadish/CVE-2021-3345"},{"source":"pocgithub","id":"SpiralBL0CK/CVE-2021-3345","title":"SpiralBL0CK/CVE-2021-3345","date":"2024-02-29","url":"https://github.com/SpiralBL0CK/CVE-2021-3345"}],"affected":[{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libgcrypt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.4-1.2"}]}],"bundled":7}],"products":[{"vendor":"gnupg","product":"libgcrypt"},{"vendor":"oracle","product":"communications_billing_and_revenue_management"}],"references":[{"url":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=512c0c75276949f13b6373b5c04f7065af750b08","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html","tags":["x_refsource_MISC","x_transferred","Mailing List","Vendor Advisory","advisory","report"]},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html","tags":["x_refsource_MISC","x_transferred","Mailing List","Patch","Vendor Advisory","fix","report"]},{"url":"https://gnupg.org","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=767814","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Vendor Advisory","report"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3345"},{"url":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=512c0c75276949f13b6373b5c04f7065af750b08","tags":["report"]},{"url":"https://github.com/advisories/GHSA-pf53-rq8f-rwqx"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2021-3345","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-3345","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3345","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-0379","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7526","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-0495","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-12904","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-13627","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-3345","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-33560","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-3345","description":"_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.","status":"published","published":"2021-01-29T14:20:31Z","modified":"2024-08-03T16:53:17.504Z","updated_at":"2026-11-02T14:33:04.020035Z"}],"euvd":[{"id":"EUVD-2021-26676","description":"_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.","status":"published","published":"2021-01-29T14:20:31Z","modified":"2024-08-03T16:53:17Z","updated_at":"2026-11-03T03:25:13.052236Z"}],"ghsa":[{"id":"GHSA-pf53-rq8f-rwqx","title":"_gcry_md_block_write in cipher/hash-common.c in Libgcrypt before 1.9.1 has a heap-based buffer...","description":"_gcry_md_block_write in cipher/hash-common.c in Libgcrypt before 1.9.1 has a heap-based buffer overflow when the digest final function sets a large count value.","status":"published","published":"2022-05-24T17:40:38Z","modified":"2023-01-29T05:05:11Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:45:43.934947Z"}],"nvd":[{"id":"CVE-2021-3345","description":"_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.","status":"published","published":"2021-01-29T15:15:13.083Z","modified":"2026-06-17T04:04:58.5Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:49.660551Z"}],"osv":[{"id":"BELL-CVE-2021-3345","title":"CVE-2021-3345 does not affect BellSoft software","status":"withdrawn","published":"2021-01-29T15:15:00Z","modified":"2026-09-04T07:15:03.314684169Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:16.5265Z"},{"id":"CVE-2021-3345","description":"_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.","status":"published","published":"2021-01-29T15:15:13.083Z","modified":"2026-10-24T10:30:56.539708014Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:19.793849Z"},{"id":"UBUNTU-CVE-2021-3345","description":"_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.","status":"withdrawn","published":"2021-01-29T15:15:00Z","modified":"2025-07-16T07:42:47.043615Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:27.870979Z"},{"id":"openSUSE-SU-2024:10941-1","title":"libgcrypt-cavs-1.9.4-1.2 on GA media","description":"These are all security issues fixed in the libgcrypt-cavs-1.9.4-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:35:52.263076Z","updated_at":"2026-11-02T16:58:34.894275Z"}]}}
