{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-68972 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2025-68972 is a medium-severity vulnerability in GnuPG, published on 27 Dec 2025. 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-2025-68972 and fix it if it is affected.\n\nWhat it is: CVE-2025-68972 is a medium-severity vulnerability in GnuPG, published on 27 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-68972 exists.\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-2025-68972/ (Markdown: https://insights.sbomify.com/CVE-2025-68972/index.md)","id":"CVE-2025-68972","markdown":"https://insights.sbomify.com/CVE-2025-68972/index.md","name":"CVE-2025-68972","record":{"aliases":["ALPINE-CVE-2025-68972","AZL-73192","AZL-73911","BELL-CVE-2025-68972","DEBIAN-CVE-2025-68972","GHSA-w789-3q45-984r","JLSEC-2026-562","MINI-rfgg-vpp5-v4pm","RHSA-2026:7458","ROOT-OS-DEBIAN-11-CVE-2025-68972","ROOT-OS-DEBIAN-13-CVE-2025-68972","ROOT-OS-UBUNTU-2204-CVE-2025-68972"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GnuPG encryption library","requires_auth":"none","summary":"An attacker can append text to signed messages by exploiting form feed handling, bypassing signature verification integrity checks.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"gnupg","vendor":"gnupg"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"In GnuPG through 2.4.8, if a signed message has \\f at the end of a plaintext line, an adversary can construct a modified message that places additional text after the signed material, such that signature verification of the modified message succeeds (although an \"invalid armor\" message is printed during verification). This is related to use of \\f as a marker to denote truncation of a long plaintext line.","ecosystems":["Red Hat:hummingbird:1"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Security feature bypass in GnuPG","id":"CVE-2025-68972","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"security_feature_bypass","year":"2025"},"n_packages":11,"n_references":3,"next":{"headline":"Memory corruption in GnuPG","id":"CVE-2025-68973"},"packages":[{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.4.9-5.1.hum1"],"introduced":["0"],"last_affected":[],"package":"gnupg2","purl":"pkg:rpm/redhat/gnupg2","source":"RHSA-2026:7458"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.4.9-5.1.hum1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-dirmngr","purl":"pkg:rpm/redhat/gnupg2-dirmngr","source":"RHSA-2026:7458"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.4.9-5.1.hum1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-g13","purl":"pkg:rpm/redhat/gnupg2-g13","source":"RHSA-2026:7458"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.4.9-5.1.hum1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-gpg-agent","purl":"pkg:rpm/redhat/gnupg2-gpg-agent","source":"RHSA-2026:7458"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.4.9-5.1.hum1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-gpgconf","purl":"pkg:rpm/redhat/gnupg2-gpgconf","source":"RHSA-2026:7458"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.4.9-5.1.hum1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-keyboxd","purl":"pkg:rpm/redhat/gnupg2-keyboxd","source":"RHSA-2026:7458"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.4.9-5.1.hum1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-scdaemon","purl":"pkg:rpm/redhat/gnupg2-scdaemon","source":"RHSA-2026:7458"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.4.9-5.1.hum1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-smime","purl":"pkg:rpm/redhat/gnupg2-smime","source":"RHSA-2026:7458"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.4.9-5.1.hum1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-utils","purl":"pkg:rpm/redhat/gnupg2-utils","source":"RHSA-2026:7458"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.4.9-5.1.hum1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-verify","purl":"pkg:rpm/redhat/gnupg2-verify","source":"RHSA-2026:7458"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.4.9-5.1.hum1"],"introduced":["0"],"last_affected":[],"package":"gnupg2-wks","purl":"pkg:rpm/redhat/gnupg2-wks","source":"RHSA-2026:7458"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2025-68971"},"products":["GnuPG"],"published":"2025-12-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":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":"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":"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-02","vendors":["GnuPG"]},"summary":"An attacker can append text to signed messages by exploiting form feed handling, bypassing signature verification integrity checks.","url":"https://insights.sbomify.com/CVE-2025-68972/"}