Skip to content
Fencer Vulns
high 7.5

CVE-2019-6690 json

Improper Input Validation python-gnupg

published 2019-03-17 7 y ago modified 2026-06-17 4 mo ago also GHSA-2fch-jvg5-crf6 , GHSA-qh62-ch95-63wh , PYSEC-2019-115 , EUVD-2019-0114

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
8.6%
EPSS 8.6% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

Summary

python-gnupg 0.4.3 allows context-dependent attackers to trick gnupg to decrypt other ciphertext than intended. To perform the attack, the passphrase to gnupg must be controlled by the adversary and the ciphertext should be trusted. Related to a "CWE-20: Improper Input Validation" issue affecting the affect functionality component.

Patch / fix

  • pypi python-gnupg 0.4.4
  • python-gnupg Debian 14, Debian 13, Debian 12 0.4.4-1

debian advisories DEBIAN-CVE-2019-6690

  • python-gnupg Ubuntu 18.04 LTS 0.4.1-1ubuntu1.18.04.1
  • python-gnupg Ubuntu Pro 14.04 LTS 0.3.6-1ubuntu0.1~esm1
  • python-gnupg Ubuntu Pro 16.04 LTS 0.3.8-2ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2019-6690

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python-python-gnupg openSUSE Tumbleweed 0.5.6-2.1
  • python-python-gnupg openSUSE Tumbleweed 0.5.2-1.5
  • python-python-gnupg Package Hub 15 0.4.4-bp150.2.3.1

opensuse advisories openSUSE-SU-2026:11755-1openSUSE-SU-2024:14158-1openSUSE-SU-2019:0239-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-6690 updated cvss 7.5

python-gnupg: improper input validation in gnupg.GPG.encrypt() and gnupg.GPG.decrypt()

  • Red Hat Update Infrastructure 3 for Cloud Providers python-gnupg
    affected: workaround, no fix planned “Filter out newlines from passphrases before passing them to python-gnupg.”
  • Red Hat Satellite 6 python-gnupg
    not affected: vulnerable code not present “Filter out newlines from passphrases before passing them to python-gnupg.”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

8.62% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N
GitHub 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
pypi python-gnupg
<0.4.4
0.4.4

Classification

Weakness
  • CWE-20 Improper Input Validation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.