{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-41989 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-41989 is a medium-severity memory corruption vulnerability in gnupg Libgcrypt, published on 23 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41989 and fix it if it is affected.\n\nWhat it is: CVE-2026-41989 is a medium-severity memory corruption vulnerability in gnupg Libgcrypt, published on 23 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-41989 in the wild and no public exploit code.\n\nAffected product: gnupg Libgcrypt. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-41989/ (Markdown: https://insights.sbomify.com/CVE-2026-41989/index.md)","id":"CVE-2026-41989","markdown":"https://insights.sbomify.com/CVE-2026-41989/index.md","name":"CVE-2026-41989","record":{"aliases":["ALSA-2026:47117","ALSA-2026:50144","ALSA-2026:50147","AZL-83544","BELL-CVE-2026-41989","CLSA-2026-1784632339","CLSA-2026-1784633299","DEBIAN-CVE-2026-41989","ECHO-afba-f32f-e1d7","GHSA-wrv8-79m2-qg24","JLSEC-2026-496","MGASA-2026-0212","OESA-2026-2345","OESA-2026-2346","OESA-2026-2347","OESA-2026-2348","RHSA-2026:47117","RHSA-2026:50144","RHSA-2026:50147","RHSA-2026:52950","RHSA-2026:52951","RHSA-2026:52952","RHSA-2026:52953","RHSA-2026:58977","RHSA-2026:58978","RHSA-2026:58979","RLSA-2026:47117","RLSA-2026:50144","RLSA-2026:50147","ROOT-OS-DEBIAN-12-CVE-2026-41989","SUSE-SU-2026:22760-1","SUSE-SU-2026:22826-1","SUSE-SU-2026:22907-1","SUSE-SU-2026:22919-1","SUSE-SU-2026:3182-1","SUSE-SU-2026:3491-1","SUSE-SU-2026:3921-1","UBUNTU-CVE-2026-41989","openSUSE-SU-2026:21387-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Libgcrypt crypto library","requires_auth":"none","summary":"A heap-based buffer overflow in Libgcrypt allows attackers to cause denial of service via crafted ECDH ciphertext.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"libgcrypt","vendor":"gnupg"}],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Libgcrypt before 1.12.2 sometimes allows a heap-based buffer overflow and denial of service via crafted ECDH ciphertext to gcry_pk_decrypt.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.8::baseos","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_e4s:9.4::baseos","Red Hat:rhel_eus:9.6::baseos","Red Hat:rhel_eus_long_life:8.4::baseos","Red Hat:rhel_eus_long_life:8.6::baseos","Red Hat:rhel_tus:8.8::baseos","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","SUSE:Linux Micro 6.2","openSUSE:Leap 16.0"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in Libgcrypt","id":"CVE-2026-41989","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":47,"n_references":3,"next":{"headline":"Memory corruption in Libgcrypt","id":"CVE-2026-41990"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["1.11.0-7.el10_2"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/almalinux/libgcrypt","source":"ALSA-2026:50144"},{"ecosystem":"AlmaLinux:10","fixed":["1.11.0-7.el10_2"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-devel","purl":"pkg:rpm/almalinux/libgcrypt-devel","source":"ALSA-2026:50144"},{"ecosystem":"AlmaLinux:8","fixed":["1.8.5-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/almalinux/libgcrypt","source":"ALSA-2026:47117"},{"ecosystem":"AlmaLinux:8","fixed":["1.8.5-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-devel","purl":"pkg:rpm/almalinux/libgcrypt-devel","source":"ALSA-2026:47117"},{"ecosystem":"AlmaLinux:9","fixed":["1.10.0-13.el9_8"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/almalinux/libgcrypt","source":"ALSA-2026:50147"},{"ecosystem":"AlmaLinux:9","fixed":["1.10.0-13.el9_8"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-devel","purl":"pkg:rpm/almalinux/libgcrypt-devel","source":"ALSA-2026:50147"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.11.0-7.el10_2"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/redhat/libgcrypt","source":"RHSA-2026:50144"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.11.0-7.el10_2"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-debuginfo","purl":"pkg:rpm/redhat/libgcrypt-debuginfo","source":"RHSA-2026:50144"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.11.0-7.el10_2"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-debugsource","purl":"pkg:rpm/redhat/libgcrypt-debugsource","source":"RHSA-2026:50144"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.11.0-7.el10_2"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-devel","purl":"pkg:rpm/redhat/libgcrypt-devel","source":"RHSA-2026:50144"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.11.0-7.el10_2"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-devel-debuginfo","purl":"pkg:rpm/redhat/libgcrypt-devel-debuginfo","source":"RHSA-2026:50144"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.5-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/redhat/libgcrypt","source":"RHSA-2026:47117"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.5-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-debuginfo","purl":"pkg:rpm/redhat/libgcrypt-debuginfo","source":"RHSA-2026:47117"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.5-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-debugsource","purl":"pkg:rpm/redhat/libgcrypt-debugsource","source":"RHSA-2026:47117"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.5-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-devel","purl":"pkg:rpm/redhat/libgcrypt-devel","source":"RHSA-2026:47117"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.5-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-devel-debuginfo","purl":"pkg:rpm/redhat/libgcrypt-devel-debuginfo","source":"RHSA-2026:47117"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.10.0-13.el9_8"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-debuginfo","purl":"pkg:rpm/redhat/libgcrypt-debuginfo","source":"RHSA-2026:50147"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.10.0-13.el9_8"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-debugsource","purl":"pkg:rpm/redhat/libgcrypt-debugsource","source":"RHSA-2026:50147"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.10.0-13.el9_8"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-devel","purl":"pkg:rpm/redhat/libgcrypt-devel","source":"RHSA-2026:50147"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.10.0-13.el9_8"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-devel-debuginfo","purl":"pkg:rpm/redhat/libgcrypt-devel-debuginfo","source":"RHSA-2026:50147"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.10.0-13.el9_8"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/redhat/libgcrypt","source":"RHSA-2026:50147"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.10.0-13.el9_8"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-debuginfo","purl":"pkg:rpm/redhat/libgcrypt-debuginfo","source":"RHSA-2026:50147"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.10.0-13.el9_8"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-debugsource","purl":"pkg:rpm/redhat/libgcrypt-debugsource","source":"RHSA-2026:50147"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.10.0-13.el9_8"],"introduced":["0"],"last_affected":[],"package":"libgcrypt-devel-debuginfo","purl":"pkg:rpm/redhat/libgcrypt-devel-debuginfo","source":"RHSA-2026:50147"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.11.0-5.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/redhat/libgcrypt","source":"RHSA-2026:52951"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:1.8.5-4.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/redhat/libgcrypt","source":"RHSA-2026:58979"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:1.8.5-7.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/redhat/libgcrypt","source":"RHSA-2026:58978"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:1.8.5-7.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/redhat/libgcrypt","source":"RHSA-2026:58977"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1.10.0-10.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/redhat/libgcrypt","source":"RHSA-2026:52953"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:1.10.0-10.el9_4.2"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/redhat/libgcrypt","source":"RHSA-2026:52952"},{"ecosystem":"Red Hat:rhel_eus:9.6::baseos","fixed":["0:1.10.0-11.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/redhat/libgcrypt","source":"RHSA-2026:52950"},{"ecosystem":"Red Hat:rhel_eus_long_life:8.4::baseos","fixed":["0:1.8.5-4.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/redhat/libgcrypt","source":"RHSA-2026:58979"},{"ecosystem":"Red Hat:rhel_eus_long_life:8.6::baseos","fixed":["0:1.8.5-7.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/redhat/libgcrypt","source":"RHSA-2026:58978"},{"ecosystem":"Red Hat:rhel_tus:8.8::baseos","fixed":["0:1.8.5-7.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/redhat/libgcrypt","source":"RHSA-2026:58977"},{"ecosystem":"Rocky Linux:10","fixed":["0:1.11.0-7.el10_2"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/rocky-linux/libgcrypt?distro=rocky-linux-10\u0026epoch=0","source":"RLSA-2026:50144"},{"ecosystem":"Rocky Linux:8","fixed":["0:1.8.5-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/rocky-linux/libgcrypt?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2026:47117"},{"ecosystem":"Rocky Linux:9","fixed":["0:1.10.0-13.el9_8"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/rocky-linux/libgcrypt?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2026:50147"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["1.9.4-150400.6.14.1"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/suse/libgcrypt\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2026:3921-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["1.9.4-150400.6.14.1"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/suse/libgcrypt\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2026:3921-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["1.9.4-150500.12.6.1"],"introduced":["0"],"last_affected":[],"package":"libgcrypt","purl":"pkg:rpm/suse/libgcrypt\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2026:3491-1"}],"prev":{"headline":"Memory corruption in uuid","id":"CVE-2026-41988"},"products":["Libgcrypt"],"published":"2026-04-23","related":[{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2021-3345","kev_date_added":null,"published":"2021-01-29"},{"cvss_score":7.5,"headline":"Weak cryptography in n/a","id":"CVE-2018-6829","kev_date_added":null,"published":"2018-02-07"},{"cvss_score":5.9,"headline":"Weak cryptography in n/a","id":"CVE-2021-40528","kev_date_added":null,"published":"2021-09-06"},{"cvss_score":5.9,"headline":"Information disclosure in n/a","id":"CVE-2019-12904","kev_date_added":null,"published":"2019-06-19"},{"cvss_score":5.9,"headline":"Information disclosure in n/a","id":"CVE-2017-9526","kev_date_added":null,"published":"2017-06-11"},{"cvss_score":4,"headline":"Memory corruption in Libgcrypt","id":"CVE-2026-41990","kev_date_added":null,"published":"2026-04-23"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["gnupg"]},"summary":"A heap-based buffer overflow in Libgcrypt allows attackers to cause denial of service via crafted ECDH ciphertext.","url":"https://insights.sbomify.com/CVE-2026-41989/"}