{"id":39361,"date":"2021-01-29T20:21:46","date_gmt":"2021-01-29T20:21:46","guid":{"rendered":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/"},"modified":"2021-01-29T20:21:46","modified_gmt":"2021-01-29T20:21:46","slug":"severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble","status":"publish","type":"post","link":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/","title":{"rendered":"Severe bug in Libgcrypt \u2013 used by GPG and others \u2013 is a whole heap of trouble, prompts patch scramble"},"content":{"rendered":"<p>Google Project Zero researcher Tavis Ormandy on Thursday reported a severe flaw in Libgcrypt 1.9.0, an update to the widely used cryptographic library that was <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/lists.gnupg.org\/pipermail\/gnupg-announce\/2021q1\/000453.html\">released ten days ago<\/a>.<\/p>\n<p>Libgcrypt is a general-purpose crypto module developed for <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/gnupg.org\/index.html\">GNU Privacy Guard<\/a> (GnuPG or GPG), a free software implementation of the OpenPGP standard (<a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/www.ietf.org\/rfc\/rfc4880.txt\">RFC4880<\/a>). It provides assorted cryptographic primitives or building blocks that applications can implement to encrypt and decrypt data.<\/p>\n<div class=\"adun\" data-pos=\"top\" data-raptor=\"condor\" data-xsm=\",button,mpu,\" data-sm=\",button,mpu,\" data-md=\",button,banner_plus,mpu\"> <noscript> <a href=\"https:\/\/pubads.g.doubleclick.net\/gampad\/jump?co=1&amp;iu=\/6978\/reg_security\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=2&amp;c=2YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0\" target=\"_blank\" rel=\"noopener noreferrer\"> <img decoding=\"async\" src=\"https:\/\/pubads.g.doubleclick.net\/gampad\/ad?co=1&amp;iu=\/6978\/reg_security\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=2&amp;c=2YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0\" alt> <\/a> <\/noscript> <\/div>\n<p>The code is present in Linux distributions like Fedora and Gentoo, and is used in macOS package manager Homebrew. It&#8217;s also the crypto library <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/github.com\/systemd\/systemd\/search?q=libgcrypt%20DNSSEC\">used by systemd<\/a> for DNSSEC.<\/p>\n<div class=\"promo_article\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/regmedia.co.uk\/2016\/03\/15\/rust_language.jpg?x=174&amp;y=115&amp;crop=1\" width=\"174\" height=\"115\" alt><\/p>\n<h2 title=\"Redmond engineer hints at taking super-lang for a spin\">Rust in peace: Memory bugs in C and C++ code cause security issues so Microsoft is considering alternatives once again<\/h2>\n<p><a href=\"https:\/\/www.theregister.com\/2019\/07\/18\/microsoft_rust_security\/\"><span>READ MORE<\/span><\/a><\/div>\n<div class=\"adun\" data-pos=\"mid\" data-raptor=\"eagle\" data-xsm=\",button,mpu_plusplus,\" data-sm=\",button,mpu_plusplus,\" data-md=\",button,mpu_plusplus,\"> <noscript> <a href=\"https:\/\/pubads.g.doubleclick.net\/gampad\/jump?co=1&amp;iu=\/6978\/reg_security\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=3&amp;c=33YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0\" target=\"_blank\" rel=\"noopener noreferrer\"> <img decoding=\"async\" src=\"https:\/\/pubads.g.doubleclick.net\/gampad\/ad?co=1&amp;iu=\/6978\/reg_security\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=3&amp;c=33YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0\" alt> <\/a> <\/noscript> <\/div>\n<p>However, because Libgcrypt 1.9.0 was only recently released, it hasn&#8217;t been widely incorporated into other projects yet. It was included in Fedora 34 but that hasn&#8217;t been officially released and the library will presumably be replaced with a good version come launch day; Gentoo did adopt it but is <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/gitweb.gentoo.org\/repo\/gentoo.git\/commit\/?id=c242f6750f7ccb8546366ff8b8f080cefcdc6f38\">in the process of getting rid of it<\/a>. There&#8217;s <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/github.com\/Homebrew\/homebrew-core\/pull\/69980\">a Homebrew patch<\/a> too, which apparently required extra work to resolve issues with the 1.9.1 update that <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/twitter.com\/FiloSottile\/status\/1355153432081031171?s=20\">broke builds on Intel CPUs<\/a>.<\/p>\n<p>The identified bug is a heap buffer overflow and it&#8217;s considered rather serious because it&#8217;s easily exploitable.<\/p>\n<p>&#8220;Just decrypting some data can overflow a heap buffer with attacker controlled data, no verification or signature is validated before the vulnerability occurs,&#8221; explains Werner Koch, principal developer of GnuPGP in the <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/lists.gnupg.org\/pipermail\/gnupg-announce\/2021q1\/000456.html\">security advisory<\/a>. &#8220;&#8230;Exploiting this bug is simple and thus immediate action for 1.9.0 users is required.&#8221;<\/p>\n<p>Action in this case means either adopting 1.9.1 or reverting to an older version, LTS 1.8.5 or better.<\/p>\n<p>Filippo Valsorda, a cryptography and software engineer on Google&#8217;s Go programming language team, dissected the bug in a Twitter thread and lays the blame in part on the lack of memory safety in Libgcrypt&#8217;s C code.<\/p>\n<blockquote class=\"twitter-tweet\" readability=\"12.384615384615\">\n<p lang=\"en\" dir=\"ltr\">What went wrong? Of course, in primis, it&#8217;s C and memory unsafety.\n<\/p>\n<p>Arithmetic errors happen. In C they instantly become exploitable vulnerabilities. In a hash function!!\n<\/p>\n<p>There&#8217;s also a lot of reliance on distant state invariants, which is unsafe even by C standards.<\/p>\n<p>\u2014 Filippo Valsorda \ud83d\udc9a\ud83e\udd0d\u2764\ufe0f \u270a (@FiloSottile) <a href=\"https:\/\/twitter.com\/FiloSottile\/status\/1355133524064481282?ref_src=twsrc%5Etfw\">January 29, 2021<\/a><\/p><\/blockquote>\n<p>At the heart of the bug is a C structure in Libgcrypt that, highly simplified, looks like:<\/p>\n<pre class=\"wrap_text\">\nstruct gcry_md_block_ctx\n{ char buffer[128]; int stuff; function_ptr func;\n}\n<\/pre>\n<p>You can overflow <code>buffer<\/code> with input data, as described above, to alter the function pointer <code>func<\/code>, which is called shortly after, to redirect control of the program to attacker-defined instructions. On little-endian machines, such as x86 and modern Arm, partially overwriting the function pointer \u2013 just the low bytes \u2013 will defeat ASLR. It&#8217;s trivial to exploit by getting someone to decrypt a maliciously crafted document, which then starts executing code on their computer to snoop on them, ransom their files, leak data, and so on.<\/p>\n<p>Ormandy&#8217;s in-depth analysis of the programming blunder can be found <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/bugs.chromium.org\/p\/project-zero\/issues\/detail?id=2145\">here<\/a>.<\/p>\n<p>Valsorda <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/twitter.com\/FiloSottile\/status\/1355136172280975363?s=20\">points out<\/a> that the vulnerability was introduced in an effort to mitigate timing side channel attacks, and <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/twitter.com\/FiloSottile\/status\/1355134373415280644?s=20\">is critical<\/a> of the way the buffered data length is managed.<\/p>\n<p>Hanno B\u00f6ck, a German IT journalist and hacker, <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/twitter.com\/hanno\/status\/1355133575016951811?s=20\">expressed similar criticism<\/a> and noted that the maintainers of GnuPGP don&#8217;t appear to use an AddressSanitizer (or asan) in testing, which could have helped catch the bug. He also submitted <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/dev.gnupg.org\/T5280\">a bug report<\/a> pointing out that the gnupg.org webpage includes insecure <code>git:\/\/<\/code> protocol links, a risk because they are vulnerable to MITM attacks.<\/p>\n<p>Koch, who made an <a target=\"_blank\" href=\"https:\/\/www.theregister.com\/2015\/02\/05\/gnupg_funding\/\" rel=\"noopener noreferrer\">appeal for funding<\/a> in 2015 after propping up open source encryption code without recompense, responded by telling B\u00f6ck to stay in his lane. &#8220;Stick to your channels and get back after you have learned some basic developer workflows,&#8221; he replied, marking the submission as invalid.<\/p>\n<div class=\"adun\" data-pos=\"top\" data-raptor=\"falcon\" data-xsm=\",button,dbutton,mpu_plus,dmpu,\" data-sm=\",button,dbutton,mpu_plus,dmpu,\" data-md=\",button,dbutton,mpu_plus,dmpu,\"> <noscript> <a href=\"https:\/\/pubads.g.doubleclick.net\/gampad\/jump?co=1&amp;iu=\/6978\/reg_security\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=4&amp;c=44YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0\" target=\"_blank\" rel=\"noopener noreferrer\"> <img decoding=\"async\" src=\"https:\/\/pubads.g.doubleclick.net\/gampad\/ad?co=1&amp;iu=\/6978\/reg_security\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=4&amp;c=44YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D426raptor%3Dfalcon%26pos%3Dmid%26test%3D0\" alt> <\/a> <\/noscript> <\/div>\n<p>Among the Twitterati following the bug discussion, developer Chris Cowan (@macil_tech) <a target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\/\/twitter.com\/macil_tech\/status\/1355205210893905920?s=20\">quipped<\/a>, &#8220;You&#8217;d think encryption software maintainers would be more enthusiastic about using encryption.&#8221; \u00ae<\/p>\n<p> READ MORE <a href=\"https:\/\/go.theregister.com\/feed\/www.theregister.com\/2021\/01\/29\/severe_libgcrypt_bug\/\">HERE<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently released cryptography code easily undone by trivial buffer overflow Google Project Zero researcher Tavis Ormandy on Thursday reported a severe flaw in Libgcrypt 1.9.0, an update to the widely used cryptographic library that was released ten days ago.\u2026 READ MORE HERE&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_layout":"default_layout","footnotes":""},"categories":[63],"tags":[],"class_list":["post-39361","post","type-post","status-publish","format-standard","hentry","category-the-register"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Severe bug in Libgcrypt \u2013 used by GPG and others \u2013 is a whole heap of trouble, prompts patch scramble 2026 | ThreatsHub Cybersecurity News<\/title>\n<meta name=\"description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Severe bug in Libgcrypt \u2013 used by GPG and others \u2013 is a whole heap of trouble, prompts patch scramble 2026 | ThreatsHub Cybersecurity News\" \/>\n<meta property=\"og:description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/\" \/>\n<meta property=\"og:site_name\" content=\"ThreatsHub Cybersecurity News\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-29T20:21:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pubads.g.doubleclick.net\/gampad\/ad?co=1&amp;iu=\/6978\/reg_security\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=2&amp;c=2YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0\" \/>\n<meta name=\"author\" content=\"TH Author\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@threatshub\" \/>\n<meta name=\"twitter:site\" content=\"@threatshub\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TH Author\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\\\/\"},\"author\":{\"name\":\"TH Author\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\"},\"headline\":\"Severe bug in Libgcrypt \u2013 used by GPG and others \u2013 is a whole heap of trouble, prompts patch scramble\",\"datePublished\":\"2021-01-29T20:21:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\\\/\"},\"wordCount\":669,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pubads.g.doubleclick.net\\\/gampad\\\/ad?co=1&amp;iu=\\\/6978\\\/reg_security\\\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=2&amp;c=2YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0\",\"articleSection\":[\"The Register\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\\\/\",\"name\":\"Severe bug in Libgcrypt \u2013 used by GPG and others \u2013 is a whole heap of trouble, prompts patch scramble 2026 | ThreatsHub Cybersecurity News\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pubads.g.doubleclick.net\\\/gampad\\\/ad?co=1&amp;iu=\\\/6978\\\/reg_security\\\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=2&amp;c=2YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0\",\"datePublished\":\"2021-01-29T20:21:46+00:00\",\"description\":\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pubads.g.doubleclick.net\\\/gampad\\\/ad?co=1&amp;iu=\\\/6978\\\/reg_security\\\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=2&amp;c=2YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0\",\"contentUrl\":\"https:\\\/\\\/pubads.g.doubleclick.net\\\/gampad\\\/ad?co=1&amp;iu=\\\/6978\\\/reg_security\\\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=2&amp;c=2YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Severe bug in Libgcrypt \u2013 used by GPG and others \u2013 is a whole heap of trouble, prompts patch scramble\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"name\":\"ThreatsHub Cybersecurity News\",\"description\":\"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"alternateName\":\"Threatshub.org\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\",\"name\":\"ThreatsHub.org\",\"alternateName\":\"Threatshub.org\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"width\":432,\"height\":435,\"caption\":\"ThreatsHub.org\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/threatshub\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\",\"name\":\"TH Author\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"caption\":\"TH Author\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Severe bug in Libgcrypt \u2013 used by GPG and others \u2013 is a whole heap of trouble, prompts patch scramble 2026 | ThreatsHub Cybersecurity News","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/","og_locale":"en_US","og_type":"article","og_title":"Severe bug in Libgcrypt \u2013 used by GPG and others \u2013 is a whole heap of trouble, prompts patch scramble 2026 | ThreatsHub Cybersecurity News","og_description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","og_url":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/","og_site_name":"ThreatsHub Cybersecurity News","article_published_time":"2021-01-29T20:21:46+00:00","og_image":[{"url":"https:\/\/pubads.g.doubleclick.net\/gampad\/ad?co=1&amp;iu=\/6978\/reg_security\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=2&amp;c=2YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0","type":"","width":"","height":""}],"author":"TH Author","twitter_card":"summary_large_image","twitter_creator":"@threatshub","twitter_site":"@threatshub","twitter_misc":{"Written by":"TH Author","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/#article","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/"},"author":{"name":"TH Author","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476"},"headline":"Severe bug in Libgcrypt \u2013 used by GPG and others \u2013 is a whole heap of trouble, prompts patch scramble","datePublished":"2021-01-29T20:21:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/"},"wordCount":669,"publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/#primaryimage"},"thumbnailUrl":"https:\/\/pubads.g.doubleclick.net\/gampad\/ad?co=1&amp;iu=\/6978\/reg_security\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=2&amp;c=2YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0","articleSection":["The Register"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/","url":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/","name":"Severe bug in Libgcrypt \u2013 used by GPG and others \u2013 is a whole heap of trouble, prompts patch scramble 2026 | ThreatsHub Cybersecurity News","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/#primaryimage"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/#primaryimage"},"thumbnailUrl":"https:\/\/pubads.g.doubleclick.net\/gampad\/ad?co=1&amp;iu=\/6978\/reg_security\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=2&amp;c=2YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0","datePublished":"2021-01-29T20:21:46+00:00","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","breadcrumb":{"@id":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/#primaryimage","url":"https:\/\/pubads.g.doubleclick.net\/gampad\/ad?co=1&amp;iu=\/6978\/reg_security\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=2&amp;c=2YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0","contentUrl":"https:\/\/pubads.g.doubleclick.net\/gampad\/ad?co=1&amp;iu=\/6978\/reg_security\/front&amp;sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&amp;tile=2&amp;c=2YBVmy0JF3dPz4uwYe1u@DgAAAII&amp;t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0"},{"@type":"BreadcrumbList","@id":"https:\/\/www.threatshub.org\/blog\/severe-bug-in-libgcrypt-used-by-gpg-and-others-is-a-whole-heap-of-trouble-prompts-patch-scramble\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threatshub.org\/blog\/"},{"@type":"ListItem","position":2,"name":"Severe bug in Libgcrypt \u2013 used by GPG and others \u2013 is a whole heap of trouble, prompts patch scramble"}]},{"@type":"WebSite","@id":"https:\/\/www.threatshub.org\/blog\/#website","url":"https:\/\/www.threatshub.org\/blog\/","name":"ThreatsHub Cybersecurity News","description":"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform","publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"alternateName":"Threatshub.org","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.threatshub.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.threatshub.org\/blog\/#organization","name":"ThreatsHub.org","alternateName":"Threatshub.org","url":"https:\/\/www.threatshub.org\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","contentUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","width":432,"height":435,"caption":"ThreatsHub.org"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/threatshub"]},{"@type":"Person","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476","name":"TH Author","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","caption":"TH Author"}}]}},"_links":{"self":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/39361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/comments?post=39361"}],"version-history":[{"count":0,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/39361\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/media?parent=39361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/categories?post=39361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/tags?post=39361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}