{"api_version":"1","generated_at":"2026-04-22T21:16:13+00:00","cve":"CVE-2021-3345","urls":{"html":"https://cve.report/CVE-2021-3345","api":"https://cve.report/api/cve/CVE-2021-3345.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3345","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3345"},"summary":{"title":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-01-29 15:15:00","updated_at":"2023-11-07 03:37:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=512c0c75276949f13b6373b5c04f7065af750b08","name":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=512c0c75276949f13b6373b5c04f7065af750b08","refsource":"MISC","tags":["Mailing List","Patch","Third Party Advisory"],"title":"git.gnupg.org Git - libgcrypt.git/commit","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://gnupg.org","name":"https://gnupg.org","refsource":"MISC","tags":["Vendor Advisory"],"title":"GnuPG (The GNU Privacy Guard)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","name":"N/A","refsource":"N/A","tags":[],"title":"Oracle Critical Patch Update Advisory - July 2021","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=767814","name":"https://bugs.gentoo.org/show_bug.cgi?id=767814","refsource":"MISC","tags":["Issue Tracking","Vendor Advisory"],"title":"767814 – (CVE-2021-3345) <dev-libs/libgcrypt-1.9.1: Exploitable buffer overflow (CVE-2021-3345)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=512c0c75276949f13b6373b5c04f7065af750b08","name":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=512c0c75276949f13b6373b5c04f7065af750b08","refsource":"","tags":[],"title":"git.gnupg.org Git - libgcrypt.git/commit","mime":"text/xml","httpstatus":"404","archivestatus":"200"},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html","name":"https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html","refsource":"MISC","tags":["Mailing List","Patch","Vendor Advisory"],"title":"[Announce] [Security fix] Libgcrypt 1.9.1 relased","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html","name":"https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html","refsource":"MISC","tags":["Mailing List","Vendor Advisory"],"title":"[Announce] [urgent] Stop using Libgcrypt 1.9.0 !","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3345","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3345","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"3345","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnupg","cpe5":"libgcrypt","cpe6":"1.9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3345","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnupg","cpe5":"libgcrypt","cpe6":"1.9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3345","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"communications_billing_and_revenue_management","cpe6":"12.0.0.3.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-3345","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"_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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=512c0c75276949f13b6373b5c04f7065af750b08","refsource":"MISC","name":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=512c0c75276949f13b6373b5c04f7065af750b08"},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html","refsource":"MISC","name":"https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html"},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html","refsource":"MISC","name":"https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html"},{"url":"https://gnupg.org","refsource":"MISC","name":"https://gnupg.org"},{"refsource":"MISC","name":"https://bugs.gentoo.org/show_bug.cgi?id=767814","url":"https://bugs.gentoo.org/show_bug.cgi?id=767814"},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","refsource":"MISC","name":"https://www.oracle.com//security-alerts/cpujul2021.html"}]}},"nvd":{"publishedDate":"2021-01-29 15:15:00","lastModifiedDate":"2023-11-07 03:37:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":7.2},"severity":"HIGH","exploitabilityScore":3.9,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gnupg:libgcrypt:1.9.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oracle:communications_billing_and_revenue_management:12.0.0.3.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"3345","Ordinal":"201325","Title":"CVE-2021-3345","CVE":"CVE-2021-3345","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"3345","Ordinal":"1","NoteData":"_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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"3345","Ordinal":"2","NoteData":"2021-01-29","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"3345","Ordinal":"3","NoteData":"2021-07-20","Type":"Other","Title":"Modified"}]}}}