Improper Verification of Cryptographic Signature in GnuPG - CVE-2022-34903

 

Improper Verification of Cryptographic Signature in GnuPG - CVE-2022-34903

Published: July 4, 2022 / Updated: April 4, 2025


Vulnerability identifier: #VU64909
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-34903
CWE-ID: CWE-347
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
GnuPG

Detailed vulnerability description

The vulnerability allows a remote attacker to perform spoofing attack.

The vulnerability exists due to an error in GnuPG, which allows signature spoofing via arbitrary injection into the status line. A remote attacker who controls the secret part of any signing-capable key or subkey in the victim's keyring, can take advantage of this flaw to provide a correctly-formed signature that some software, including gpgme, will accept to have validity and signer fingerprint chosen from the attacker.


How to mitigate CVE-2022-34903

Install update from vendor's website.

Sources