CVE-2017-5336

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.

Published: 2017-03-24 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2017-5336 is rated High Risk (75.1/100): CVSS Critical severity, with high exploitation likelihood (EPSS 7.13%, 93th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +3.18% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2017-5336

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 3.95% 7.13% +3.18%
2 2026-01-26 4.05% 3.95% -0.10%
3 2026-01-18 4.05%

Full EPSS history (18 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2017-5336

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.0 CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2017-5336

OS Trackers for CVE-2017-5336

vendor priority summary link
debian not yet assigned CVE-2017-5336 not yet assigned priority: Debian including 1 source packages (gnutls28), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2017-5336
gentoo normal CVE-2017-5336: 1 GLSA(s) (201702-04), 1 atom(s) (net-libs/gnutls); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2017-5336
redhat medium https://access.redhat.com/security/cve/CVE-2017-5336
suse medium CVE-2017-5336 severity moderate: SUSE including 40 source package names (gnutls, gnutls-2.4.1-24.39.67.1, …), 101 product×package rows across 27 product lines (SUSE Liberty Linux 7, SUSE Linux Enterprise Desktop 12 SP1, … (27 product lines)): Fixed 97, Known Not Affected 4. https://www.suse.com/security/cve/CVE-2017-5336/
ubuntu medium CVE-2017-5336 medium priority: Ubuntu including 2 source packages (gnutls26, gnutls28), 20 status rows across 10 suites (artful, bionic, cosmic, disco, precise, trusty, upstream, xenial, yakkety, zesty): released 9, DNE 8, needs-triage 2, ignored 1. https://ubuntu.com/security/CVE-2017-5336

Affected software / configurations for CVE-2017-5336

Vendor Product Version Raw CPE
opensuse leap 42.1 cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*
opensuse leap 42.2 cpe:2.3:o:opensuse:leap:42.2:*:*:*:*:*:*:*
gnu gnutls <= 3.3.25 cpe:2.3:a:gnu:gnutls:*:*:*:*:*:*:*:*
gnu gnutls 3.5.0 cpe:2.3:a:gnu:gnutls:3.5.0:*:*:*:*:*:*:*
gnu gnutls 3.5.1 cpe:2.3:a:gnu:gnutls:3.5.1:*:*:*:*:*:*:*
gnu gnutls 3.5.2 cpe:2.3:a:gnu:gnutls:3.5.2:*:*:*:*:*:*:*
gnu gnutls 3.5.3 cpe:2.3:a:gnu:gnutls:3.5.3:*:*:*:*:*:*:*
gnu gnutls 3.5.4 cpe:2.3:a:gnu:gnutls:3.5.4:*:*:*:*:*:*:*
gnu gnutls 3.5.5 cpe:2.3:a:gnu:gnutls:3.5.5:*:*:*:*:*:*:*
gnu gnutls 3.5.6 cpe:2.3:a:gnu:gnutls:3.5.6:*:*:*:*:*:*:*
gnu gnutls 3.5.7 cpe:2.3:a:gnu:gnutls:3.5.7:*:*:*:*:*:*:*

References for CVE-2017-5336

URL Tags
http://lists.opensuse.org/opensuse-security-announce/2017-02/msg00005.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2017-0574.html
http://www.openwall.com/lists/oss-security/2017/01/10/7 Mailing List Patch Third Party Advisory
http://www.openwall.com/lists/oss-security/2017/01/11/4 Mailing List Patch Third Party Advisory
http://www.securityfocus.com/bid/95377 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1037576 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:2292
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=340 Issue Tracking Patch Third Party Advisory
https://gitlab.com/gnutls/gnutls/commit/5140422e0d7319a8e2fe07f02cbcafc4d6538732 Issue Tracking Patch Third Party Advisory
https://gnutls.org/security.html#GNUTLS-SA-2017-2 Vendor Advisory
https://security.gentoo.org/glsa/201702-04 Patch Third Party Advisory Vendor Advisory
cvelogic Threat Intelligence