Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
WS-2026-0072
Published:September 16, 2026
Updated:September 16, 2026
GnuPG gpgsm passes attacker-controlled Subject Key Identifier bytes from an X.509 certificate directly as a printf format string in gpgsm_check_cert_sig (sm/certcheck.c), allowing out-of-bounds reads and %n-based memory writes that can lead to remote code execution when a crafted certificate is verified. The vulnerable call is reached only when X.509 debugging is enabled (DBG_X509). Introduced in GnuPG 2.3.0 by commit b1694987bb6484405d41d34046a5290176feadd0; corrected by commit 160fa97c10d7229e2ced978dc168fdcb5bf6a00b, which replaces the log_debug call with log_printhex.
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Use of Externally-Controlled Format String