{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-24882 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-24882 is a high-severity memory corruption vulnerability in GnuPG, published on 27 Jan 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-24882 and fix it if it is affected.\n\nWhat it is: CVE-2026-24882 is a high-severity memory corruption vulnerability in GnuPG, published on 27 Jan 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-24882 in the wild and no public exploit code.\n\nAffected product: GnuPG. 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-24882/ (Markdown: https://insights.sbomify.com/CVE-2026-24882/index.md)","id":"CVE-2026-24882","markdown":"https://insights.sbomify.com/CVE-2026-24882/index.md","name":"CVE-2026-24882","record":{"aliases":["ALSA-2026:2719","AZL-75266","AZL-76146","BELL-CVE-2026-24882","DEBIAN-CVE-2026-24882","ECHO-cc02-a477-2575","GHSA-mpc3-hqr8-w5f3","JLSEC-2026-565","OESA-2026-1300","OESA-2026-1301","OESA-2026-1302","OESA-2026-1336","RHSA-2026:2719","RHSA-2026:2753","RLSA-2026:2719","ROOT-OS-DEBIAN-12-CVE-2026-24882","ROOT-OS-DEBIAN-13-CVE-2026-24882","SUSE-SU-2026:0434-1","SUSE-SU-2026:20444-1","SUSE-SU-2026:20487-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GnuPG encryption tool","requires_auth":"none","summary":"A stack-based buffer overflow in GnuPG's tpm2daemon allows attackers to execute arbitrary code when handling TPM-backed keys.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"gnupg","vendor":"gnupg"},{"product":"gpg4win","vendor":"gpg4win"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"In GnuPG before 2.5.17, a stack-based buffer overflow exists in tpm2daemon during handling of the PKDECRYPT command for TPM-backed RSA and ECC keys.","ecosystems":["AlmaLinux:10","Red Hat:enterprise_linux:10.1","Red Hat:enterprise_linux_eus:10.0","Rocky Linux:10","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","openSUSE:Leap 15.6"],"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 GnuPG","id":"CVE-2026-24882","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":19,"n_references":2,"next":{"headline":"Null dereference in GnuPG","id":"CVE-2026-24883"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["2.4.5-4.el10_1"],"introduced":["0"],"last_affected":[],"package":"gnupg2","purl":"pkg:rpm/almalinux/gnupg2","source":"ALSA-2026:2719"},{"ecosystem":"AlmaLinux:10","fixed":["2.4.5-4.el10_1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-smime","purl":"pkg:rpm/almalinux/gnupg2-smime","source":"ALSA-2026:2719"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.4.5-4.el10_1"],"introduced":["0"],"last_affected":[],"package":"gnupg2","purl":"pkg:rpm/redhat/gnupg2","source":"RHSA-2026:2719"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.4.5-4.el10_1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-debuginfo","purl":"pkg:rpm/redhat/gnupg2-debuginfo","source":"RHSA-2026:2719"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.4.5-4.el10_1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-debugsource","purl":"pkg:rpm/redhat/gnupg2-debugsource","source":"RHSA-2026:2719"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.4.5-4.el10_1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-smime","purl":"pkg:rpm/redhat/gnupg2-smime","source":"RHSA-2026:2719"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:2.4.5-4.el10_1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-smime-debuginfo","purl":"pkg:rpm/redhat/gnupg2-smime-debuginfo","source":"RHSA-2026:2719"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:2.4.5-2.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"gnupg2","purl":"pkg:rpm/redhat/gnupg2","source":"RHSA-2026:2753"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:2.4.5-2.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"gnupg2-debuginfo","purl":"pkg:rpm/redhat/gnupg2-debuginfo","source":"RHSA-2026:2753"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:2.4.5-2.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"gnupg2-debugsource","purl":"pkg:rpm/redhat/gnupg2-debugsource","source":"RHSA-2026:2753"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:2.4.5-2.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"gnupg2-smime","purl":"pkg:rpm/redhat/gnupg2-smime","source":"RHSA-2026:2753"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:2.4.5-2.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"gnupg2-smime-debuginfo","purl":"pkg:rpm/redhat/gnupg2-smime-debuginfo","source":"RHSA-2026:2753"},{"ecosystem":"Rocky Linux:10","fixed":["0:2.4.5-4.el10_1"],"introduced":["0"],"last_affected":[],"package":"gnupg2","purl":"pkg:rpm/rocky-linux/gnupg2?distro=rocky-linux-10\u0026epoch=0","source":"RLSA-2026:2719"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["2.4.4-150600.3.15.1"],"introduced":["0"],"last_affected":[],"package":"gpg2","purl":"pkg:rpm/suse/gpg2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:0434-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["2.4.4-150600.3.15.1"],"introduced":["0"],"last_affected":[],"package":"gpg2","purl":"pkg:rpm/suse/gpg2\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:0434-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP6","fixed":["2.4.4-150600.3.15.1"],"introduced":["0"],"last_affected":[],"package":"gpg2","purl":"pkg:rpm/suse/gpg2\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6","source":"SUSE-SU-2026:0434-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["2.4.4-7.1"],"introduced":["0"],"last_affected":[],"package":"gpg2","purl":"pkg:rpm/suse/gpg2\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2026:20444-1"},{"ecosystem":"SUSE:Linux Micro 6.1","fixed":["2.4.4-slfo.1.1_7.1"],"introduced":["0"],"last_affected":[],"package":"gpg2","purl":"pkg:rpm/suse/gpg2\u0026distro=SUSE%20Linux%20Micro%206.1","source":"SUSE-SU-2026:20487-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["2.4.4-150600.3.15.1"],"introduced":["0"],"last_affected":[],"package":"gpg2","purl":"pkg:rpm/opensuse/gpg2\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2026:0434-1"}],"prev":{"headline":"Memory corruption in GnuPG","id":"CVE-2026-24881"},"products":["GnuPG"],"published":"2026-01-27","related":[{"cvss_score":9.8,"headline":"Integer overflow in libksba","id":"CVE-2022-3515","kev_date_added":null,"published":"2023-01-12"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2008-1530","kev_date_added":null,"published":"2008-03-27"},{"cvss_score":8.1,"headline":"Memory corruption in GnuPG","id":"CVE-2026-24881","kev_date_added":null,"published":"2026-01-27"},{"cvss_score":7.8,"headline":"Memory corruption in GnuPG","id":"CVE-2025-68973","kev_date_added":null,"published":"2025-12-28"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2020-25125","kev_date_added":null,"published":"2020-09-03"},{"cvss_score":6.8,"headline":"Memory corruption in n/a","id":"CVE-2006-6169","kev_date_added":null,"published":"2006-11-29"}],"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":"total"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["GnuPG"]},"summary":"A stack-based buffer overflow in GnuPG's tpm2daemon allows attackers to execute arbitrary code when handling TPM-backed keys.","url":"https://insights.sbomify.com/CVE-2026-24882/"}