CVE-2017-5336 json
Stack-based buffer overflow in the cdk_pk_get_keyid function in lib/opencdk/pubkey.c in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allows…
published 2017-03-24 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-14441
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.1%
- EPSS 7.1% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
Stack-based buffer overflow in the cdk_pk_get_keyid function in lib/opencdk/pubkey.c in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allows remote attackers to have unspecified impact via a crafted OpenPGP certificate.
Patch / fix
- gnutls28 Debian 14, Debian 13, Debian 12 3.5.8-1
debian advisories DEBIAN-CVE-2017-5336
- gnutls26 Ubuntu 14.04 LTS 2.12.23-12ubuntu2.6
- gnutls28 Ubuntu 16.04 LTS 3.4.10-4ubuntu1.2
ubuntu advisories UBUNTU-CVE-2017-5336
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- gnutls RHEL 7 3.3.26-9.el7
- gnutls-c++ RHEL 7 3.3.26-9.el7
- gnutls-dane RHEL 7 3.3.26-9.el7
- gnutls-utils RHEL 7 3.3.26-9.el7
- gnutls RHEL 6 2.12.23-21.el6
- gnutls-guile RHEL 6 2.12.23-21.el6
- gnutls-utils RHEL 6 2.12.23-21.el6
red hat advisories RHSA-2017:2292RHSA-2017:0574
- gnutls SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +6 more 3.2.15-16.1
- gnutls SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 +1 more 2.4.1-24.39.67.1
suse advisories SUSE-SU-2017:0348-1SUSE-SU-2017:0304-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-5336 updated cvss 5.3
gnutls: Stack overflow in cdk_pk_get_keyid
-
Red Hat Enterprise Linux 5 gnutlsaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) gnutls 3.3.26-9.el7, gnutls-dane 3.3.26-9.el7, gnutls-utils 3.3.26-9.el7 Red Hat Enterprise Linux Client Optional (v. 7) gnutls-c++ 3.3.26-9.el7 Red Hat Enterprise Linux ComputeNode (v. 7) gnutls 3.3.26-9.el7, gnutls-dane 3.3.26-9.el7, gnutls-utils 3.3.26-9.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) gnutls-c++ 3.3.26-9.el7fixed: vendor fix RHSA-2017:2292
-
Red Hat Enterprise Linux Desktop (v. 6) gnutls 2.12.23-21.el6, gnutls-utils 2.12.23-21.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) gnutls-guile 2.12.23-21.el6 Red Hat Enterprise Linux HPC Node (v. 6) gnutls 2.12.23-21.el6, gnutls-utils 2.12.23-21.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) gnutls-guile 2.12.23-21.el6 Red Hat Enterprise Linux Server (v. 6) gnutls 2.12.23-21.el6, gnutls-utils 2.12.23-21.el6fixed: vendor fix RHSA-2017:0574
-
Red Hat Enterprise Linux Server (v. 7) gnutls 3.3.26-9.el7, gnutls-c++ 3.3.26-9.el7, gnutls-dane 3.3.26-9.el7, gnutls-utils 3.3.26-9.el7fixed: vendor fix RHSA-2017:2292
-
Red Hat Enterprise Linux Server Optional (v. 6) gnutls-guile 2.12.23-21.el6 Red Hat Enterprise Linux Workstation (v. 6) gnutls 2.12.23-21.el6, gnutls-utils 2.12.23-21.el6fixed: vendor fix RHSA-2017:0574
-
Red Hat Enterprise Linux Workstation (v. 7) gnutls 3.3.26-9.el7, gnutls-c++ 3.3.26-9.el7, gnutls-dane 3.3.26-9.el7, gnutls-utils 3.3.26-9.el7fixed: vendor fix RHSA-2017:2292
-
Red Hat Enterprise Linux Workstation Optional (v. 6) gnutls-guile 2.12.23-21.el6fixed: vendor fix RHSA-2017:0574
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-19-155-01 updated cvss 9.8
PHOENIX CONTACT PLCNext AXC F 2152
-
Phoenix Contact AXC F 2152 2404267 version 1.x, 1046568 (Starterkit) version 1.xaffected: vendor fix, mitigation “Phoenix Contact recommends affected users update to firmware release 2019.0 LTS or later, update to PLCNext Engineer release 2019.0 LTS or later, and apply the following specific mitigations below:” phoenixcontact.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
Exploit prediction
7.07% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
gitlab.com
/gnutls/gnutls/commit/5140422e0d7319a8e2fe07f02cbcafc4d6538732
issue-tracking, patch, third-party-advisory
-
security.gentoo.org
/glsa/201702-04
vendor-advisory, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2017/01/10/7
mailing-list, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2017/01/11/4
mailing-list, patch, third-party-advisory
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=340
issue-tracking, patch, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:2292
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2017-02/msg00005.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2017-0574.html
vendor-advisory
-
gnutls.org
/security.html#GNUTLS-SA-2017-2
vendor-advisory
-
securityfocus.com
/bid/95377
vdb-entry, third-party-advisory
-
securitytracker.com
/id/1037576
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2017-5336
- NVD CVE-2017-5336
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.