
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68972 is a signature verification bypass vulnerability in GnuPG through version 2.4.8, involving improper handling of the formfeed character (\f). When a signed message contains \f at the end of a plaintext line, an adversary can construct a modified message that appends additional text after the signed material, causing signature verification to succeed despite an "invalid armor" warning being printed. The vulnerability was published on December 27, 2025, and affects all GnuPG versions up to and including 2.4.8. It carries a CVSS v3.1 base score of 4.7 (Medium) per NVD, though ENISA scores it at 5.9 (Medium) (Red Hat Advisory, ENISA EUVD).
The root cause is classified as CWE-347 (Improper Verification of Cryptographic Signature). GnuPG uses the formfeed character (\f) as a marker to denote truncation of long plaintext lines in cleartext-signed messages. An attacker who receives or intercepts a signed message containing \f at the end of a line can craft a modified version that places arbitrary additional text after the signed content boundary. Because GnuPG's armor parsing logic does not correctly reject this manipulation, the signature verification routine reports success — though it does emit an "invalid armor" warning — allowing the injected content to appear as part of a verified message (ENISA EUVD, gpg.fail writeup). The attack is mapped to CAPEC-475 (Signature Spoofing by Improper Validation) and requires local access with low privileges and high attack complexity.
Successful exploitation allows an attacker to forge or tamper with GnuPG-signed messages in a way that passes signature verification, directly undermining the integrity guarantees of cryptographic signing. This could enable unauthorized message modifications, insertion of malicious content into seemingly legitimate signed communications, and bypassing of signature-based authentication workflows. Confidentiality and availability are not directly impacted; the primary risk is integrity compromise of signed data (Red Hat Advisory, ENISA EUVD).
As of the time of reporting, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (ENISA EUVD). The EPSS score is extremely low at approximately 0.009%, reflecting a low near-term exploitation probability. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported. The attack requires high complexity and local access, further limiting practical exploitability.
\f), which GnuPG uses to indicate line truncation.\f marker to confuse GnuPG's armor parsing logic.gpg --verify or equivalent; GnuPG reports a valid signature despite the injected content, though an "invalid armor" warning is printed — which may be overlooked in automated pipelines or by inattentive users.\f, hex 0x0C) at the end of plaintext lines, particularly in automated signing/verification pipelines.gpg --verify without also checking for "invalid armor" stderr warnings, which could silently accept tampered messages.Users should upgrade GnuPG to a version beyond 2.4.8 that addresses this vulnerability; patches have been released and are available for major Linux distributions including Fedora, Slackware, and others (Red Hat Advisory, Linux Security Slackware). As a workaround, GnuPG's own project recommends preferring detached signatures over cleartext signatures, as the vulnerability only affects cleartext-signed messages (WebProNews). Additionally, any automated verification pipeline should be updated to treat the presence of an "invalid armor" warning as a verification failure, regardless of the reported signature status. Microsoft has also issued guidance for affected Azure Linux 3 packages (Microsoft MSRC).
The vulnerability was discussed on Hacker News shortly after disclosure, drawing community attention to the risks of cleartext signature handling in GnuPG (Hacker News). The GnuPG project used the occasion to publicly recommend that users migrate from cleartext signatures to detached signatures as a more robust alternative, which was covered by WebProNews (WebProNews). Red Hat, Microsoft, SUSE, and Slackware all issued advisories or package updates, indicating broad vendor acknowledgment of the issue. The oss-security mailing list also carried a disclosure thread (oss-sec).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."