CVE-2019-6690
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.
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
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 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 2.0
- 5.0 Medium
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
python-gnupgPyPI |
before 0.4.4 | 0.4.4 |
python-gnupgDebian:12 |
before 0.4.4-1 | 0.4.4-1 |
python-gnupgDebian:13 |
before 0.4.4-1 | 0.4.4-1 |
python-gnupgDebian:14 |
before 0.4.4-1 | 0.4.4-1 |
python-gnupgDebian:8 |
before 0.3.6-1+deb8u1, plus listed versions 0.3.6-1 |
0.3.6-1+deb8u1 |
python-gnupgDebian: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-gnupgPyPI |
before 0.4.4, plus listed versions 0.2.30.2.40.2.60.2.70.2.8 Show 15 moreShow less0.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-gnupgMageia:6 |
before 0.4.4-1.mga6 | 0.4.4-1.mga6 |
python-gnupgUbuntu: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-gnupgUbuntu: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
| Package | Affected | Fixed |
|---|---|---|
python-gnupgUbuntu: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-gnupgUbuntu:20.04:LTS |
All versions, plus listed versions 0.4.3-1ubuntu10.4.5-10.4.5-2 |
None known |
python-gnupgUbuntu:22.04:LTS |
All versions, plus listed versions 0.4.6-10.4.7-10.4.8-1 |
None known |
python-gnupgUbuntu: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-gnupgUbuntu: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-gnupgUbuntu: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-gnupgSUSE:Package Hub 15 |
before 0.4.4-bp150.2.3.1 | 0.4.4-bp150.2.3.1 |
python-python-gnupgopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 0.5.2-1.5 | 0.5.2-1.5 |
python-python-gnupgopenSUSE: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.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | stigtsp/CVE-2019-6690-python-gnupg-vulnerability | 2019-01-20 |
| PoC in GitHub | brianwrf/CVE-2019-6690 | 2019-04-03 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, exploits, facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE 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
securityfocus.com/bid/106756
packetstormsecurity.com/files/151341/Python-GnuPG-0.4.3-Improper-Input-Validation.html
pypi.org/project/python-gnupg
lists.opensuse.org/opensuse-security-announce/2019-02/msg00008.html
lists.opensuse.org/opensuse-security-announce/2019-02/msg00058.html
lists.debian.org/debian-lts-announce/2019/02/msg00021.html
Show 33 moreShow less
seclists.org/bugtraq/2019/Jan/41
blog.hackeriet.no/cve-2019-6690-python-gnupg-vulnerability
usn.ubuntu.com/3964-1
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W6KYZMN2PWXY4ENZVJUVTGFBVYEVY7II
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X4VFRUG56542LTYK4444TPJBGR57MT25
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3WMV6XNPPL3VB3RQRFFOBCJ3AGWC4K47
lists.debian.org/debian-lts-announce/2021/12/msg00027.html
nvd.nist.gov/vuln/detail/CVE-2019-6690
github.com/advisories/GHSA-2fch-jvg5-crf6
lists.fedoraproject.org/archives/list/[email protected]/message/3WMV6XNPPL3VB3RQRFFOBCJ3AGWC4K47
lists.fedoraproject.org/archives/list/[email protected]/message/W6KYZMN2PWXY4ENZVJUVTGFBVYEVY7II
lists.fedoraproject.org/archives/list/[email protected]/message/X4VFRUG56542LTYK4444TPJBGR57MT25
web.archive.org/web/20200227091727/http://www.securityfocus.com/bid/106756
bitbucket.org/vinay.sajip/python-gnupg/commits/1a5196800604c05f9e347110b4ecca538ba68cdc
github.com/advisories/GHSA-qh62-ch95-63wh
github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2019-115.yaml
security-tracker.debian.org/tracker/CVE-2019-6690
advisories.mageia.org/MGASA-2019-0105.html
bugs.mageia.org/show_bug.cgi?id=24341
lists.opensuse.org/opensuse-updates/2019-02/msg00034.html
ubuntu.com/security/CVE-2019-6690
github.com/stigtsp/CVE-2019-6690-python-gnupg-vulnerability
github.com/vsajip/python-gnupg/commit/39eca266dd837e2ad89c94eb17b7a6f50b25e7cf
github.com/vsajip/python-gnupg/commit/3003b654ca1c29b0510a54b9848571b3ad57df19
ubuntu.com/security/notices/USN-3964-1
ubuntu.com/security/notices/USN-4839-1
cve.org/CVERecord?id=CVE-2019-6690
ubuntu.com/security/CVE-2018-12020
lists.opensuse.org/archives/list/[email protected]/thread/APEB2TMV4R5466CPFHCDNMQ2NAKNEKRW
bugzilla.suse.com/1123498
suse.com/security/cve/CVE-2019-6690
lists.opensuse.org/archives/list/[email protected]/thread/QAXWGDTCYULVU3YE6PBYHKHJXXNNNWTF
suse.com/security/cve/CVE-2018-12020