Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2018-12020

published

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

Title from Red Hat VEX

Published
08 Jun 2018, 21:00:00 UTC
Updated
05 Aug 2024, 08:24:03 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Amazon Linux AL2 Release evaluationALAS2-2018-1045 Fixed Not stated Amazon Linux assessment
Alpine Linux edge gnupg Fixed 2.2.8-r0 Package fix record
Debian jessie gnupg Advisory build 1.4.18-7+deb8u5 DSA-4224-1
Oracle Linux 6 gnupg2i686 Advisory build 0:2.0.14-9.el6_10 ELSA-2018-2180
Red Hat Enterprise Linux RHEL-6 gnupg2i686 Advisory build 2.0.14-9.el6_10 RHSA-2018:2180
SUSE / openSUSE SLE-11-SP3 gpg2i586 Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
Alpine Linux v3.10 gnupg Fixed 2.2.8-r0 Package fix record
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.10 gnupg1 Fixed 1.4.22-r1 Package fix record
Alpine Linux v3.11 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.11 gnupg1 Fixed 1.4.22-r1 Package fix record
Alpine Linux v3.12 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.12 gnupg1 Fixed 1.4.22-r1 Package fix record
Alpine Linux v3.13 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.13 gnupg1 Fixed 1.4.22-r1 Package fix record
Alpine Linux v3.14 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.14 gnupg1 Fixed 1.4.22-r1 Package fix record
Alpine Linux v3.15 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.15 gnupg1 Fixed 1.4.22-r1 Package fix record
Alpine Linux v3.16 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.17 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.18 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.19 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.20 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.21 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.22 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.23 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.24 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.4 gnupg Fixed 2.1.12-r1 Package fix record
Alpine Linux v3.5 gnupg Fixed 2.1.15-r1 Package fix record
Alpine Linux v3.5 gnupg1 Fixed 1.4.22-r1 Package fix record
Alpine Linux v3.6 gnupg Fixed 2.2.3-r1 Package fix record
Alpine Linux v3.6 gnupg1 Fixed 1.4.22-r1 Package fix record
Alpine Linux v3.7 gnupg Fixed 2.2.3-r1 Package fix record
Alpine Linux v3.7 gnupg1 Fixed 1.4.22-r1 Package fix record
Alpine Linux v3.8 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.8 gnupg1 Fixed 1.4.22-r1 Package fix record
Alpine Linux v3.9 gnupg Fixed 2.2.8-r0 Package fix record
Alpine Linux v3.9 gnupg1 Fixed 1.4.22-r1 Package fix record
Debian jessie gnupg2 Advisory build 2.0.26-6+deb8u2 DSA-4222-1
Debian stretch gnupg1 Advisory build 1.4.21-4+deb9u1 DSA-4223-1
Debian stretch gnupg2 Advisory build 2.1.18-8~deb9u2 DSA-4222-1
Debian stretch python-gnupg Advisory build 0.3.9-1+deb9u1 DLA-2862-1
Oracle Linux 6 gnupg2x86_64 Advisory build 0:2.0.14-9.el6_10 ELSA-2018-2180
Oracle Linux 6 gnupg2-smimei686 Advisory build 0:2.0.14-9.el6_10 ELSA-2018-2180
Oracle Linux 6 gnupg2-smimex86_64 Advisory build 0:2.0.14-9.el6_10 ELSA-2018-2180
Oracle Linux 7 gnupg2aarch64 Advisory build 0:2.0.22-5.el7_5 ELSA-2018-2181
Oracle Linux 7 gnupg2x86_64 Advisory build 0:2.0.22-5.el7_5 ELSA-2018-2181
Oracle Linux 7 gnupg2-smimeaarch64 Advisory build 0:2.0.22-5.el7_5 ELSA-2018-2181
Oracle Linux 7 gnupg2-smimex86_64 Advisory build 0:2.0.22-5.el7_5 ELSA-2018-2181
Red Hat Enterprise Linux RHEL-6 gnupg2ppc64 Advisory build 2.0.14-9.el6_10 RHSA-2018:2180
Red Hat Enterprise Linux RHEL-6 gnupg2s390x Advisory build 2.0.14-9.el6_10 RHSA-2018:2180
Red Hat Enterprise Linux RHEL-6 gnupg2src Advisory build 2.0.14-9.el6_10 RHSA-2018:2180
Red Hat Enterprise Linux RHEL-6 gnupg2x86_64 Advisory build 2.0.14-9.el6_10 RHSA-2018:2180
Red Hat Enterprise Linux RHEL-6 gnupg2-debuginfoi686 Advisory build 2.0.14-9.el6_10 RHSA-2018:2180
Red Hat Enterprise Linux RHEL-6 gnupg2-debuginfoppc64 Advisory build 2.0.14-9.el6_10 RHSA-2018:2180
Red Hat Enterprise Linux RHEL-6 gnupg2-debuginfos390x Advisory build 2.0.14-9.el6_10 RHSA-2018:2180
Red Hat Enterprise Linux RHEL-6 gnupg2-debuginfox86_64 Advisory build 2.0.14-9.el6_10 RHSA-2018:2180
Red Hat Enterprise Linux RHEL-6 gnupg2-smimei686 Advisory build 2.0.14-9.el6_10 RHSA-2018:2180
Red Hat Enterprise Linux RHEL-6 gnupg2-smimeppc64 Advisory build 2.0.14-9.el6_10 RHSA-2018:2180
Red Hat Enterprise Linux RHEL-6 gnupg2-smimes390x Advisory build 2.0.14-9.el6_10 RHSA-2018:2180
Red Hat Enterprise Linux RHEL-6 gnupg2-smimex86_64 Advisory build 2.0.14-9.el6_10 RHSA-2018:2180
Red Hat Enterprise Linux RHEL-7 gnupg2aarch64 Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2ppc64 Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2ppc64le Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2s390x Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2src Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2x86_64 Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2-debuginfoaarch64 Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2-debuginfoppc64 Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2-debuginfoppc64le Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2-debuginfos390x Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2-debuginfox86_64 Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2-smimeaarch64 Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2-smimeppc64 Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2-smimeppc64le Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2-smimes390x Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
Red Hat Enterprise Linux RHEL-7 gnupg2-smimex86_64 Advisory build 2.0.22-5.el7_5 RHSA-2018:2181
SUSE / openSUSE SLE-11-SP3 gpg2s390x Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP3 gpg2x86_64 Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP3 gpg2-langi586 Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP3 gpg2-langs390x Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP3 gpg2-langx86_64 Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP4 gpg2i586 Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP4 gpg2ia64 Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP4 gpg2ppc64 Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP4 gpg2s390x Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP4 gpg2x86_64 Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP4 gpg2-langi586 Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP4 gpg2-langia64 Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP4 gpg2-langppc64 Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP4 gpg2-langs390x Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-11-SP4 gpg2-langx86_64 Advisory build 2.0.9-25.33.42.3.1 SUSE-SU-2018:1696-1
SUSE / openSUSE SLE-12 gpg2ppc64le Advisory build 2.0.24-9.3.1 SUSE-SU-2018:1698-1
SUSE / openSUSE SLE-12 gpg2s390x Advisory build 2.0.24-9.3.1 SUSE-SU-2018:1698-1
SUSE / openSUSE SLE-12 gpg2x86_64 Advisory build 2.0.24-9.3.1 SUSE-SU-2018:1698-1
SUSE / openSUSE SLE-12 gpg2-langnoarch Advisory build 2.0.24-9.3.1 SUSE-SU-2018:1698-1
SUSE / openSUSE SLE-12-SP1 gpg2ppc64le Advisory build 2.0.24-9.3.1 SUSE-SU-2018:1698-1
SUSE / openSUSE SLE-12-SP1 gpg2s390x Advisory build 2.0.24-9.3.1 SUSE-SU-2018:1698-1
SUSE / openSUSE SLE-12-SP1 gpg2x86_64 Advisory build 2.0.24-9.3.1 SUSE-SU-2018:1698-1
SUSE / openSUSE SLE-12-SP1 gpg2-langnoarch Advisory build 2.0.24-9.3.1 SUSE-SU-2018:1698-1
SUSE / openSUSE SLE-12-SP2 gpg2ppc64le Advisory build 2.0.24-9.3.1 SUSE-SU-2018:1698-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

66

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

21

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
64195520503bb53e70a7720316eefc1fb1218281a1fd30d70cd83e9db76a6b75
Ingested
23 Sep 2026, 07:43:30 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected