Description
python-gnupg before 0.3.5 allows context-dependent attackers to execute arbitrary commands via shell metacharacters in unspecified vectors.
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.3.6-1 | — |
| Debian 13 | python-gnupg | 0.3.6-1 | — |
| Debian 12 | python-gnupg | 0.3.6-1 | — |
| Debian 7 | python-gnupg | 0.3.6-1~deb7u1 | DSA-2946-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | python-gnupg | 0.3.6-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | python-gnupg | < 0.3.7 | 0.3.7 | GHSA-c2fx-8r76-gh36 |
| PyPI | python-gnupg | < 0.3.5 | 0.3.5 | PYSEC-2014-89 |
Advisories 1
- DSA-2946-1 python-gnupg - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- 56616 third-party-advisory
- DSA-2946 vendor-advisory
- https://code.google.com/p/python-gnupg/
- [oss-security] 20140204 Re: CVE request: python-gnupg before 0.3.5 shell injection mailing-list
- [oss-security] 20140209 Re: CVE request: python-gnupg before 0.3.5 shell injection mailing-list
- [oss-security] 20140204 CVE request: python-gnupg before 0.3.5 shell injection mailing-list
- 59031 third-party-advisory