Ojuju Advisory
DEBIAN-CVE-2018-12020 Also known as: CVE-2018-12020
Summary The record has no summary.
Details 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.
Severity High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Dates Published 2018-06-08 21:29 UTC Modified 2026-10-23 18:02 UTC
Affected packages and fixes gnupg1
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 1.4.22-5 (ecosystem)
Fixed versions 1.4.22-5
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
gnupg1
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 1.4.22-5 (ecosystem)
Fixed versions 1.4.22-5
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
gnupg1
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 1.4.22-5 (ecosystem)
Fixed versions 1.4.22-5
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
gnupg2
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 2.2.8-1 (ecosystem)
Fixed versions 2.2.8-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
gnupg2
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 2.2.8-1 (ecosystem)
Fixed versions 2.2.8-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
gnupg2
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 2.2.8-1 (ecosystem)
Fixed versions 2.2.8-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check →