python-gnupg: improper input validation in gnupg.GPG.encrypt() and gnupg.GPG.decrypt()
Published Mar 17, 2019
7.5
HIGHCVSS 3.1
EPSS 8.55%
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.
Affected products
No data.
Configuration 1
- 0.4.3
Configuration 2
- 8.0
- 9.0
Configuration 4
Running on/with
- 15.0
Configuration 5
- 18.04
- 18.10
- 19.04
No data.
Red Hat Satellite 6
python-gnupg
Not affected
Red Hat Update Infrastructure 3 for Cloud Providers
python-gnupg
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Satellite 6 | python-gnupg | Not affected | n/a |
| Red Hat Update Infrastructure 3 for Cloud Providers | python-gnupg | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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 mitigation
Filter out newlines from passphrases before passing them to python-gnupg.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
AV:N/AC:L/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (25 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 8.55% (0.08548) | 94.91th | v5 (v2026.06.15) |
| Jun 15, 2026 | 8.55% (0.08548) | 94.34th | v5 (v2026.06.15) |
| Nov 21, 2025 | 22.01% (0.22008) | 95.55th | v4 (v2025.03.14) |
| Nov 18, 2025 | 24.26% (0.24256) | 95.73th | v4 (v2025.03.14) |
| Apr 20, 2025 | 22.01% (0.22008) | 95.39th | v4 (v2025.03.14) |
| Apr 7, 2025 | 23.87% (0.23869) | 95.57th | v4 (v2025.03.14) |
| Mar 30, 2025 | 18.04% (0.18035) | 94.65th | v4 (v2025.03.14) |
| Mar 29, 2025 | 24.95% (0.24945) | 93.81th | v4 (v2025.03.14) |
| Mar 28, 2025 | 18.04% (0.18035) | 94.65th | v4 (v2025.03.14) |
| Mar 27, 2025 | 24.95% (0.24945) | 95.42th | v4 (v2025.03.14) |
| Mar 20, 2025 | 18.04% (0.18035) | 94.69th | v4 (v2025.03.14) |
| Mar 19, 2025 | 24.95% (0.24945) | 95.50th | v4 (v2025.03.14) |
| Mar 17, 2025 | 18.04% (0.18035) | 94.67th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.42% (0.01419) | 87.04th | v3 (v2023.03.01) |
| Mar 10, 2024 | 1.31% (0.01313) | 85.59th | v3 (v2023.03.01) |
| Nov 8, 2023 | 1.78% (0.01778) | 86.60th | v3 (v2023.03.01) |
| Jul 11, 2023 | 1.26% (0.01261) | 83.74th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.89% (0.00892) | 80.15th | v3 (v2023.03.01) |
| Mar 6, 2023 | 23.44% (0.23437) | 96.70th | v2 (v2022.01.01) |
| Feb 4, 2022 | 23.44% (0.23437) | 94.77th | v2 (v2022.01.01) |
| Feb 3, 2022 | 11.74% (0.11741) | 88.45th | v1 |
| Jan 6, 2022 | 11.74% (0.11741) | 88.31th | v1 |
| Dec 29, 2021 | 11.74% (0.11741) | 95.78th | v1 |
| Sep 1, 2021 | 10.99% (0.10990) | 95.28th | v1 |
| Apr 14, 2021 | 10.99% (0.10990) | 0.00th | v1 |
References (22)
- http://lists.opensuse.org/opensuse-security-announce/2019-02/msg00008.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-02/msg00058.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://packetstormsecurity.com/files/151341/Python-GnuPG-0.4.3-Improper-Input-Validation.html x_refsource_MISCThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/106756 vdb-entryx_refsource_BIDBroken Link
- https://access.redhat.com/security/cve/CVE-2019-6690 Vendor Advisory
- https://blog.hackeriet.no/cve-2019-6690-python-gnupg-vulnerability/ x_refsource_MISCThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1670364 Issue Tracking
- https://github.com/advisories/GHSA-2fch-jvg5-crf6 Advisory
- https://lists.debian.org/debian-lts-announce/2019/02/msg00021.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/12/msg00027.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3WMV6XNPPL3VB3RQRFFOBCJ3AGWC4K47/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W6KYZMN2PWXY4ENZVJUVTGFBVYEVY7II/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X4VFRUG56542LTYK4444TPJBGR57MT25/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3WMV6XNPPL3VB3RQRFFOBCJ3AGWC4K47/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W6KYZMN2PWXY4ENZVJUVTGFBVYEVY7II/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X4VFRUG56542LTYK4444TPJBGR57MT25/
- https://nvd.nist.gov/vuln/detail/CVE-2019-6690
- https://pypi.org/project/python-gnupg/#history x_refsource_MISCProductThird Party Advisory
- https://seclists.org/bugtraq/2019/Jan/41 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://usn.ubuntu.com/3964-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://web.archive.org/web/20200227091727/http://www.securityfocus.com/bid/106756
- https://www.cve.org/CVERecord?id=CVE-2019-6690
Change history (0)
No recorded changes yet.