CVE-2018-12020

high
Published — · Modified —
CVSS v3
CVSS v2
VIR risk
8.0

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2018-12020

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2018-12020.html

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-201806-8

OS impact

OSVersionStatusFixed in
arch archfixed2.2.8-1
suse slesaffected
debian debianbullseyefixed2:2.0.7-1
debian debianbookwormfixed1.4.22-5
debian debianforkyfixed1.4.22-5
debian debiansidfixed1.4.22-5
debian debiantrixiefixed1.4.22-5

References

Verify integrity in audit chain (admin only). AS-IS.