Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-gnupg | 0.4.4-1 | — |
| Debian 13 | python-gnupg | 0.4.4-1 | — |
| Debian 12 | python-gnupg | 0.4.4-1 | — |
| Debian 9 | python-gnupg | 0.3.9-1+deb9u1 | DLA-2862-1 |
| Debian 8 | python-gnupg | 0.3.6-1+deb8u1 | DLA-1675-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | python-gnupg | No fix yet | — |
| Ubuntu 20.04 LTS | python-gnupg | No fix yet | — |
| Ubuntu 18.04 LTS | python-gnupg | 0.4.1-1ubuntu1.18.04.1 | USN-3964-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | python-gnupg | 0.3.8-2ubuntu0.1~esm1 | USN-4839-1 |
| Ubuntu Pro 14.04 LTS | python-gnupg | 0.3.6-1ubuntu0.1~esm1 | USN-4839-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 | python-python-gnupg | 0.4.4-bp150.2.3.1 | openSUSE-SU-2019:0239-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-python-gnupg | 0.5.2-1.5 | openSUSE-SU-2026:11755-1, openSUSE-SU-2024:14158-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
brianwrf/CVE-2019-6690 ★ 6 · Apr 3, 2019
It is a simple PoC of Improper Input Validation in python-gnupg 0.4.3 (CVE-2019-6690).
-
stigtsp/CVE-2019-6690-python-gnupg-vulnerability ★ 1 · Jan 20, 2019
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | python-gnupg | < 0.4.4 | 0.4.4 | GHSA-2fch-jvg5-crf6 |
Advisories 7
- openSUSE-SU-2026:11755-1 python313-python-gnupg-0.5.6-2.1 on GA media SUSE / openSUSE Security Updates · Sep 12, 2026
- USN-4839-1 python-gnupg vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- USN-3964-1 python-gnupg vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-2862-1 python-gnupg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1675-1 python-gnupg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:14158-1 python310-python-gnupg-0.5.2-1.5 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:0239-1 Security update for python-python-gnupg SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 106756 vdb-entry
- http://packetstormsecurity.com/files/151341/Python-GnuPG-0.4.3-Improper-Input-Validation.html
- https://pypi.org/project/python-gnupg/#history
- SU-2019:0143-1 vendor-advisory
- SUSE-SU-2019:0239-1 vendor-advisory
- [SECURITY] [DLA 1675-1] 20190214 python-gnupg security update mailing-list
- 20190125 CVE-2019-6690: Improper Input Validation in python-gnupg mailing-list
- https://blog.hackeriet.no/cve-2019-6690-python-gnupg-vulnerability/
- USN-3964-1 vendor-advisory
- FEDORA-2019-06f5bbdaf5 vendor-advisory
- FEDORA-2020-17fb3273b2 vendor-advisory
- FEDORA-2020-e67d007a67 vendor-advisory
- [debian-lts-announce] 20211228 [SECURITY] [DLA 2862-1] python-gnupg security update mailing-list