CVE-2018-12020
HIGH7.5EPSS 1.7%gnupg - security update
Published: 6/8/2018Modified: 12/3/2025
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.
Affected packages (9)
- Alpine/gnupgfrom 0, < 2.2.8-r0
- Alpine/gnupg1from 0, < 1.4.22-r1
- Debian/enigmailfrom 0, < 2:2.0.7-1
- Debian/gnupgfrom 0, < 1.4.18-7+deb8u5
- Debian/gnupg1from 0, < 1.4.22-5
- Debian/gnupg1from 0, < 1.4.21-4+deb9u1
- Debian/gnupg2from 0, < 2.2.8-1
- Debian/gnupg2from 0, < 2.0.26-6+deb8u2
- Debian/python-gnupgfrom 0, < 0.3.9-1+deb9u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |