VULNERABILITY INTELLIGENCE

CVE-2018-12020

CVSS score7.5 HIGH
EPSS probability8.25%
CISA KEVNot currently listed
Published2018-06-08
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Description

mainproc.c in GnuPG before 2.2.8 mishandles the original filename during decryption and verification actions, which allows remote attackers to spoof the output that GnuPG sends on file descriptor 2 to other programs that use the "--status-fd 2" option. For example, the OpenPGP data might represent an original filename that contains line feed characters in conjunction with GOODSIG or VALIDSIG status codes.

Weakness classification

  • CWE-706: Use of Incorrectly-Resolved Name or Reference

Primary references