Every CVE Search/ Get API key

CVE-2019-6690

Improper Input Validation python-gnupg

7.5 HighPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

8.62%Down 2.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2019-6690
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:P/A:N
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2019-6690
Updated
2026-11-02
EUVDEUVD-2019-0114 No score

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.

Record
EUVD-2019-0114
Updated
2026-11-03
GitHub AdvisoriesGHSA-2fch-jvg5-crf6 7.5

Improper Input Validation python-gnupg

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.

Record
GHSA-2fch-jvg5-crf6
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-20
Updated
2026-11-02
GitHub AdvisoriesGHSA-qh62-ch95-63wh No score

Duplicate Advisory: python-gnupg allows context-dependent attackers to trick gnupg to decrypt other ciphertext than intended

Withdrawn: Duplicate of GHSA-2fch-jvg5-crf6

Record
GHSA-qh62-ch95-63wh
Updated
2026-11-02
OSV 7.5

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.

Record
CVE-2019-6690
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
Show 13 moreShow less
OSVDEBIAN-CVE-2019-6690 7.5

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.

Record
DEBIAN-CVE-2019-6690
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVGHSA-2fch-jvg5-crf6 7.5

Improper Input Validation python-gnupg

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.

Record
GHSA-2fch-jvg5-crf6
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-20
Updated
2026-11-02
OSVUBUNTU-CVE-2019-6690 7.5

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.

Record
UBUNTU-CVE-2019-6690
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVGHSA-qh62-ch95-63wh No score

Duplicate Advisory: python-gnupg allows context-dependent attackers to trick gnupg to decrypt other ciphertext than intended

Withdrawn: Duplicate of GHSA-2fch-jvg5-crf6

Record
GHSA-qh62-ch95-63wh
Updated
2026-11-02
OSVMGASA-2019-0105 No score

Updated python-gnupg packages fix security vulnerability

When symmetric encryption is used, data can be injected through the passphrase property of the gnupg.GPG.encrypt() and gnupg.GPG.decrypt() methods. The supplied passphrase is not validated for newlines, and the library passes --passphrase-fd=0 to the gpg executable, which expects the passphrase on the first line of stdin, and the ciphertext to be decrypted or plaintext to be encrypted on subsequent lines. By supplying a passphrase containing a newline an attacker can control/modify the ciphertext/plaintext being decrypted/encrypted (CVE-2019-6690).

Record
MGASA-2019-0105
Updated
2026-11-02
OSVopenSUSE-SU-2019:0143-1 No score

Security update for python-python-gnupg

This update for python-python-gnupg to version 0.4.4 fixes the following issues:

