{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-24881 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-24881 is a high-severity memory corruption vulnerability in GnuPG, published on 27 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-24881 and fix it if it is affected.\n\nWhat it is: CVE-2026-24881 is a high-severity memory corruption vulnerability in GnuPG, published on 27 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-24881 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-24881/ (Markdown: https://insights.sbomify.com/CVE-2026-24881/index.md)","id":"CVE-2026-24881","markdown":"https://insights.sbomify.com/CVE-2026-24881/index.md","name":"CVE-2026-24881","record":{"aliases":["GHSA-5w36-x85h-pphm","JLSEC-2026-564"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"GnuPG encryption tool","requires_auth":"none","summary":"A crafted S/MIME message triggers a stack buffer overflow in gpg-agent, allowing attackers to cause denial of service or potentially execute arbitrary code.","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.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/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 crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key can cause a stack-based buffer overflow in gpg-agent during PKDECRYPT--kem=CMS handling. This can easily be leveraged for denial of service; however, there is also memory corruption that could lead to remote code execution.","ecosystems":[],"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-24881","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Memory corruption in GnuPG","id":"CVE-2026-24882"},"packages":[],"prev":{"headline":"Apache Tomcat: Request smuggling via invalid chunk extension","id":"CVE-2026-24880"},"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.4,"headline":"Memory corruption in GnuPG","id":"CVE-2026-24882","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":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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 crafted S/MIME message triggers a stack buffer overflow in gpg-agent, allowing attackers to cause denial of service or potentially execute arbitrary code.","url":"https://insights.sbomify.com/CVE-2026-24881/"}