CVE Database›CVE-2018-12020

CVE-2018-12020

gnupg2: Improper sanitization of filenames allows for the display of fake status messages and the bypass of signature verification

Loading…

Severity

Important

Red Hat Product Security

7.5

CVSS 3.0

Review impact separately from score.

Published · June 8, 2018

Updated · November 22, 2025

Description

A data validation flaw was found in the way gnupg processes file names during decryption and signature validation. An attacker may be able to inject messages into gnupg verbose message logging which may have the potential to bypass the integrity of signature authentication mechanisms and could have other unintended consequences if applications take action(s) based on parsed verbose gnupg output.

Statement

Red Hat Product Security has rated this issue as having a security impact of Important, and a future update may address this flaw.

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

This flaw can be mitigated by appending the --no-verbose command line flag.

CVSS / CWE

CVSS 3.0 · 7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CWE-20 · Improper Input Validation