Security issue fixed:

  • CVE-2019-6690: Added a check to disallow certain control characters ('\r', '\n', NUL) in passphrases (boo#1123498).
Record
openSUSE-SU-2019:0143-1
Updated
2026-11-02
OSVopenSUSE-SU-2019:0239-1 No score

Security update for python-python-gnupg

This update for python-python-gnupg to version 0.4.4 fixes the following issues:

Security issue fixed:

  • CVE-2019-6690: Added a check to disallow certain control characters ('\r', '\n', NUL) in passphrases (boo#1123498).

This update was imported from the openSUSE:Leap:15.0:Update update project.

Record
openSUSE-SU-2019:0239-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11261-1 No score

python36-python-gnupg-0.4.7-1.2 on GA media

These are all security issues fixed in the python36-python-gnupg-0.4.7-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11261-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:14158-1 No score

python310-python-gnupg-0.5.2-1.5 on GA media

These are all security issues fixed in the python310-python-gnupg-0.5.2-1.5 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14158-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:11755-1 No score

python313-python-gnupg-0.5.6-2.1 on GA media

These are all security issues fixed in the python313-python-gnupg-0.5.6-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11755-1
Updated
2026-11-02
OSVPYSEC-2019-115 No score

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.

Record
PYSEC-2019-115
Updated
2026-11-02
OSVUSN-3964-1 No score

python-gnupg vulnerabilities

Marcus Brinkmann discovered that GnuPG before 2.2.8 improperly handled certain command line parameters. A remote attacker could use this to spoof the output of GnuPG and cause unsigned e-mail to appear signed. (CVE-2018-12020)

It was discovered that python-gnupg incorrectly handled the GPG passphrase. A remote attacker could send a specially crafted passphrase that would allow them to control the output of encryption and decryption operations. (CVE-2019-6690)

Record
USN-3964-1
Updated
2026-11-02
OSVUSN-4839-1 No score

python-gnupg vulnerabilities

Marcus Brinkmann discovered that python-gnupg improperly handled certain command line parameters. A remote attacker could use this to spoof the output of python-gnupg and cause unsigned e-mail to appear signed. (CVE-2018-12020)

It was discovered that python-gnupg incorrectly handled the GPG passphrase. A remote attacker could send a specially crafted passphrase that would allow them to control the output of encryption and decryption operations. (CVE-2019-6690)

Record
USN-4839-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
python-gnupg
PyPI
before 0.4.4
0.4.4
python-gnupg
Debian:12
before 0.4.4-1
0.4.4-1
python-gnupg
Debian:13
before 0.4.4-1
0.4.4-1
python-gnupg
Debian:14
before 0.4.4-1
0.4.4-1
python-gnupg
Debian:8
before 0.3.6-1+deb8u1, plus listed versions
0.3.6-1
0.3.6-1+deb8u1
python-gnupg
Debian:9
From an advisory covering 2 CVEs
before 0.3.9-1+deb9u1, plus listed versions
0.3.9-1
0.3.9-1+deb9u1
python-gnupg
PyPI
before 0.4.4, plus listed versions
0.2.30.2.40.2.60.2.70.2.8
Show 15 moreShow less
0.2.90.3.00.3.10.3.20.3.30.3.40.3.50.3.60.3.70.3.80.3.90.4.00.4.10.4.20.4.3
0.4.4
python-gnupg
Mageia:6
before 0.4.4-1.mga6
0.4.4-1.mga6
python-gnupg
Ubuntu:Pro:14.04:LTS
before 0.3.6-1ubuntu0.1~esm1, plus listed versions
0.3.5-20.3.6-1
0.3.6-1ubuntu0.1~esm1
python-gnupg
Ubuntu:Pro:16.04:LTS
before 0.3.8-2ubuntu0.1~esm1, plus listed versions
0.3.7-20.3.8-10.3.8-2
0.3.8-2ubuntu0.1~esm1
Show 9 moreShow less
Affected packages
PackageAffectedFixed
python-gnupg
Ubuntu:18.04:LTS
before 0.4.1-1ubuntu1.18.04.1, plus listed versions
0.3.9-10.4.1-1ubuntu1
0.4.1-1ubuntu1.18.04.1
python-gnupg
Ubuntu:20.04:LTS
All versions, plus listed versions
0.4.3-1ubuntu10.4.5-10.4.5-2
None known
python-gnupg
Ubuntu:22.04:LTS
All versions, plus listed versions
0.4.6-10.4.7-10.4.8-1
None known
python-gnupg
Ubuntu:18.04:LTS
From an advisory covering 2 CVEs
before 0.4.1-1ubuntu1.18.04.1, plus listed versions
0.3.9-10.4.1-1ubuntu1
0.4.1-1ubuntu1.18.04.1
python-gnupg
Ubuntu:Pro:14.04:LTS
From an advisory covering 2 CVEs
before 0.3.6-1ubuntu0.1~esm1, plus listed versions
0.3.5-20.3.6-1
0.3.6-1ubuntu0.1~esm1
python-gnupg
Ubuntu:Pro:16.04:LTS
From an advisory covering 2 CVEs
before 0.3.8-2ubuntu0.1~esm1, plus listed versions
0.3.7-20.3.8-10.3.8-2
0.3.8-2ubuntu0.1~esm1
python-python-gnupg
SUSE:Package Hub 15
before 0.4.4-bp150.2.3.1
0.4.4-bp150.2.3.1
python-python-gnupg
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 0.5.2-1.5
0.5.2-1.5
python-python-gnupg
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 0.5.6-2.1
0.5.6-2.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubstigtsp/CVE-2019-6690-python-gnupg-vulnerability2019-01-20
PoC in GitHubbrianwrf/CVE-2019-66902019-04-03

History

History
RecordedChangedSources
affected, exploits, facts
affected
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-6690 is a high vulnerability (CVSS 7.5) in Python Python-gnupg, published February 14, 2019. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 8.62%, the 95th percentile. Fixed in python-gnupg 0.4.4.

References

Show 33 moreShow less
MoveEnter Open