CVE-2025-68973
GnuPG: GnuPG: Information disclosure and potential arbitrary code execution via out-of-bounds write
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 29, 2025
Updated · September 22, 2026
Description
A flaw was found in GnuPG. An attacker can provide crafted input to the armor_filter function, which incorrectly increments an index variable, leading to an out-of-bounds write. This memory corruption vulnerability may allow for information disclosure and could potentially lead to arbitrary code execution.
Statement
This vulnerability is rated Important for Red Hat products. The flaw in GnuPG's armor_filter function allows an attacker with local access to provide crafted input, potentially leading to information disclosure and arbitrary code execution due to an out-of-bounds write. Exploitation requires high attack complexity.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, users should avoid processing untrusted or unverified input with GnuPG. Exercise caution when handling GnuPG-encrypted or signed data from unknown or suspicious sources, as specially crafted input could trigger the vulnerability. This operational control reduces the attack surface by limiting exposure to malicious data.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
CWE-675 · Multiple Operations on Resource in Single-Operation Context