CVE-2017-5336
CVE-2017-5336 is a critical-severity vulnerability in Gnu Gnutls with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 7% (93rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Gnu Gnutls
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2017-5336?
- CVE-2017-5336 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2017-5336 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 7% (93rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2017-5336?
- CVE-2017-5336 primarily affects Gnu Gnutls. In total, 11 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2017-5336?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2017-5336 published?
- CVE-2017-5336 was published on 2017-03-24 and last updated on 2026-06-17.
References
- http://lists.opensuse.org/opensuse-security-announce/2017-02/msg00005.html
- http://rhn.redhat.com/errata/RHSA-2017-0574.html
- http://www.openwall.com/lists/oss-security/2017/01/10/7
- http://www.openwall.com/lists/oss-security/2017/01/11/4
- http://www.securityfocus.com/bid/95377
- http://www.securitytracker.com/id/1037576
- https://access.redhat.com/errata/RHSA-2017:2292
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=340
- https://gitlab.com/gnutls/gnutls/commit/5140422e0d7319a8e2fe07f02cbcafc4d6538732
- https://gnutls.org/security.html#GNUTLS-SA-2017-2
- https://security.gentoo.org/glsa/201702-04
Affected products (11)
- cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:leap:42.2:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:gnutls:*:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:gnutls:3.5.0:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:gnutls:3.5.1:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:gnutls:3.5.2:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:gnutls:3.5.3:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:gnutls:3.5.4:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:gnutls:3.5.5:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:gnutls:3.5.6:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:gnutls:3.5.7:*:*:*:*:*:*:*
More vulnerabilities in Gnu Gnutls
- CVE-2008-1948 — Critical (CVSS 10.0): The _gnutls_server_name_recv_params function in lib/ext_server_name.c in libgnutls in gnutls-serv in GnuTLS before…
- CVE-2021-20232 — Critical (CVSS 9.8): A flaw was found in gnutls. A use after free issue in client_send_params in lib/ext/pre_shared_key.c may lead to memory…
- CVE-2021-20231 — Critical (CVSS 9.8): A flaw was found in gnutls. A use after free issue in client sending key_share extension may lead to memory corruption…
- CVE-2017-5337 — Critical (CVSS 9.8): Multiple heap-based buffer overflows in the read_attribute function in GnuTLS before 3.3.26 and 3.5.x before 3.5.8…
- CVE-2017-5334 — Critical (CVSS 9.8): Double free vulnerability in the gnutls_x509_ext_import_proxy function in GnuTLS before 3.3.26 and 3.5.x before 3.5.8…
- CVE-2009-3555 — Critical (CVSS 9.8): The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft Internet Information Services…
All CVEs affecting Gnu Gnutls →
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.