
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-57062 is a cryptographic message parsing vulnerability in gpgsm, the S/MIME component of GnuPG, affecting all versions through 2.5.20. The flaw involves improper handling of the CMS (Cryptographic Message Syntax) format for AES-GCM: the aes-ICVlen (Integrity Check Value length) field is required to be 12 bytes per specification, but GnuPG incorrectly accepts a value of 4 bytes. It is related to CVE-2026-34182 and was publicly disclosed on June 23, 2026. The vulnerability carries a CVSS v3.1 base score of 2.9 (Low) (GitHub Advisory, Red Hat Bugzilla).
The root cause is classified as CWE-1284 (Improper Validation of Specified Quantity in Input): gpgsm fails to enforce that the aes-ICVlen parameter in a CMS-formatted AES-GCM message equals the required 12 bytes, instead accepting as few as 4 bytes. AES-GCM's authentication tag (ICV) is standardized at 96 bits (12 bytes); accepting a shorter tag significantly weakens the integrity guarantee of the authenticated encryption scheme, potentially allowing a crafted ciphertext with a truncated tag to pass verification. Exploitation requires local access and involves crafting a malicious CMS message with a non-compliant aes-ICVlen value that gpgsm will accept and process. A technical write-up describing the CMS ciphertext format is referenced in the advisory (GitHub Advisory, EUVD).
Successful exploitation allows a local attacker to craft CMS messages with a weakened AES-GCM authentication tag that gpgsm accepts as valid, enabling message tampering or forgery without detection by the cryptographic verification layer. The impact is limited to integrity — there is no confidentiality or availability impact — and the attack requires local access with high complexity, constraining the practical blast radius. Affected use cases include S/MIME email verification and any workflow relying on gpgsm to validate CMS-signed or CMS-encrypted content (GitHub Advisory, Red Hat Bugzilla).
There is no known public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.11% (2nd percentile), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and NVD's SSVC assessment classifies exploitation as "none" and automation as "no" (GitHub Advisory, Feedly).
Users should update GnuPG to a version beyond 2.5.20 that properly validates the aes-ICVlen field in CMS AES-GCM messages; the patch is referenced in the GitHub Advisory (GHSA-m6x2-4hhh-669j). The official GnuPG download page provides the latest releases. As an interim measure, organizations should validate the integrity of CMS-signed messages through additional out-of-band verification mechanisms and restrict local access to systems running vulnerable GnuPG versions. Amazon Linux 2023 users can apply the fix via ALAS2023-2026-1912 (GitHub Advisory, GnuPG Downloads).
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."