cve.bz

CVE-2019-6690 Improper Input Validation

7.5 highEPSS 8.6%Fix available

High (7.5). EPSS 8.6% estimated probability of exploitation activity in the next 30 days. Fixed in python-gnupg 0.4.4.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
8.6% (unchanged from 8.6% a week ago; 8.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-6690 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-6690?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-6690?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-6690 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:python-gnupg0.4.3
debian:debian_linux8.0
debian:debian_linux9.0
opensuse:leap15.0
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
canonical:ubuntu_linux19.04

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2fch-jvg5-crf6PyPIpython-gnupg<0.4.40.4.4
PYSEC-2019-115PyPIpython-gnupg<0.4.40.4.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8python-gnupg0.3.6-1+deb8u1DLA-1675-1
Debian9python-gnupg0.3.9-1+deb9u1DLA-2862-1
Debian12, 13, 14python-gnupg0.4.4-1DEBIAN-CVE-2019-6690
Ubuntu18.04:LTSpython-gnupg0.4.1-1ubuntu1.18.04.1UBUNTU-CVE-2019-6690 USN-3964-1
Ubuntu20.04:LTS, 22.04:LTSpython-gnupgno fix listedUBUNTU-CVE-2019-6690
UbuntuPro:14.04:LTSpython-gnupg0.3.6-1ubuntu0.1~esm1UBUNTU-CVE-2019-6690 USN-4839-1
UbuntuPro:16.04:LTSpython-gnupg0.3.8-2ubuntu0.1~esm1UBUNTU-CVE-2019-6690 USN-4839-1
SUSEPackage Hub 15python-python-gnupg0.4.4-bp150.2.3.1openSUSE-SU-2019:0239-1
openSUSETumbleweedpython-python-gnupg0.5.2-1.5openSUSE-SU-2024:14158-1
openSUSETumbleweedpython-python-gnupg0.5.6-2.1openSUSE-SU-2026:11755-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The issue affects the versions of python-gnupg shipped with Red Hat Update Infrastructure 3, however the vulnerable functions are never used by the product.

The issue affects the versions of python-gnupg shipped with Red Hat Satellite 6, however the vulnerable functions are never used by the product.

Red Hat's mitigation

Filter out newlines from passphrases before passing them to python-gnupg.

ProductPackageStateAdvisory
Red Hat Satellite 6python-gnupgNot affected
Red Hat Update Infrastructure 3 for Cloud Providerspython-gnupgWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-6690.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON