CVE-2013-4351
GnuPG 1.4.x, 2.0.x, and 2.1.x treats a key flags subpacket with all bits cleared (no usage...
GnuPG 1.4.x, 2.0.x, and 2.1.x treats a key flags subpacket with all bits cleared (no usage permitted) as if it has all bits set (all usage permitted), which might allow remote attackers to bypass intended cryptographic protection mechanisms by leveraging the subkey.
Exploit likelihood
What each source reports
NVD Score used
5.8
GnuPG 1.4.x, 2.0.x, and 2.1.x treats a key flags subpacket with all bits cleared (no usage permitted) as if it has all bits set (all usage permitted), which might allow remote attackers to bypass intended cryptographic protection mechanisms by leveraging the subkey.
- Record
CVE-2013-4351- CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:N - Weakness
- CWE-310
- Updated
- 2026-11-02
CVE List No score
GnuPG 1.4.x, 2.0.x, and 2.1.x treats a key flags subpacket with all bits cleared (no usage permitted) as if it has all bits set (all usage permitted), which might allow remote attackers to bypass intended cryptographic protection mechanisms by leveraging the subkey.
- Record
CVE-2013-4351- Updated
- 2026-11-02
EUVDEUVD-2013-4235 No score
GnuPG 1.4.x, 2.0.x, and 2.1.x treats a key flags subpacket with all bits cleared (no usage permitted) as if it has all bits set (all usage permitted), which might allow remote attackers to bypass intended cryptographic protection mechanisms by leveraging the subkey.
- Record
EUVD-2013-4235- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c6gv-ggmm-8j39 No score
GnuPG 1.4.x, 2.0.x, and 2.1.x treats a key flags subpacket with all bits cleared (no usage...
GnuPG 1.4.x, 2.0.x, and 2.1.x treats a key flags subpacket with all bits cleared (no usage permitted) as if it has all bits set (all usage permitted), which might allow remote attackers to bypass intended cryptographic protection mechanisms by leveraging the subkey.
- Record
GHSA-c6gv-ggmm-8j39- Updated
- 2026-11-02
OSV No score
GnuPG 1.4.x, 2.0.x, and 2.1.x treats a key flags subpacket with all bits cleared (no usage permitted) as if it has all bits set (all usage permitted), which might allow remote attackers to bypass intended cryptographic protection mechanisms by leveraging the subkey.
- Record
CVE-2013-4351- Updated
- 2026-11-02
OSVDEBIAN-CVE-2013-4351 No score
GnuPG 1.4.x, 2.0.x, and 2.1.x treats a key flags subpacket with all bits cleared (no usage permitted) as if it has all bits set (all usage permitted), which might allow remote attackers to bypass intended cryptographic protection mechanisms by leveraging the subkey.
- Record
DEBIAN-CVE-2013-4351- Updated
- 2026-11-02
OSVMGASA-2013-0299 No score
Updated gnupg2 packages fix multiple vulnerabilities
Updated gnupg2 package fixes security vulnerabilities:
RFC 4880 permits OpenPGP keyholders to mark their primary keys and subkeys with a "key flags" packet that indicates the capabilities of the key. These are represented as a set of binary flags, including things like "This key may be used to encrypt communications." If a key or subkey has this "key flags" subpacket attached with all bits cleared (off), GnuPG currently treats the key as having all bits set (on). While keys with this sort of marker are very rare in the wild, GnuPG's misinterpretation of this subpacket could lead to a breach of confidentiality or a mistaken identity verification (CVE-2013-4351).
Special crafted input data may be used to cause a denial of service against GPG. GPG can be forced to recursively parse certain parts of OpenPGP messages ad infinitum (CVE-2013-4402).
- Record
MGASA-2013-0299- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10102-1 No score
gpg2-2.1.16-1.1 on GA media
These are all security issues fixed in the gpg2-2.1.16-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10102-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gnupg2Debian:12 |
before 2.0.22-1 | 2.0.22-1 |
gnupg2Debian:13 |
before 2.0.22-1 | 2.0.22-1 |
gnupg2Debian:14 |
before 2.0.22-1 | 2.0.22-1 |
gnupgDebian:6.0 From an advisory covering 2 CVEs |
before 1.4.10-4+squeeze3, plus listed versions 1.4.10-41.4.10-4+squeeze11.4.10-4+squeeze2 |
1.4.10-4+squeeze3 |
gnupgDebian:7 From an advisory covering 2 CVEs |
before 1.4.12-7+deb7u2, plus listed versions 1.4.12-71.4.12-7+deb7u1 |
1.4.12-7+deb7u2 |
gnupg2Debian:6.0 From an advisory covering 2 CVEs |
before 2.0.14-2+squeeze2, plus listed versions 2.0.14-22.0.14-2+squeeze1 |
2.0.14-2+squeeze2 |
gnupg2Debian:7 From an advisory covering 2 CVEs |
before 2.0.19-2+deb7u1, plus listed versions 2.0.19-2 |
2.0.19-2+deb7u1 |
gnupg2Mageia:2 From an advisory covering 2 CVEs |
before 2.0.18-1.4.mga2 | 2.0.18-1.4.mga2 |
gnupg2Mageia:3 From an advisory covering 2 CVEs |
before 2.0.19-3.2.mga3 | 2.0.19-3.2.mga3 |
gnupgRed Hat:enterprise_linux:5::client From an advisory covering 4 CVEs |
before 0:1.4.5-18.el5_10 | 0:1.4.5-18.el5_10 |
Show 20 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gnupg-debuginfoRed Hat:enterprise_linux:5::client From an advisory covering 4 CVEs |
before 0:1.4.5-18.el5_10 | 0:1.4.5-18.el5_10 |
gnupgRed Hat:enterprise_linux:5::server From an advisory covering 4 CVEs |
before 0:1.4.5-18.el5_10 | 0:1.4.5-18.el5_10 |
gnupg-debuginfoRed Hat:enterprise_linux:5::server From an advisory covering 4 CVEs |
before 0:1.4.5-18.el5_10 | 0:1.4.5-18.el5_10 |
gnupg2Red Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:2.0.10-6.el5_10 | 0:2.0.10-6.el5_10 |
gnupg2-debuginfoRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:2.0.10-6.el5_10 | 0:2.0.10-6.el5_10 |
gnupg2Red Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:2.0.10-6.el5_10 | 0:2.0.10-6.el5_10 |
gnupg2-debuginfoRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:2.0.10-6.el5_10 | 0:2.0.10-6.el5_10 |
gnupg2Red Hat:enterprise_linux:6::client From an advisory covering 3 CVEs |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-debuginfoRed Hat:enterprise_linux:6::client From an advisory covering 3 CVEs |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-smimeRed Hat:enterprise_linux:6::client From an advisory covering 3 CVEs |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2Red Hat:enterprise_linux:6::computenode From an advisory covering 3 CVEs |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-debuginfoRed Hat:enterprise_linux:6::computenode From an advisory covering 3 CVEs |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-smimeRed Hat:enterprise_linux:6::computenode From an advisory covering 3 CVEs |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2Red Hat:enterprise_linux:6::server From an advisory covering 3 CVEs |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-debuginfoRed Hat:enterprise_linux:6::server From an advisory covering 3 CVEs |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-smimeRed Hat:enterprise_linux:6::server From an advisory covering 3 CVEs |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2Red Hat:enterprise_linux:6::workstation From an advisory covering 3 CVEs |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-debuginfoRed Hat:enterprise_linux:6::workstation From an advisory covering 3 CVEs |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-smimeRed Hat:enterprise_linux:6::workstation From an advisory covering 3 CVEs |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gpg2openSUSE:Tumbleweed From an advisory covering 4 CVEs |
before 2.1.16-1.1 | 2.1.16-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2013-4351 is a medium vulnerability (CVSS 5.8) in Gnupg, published October 9, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.52%, the 84th percentile. Fixed in gnupg2 2.0.22-1.
References
thread.gmane.org/gmane.comp.encryption.gpg.devel/17712/focus=18138
lists.opensuse.org/opensuse-updates/2013-10/msg00006.html
ubuntu.com/usn/usn-1987-1
debian.org/security/2013/dsa-2773
openwall.com/lists/oss-security/2013/09/13/4
rhn.redhat.com/errata/RHSA-2013-1459.html
Show 34 moreShow less
lists.opensuse.org/opensuse-updates/2013-10/msg00003.html
debian.org/security/2013/dsa-2774
bugzilla.redhat.com/show_bug.cgi?id=1010137
nvd.nist.gov/vuln/detail/CVE-2013-4351
github.com/advisories/GHSA-c6gv-ggmm-8j39
security-tracker.debian.org/tracker/CVE-2013-4351
advisories.mageia.org/MGASA-2013-0299.html
lists.gnu.org/archive/html/info-gnu/2013-10/msg00002.html
lists.opensuse.org/opensuse-updates/2013-09/msg00058.html
bugs.mageia.org/show_bug.cgi?id=11306
access.redhat.com/errata/RHSA-2013:1458
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=891142
bugzilla.redhat.com/show_bug.cgi?id=988589
bugzilla.redhat.com/show_bug.cgi?id=1015685
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1458.json
access.redhat.com/security/cve/CVE-2012-6085
cve.org/CVERecord?id=CVE-2012-6085
nvd.nist.gov/vuln/detail/CVE-2012-6085
access.redhat.com/security/cve/CVE-2013-4242
cve.org/CVERecord?id=CVE-2013-4242
nvd.nist.gov/vuln/detail/CVE-2013-4242
eprint.iacr.org/2013/448
access.redhat.com/security/cve/CVE-2013-4351
cve.org/CVERecord?id=CVE-2013-4351
access.redhat.com/security/cve/CVE-2013-4402
cve.org/CVERecord?id=CVE-2013-4402
nvd.nist.gov/vuln/detail/CVE-2013-4402
access.redhat.com/errata/RHSA-2013:1459
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1459.json
suse.com/security/cve/CVE-2010-2547
suse.com/security/cve/CVE-2013-4351
suse.com/security/cve/CVE-2013-4402
suse.com/security/cve/CVE-2014-4617