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 r
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
- Mar 24, 2017
- Updated
- Jun 16, 2026
- EPSS
- 7.1% · 94th percentile
- CWE
- CWE-119
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
41
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 7.1%
Affected systems
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gnu gnutlsup to 3.3.25 inclusive
- gnu gnutls3.5.0
- gnu gnutls3.5.1
- gnu gnutls3.5.2
- gnu gnutls3.5.3
- gnu gnutls3.5.4
- gnu gnutls3.5.5
- gnu gnutls3.5.6
- gnu gnutls3.5.7
- opensuse leap42.1
- opensuse leap42.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | gnutls28 | before 3.5.8-1 | 3.5.8-1 |
| Red Hat:enterprise_linux:6::client | gnutls | before 0:2.12.23-21.el6 | 0:2.12.23-21.el6 |
| Red Hat:enterprise_linux:6::client | gnutls-debuginfo | before 0:2.12.23-21.el6 | 0:2.12.23-21.el6 |
| Red Hat:enterprise_linux:6::client | gnutls-devel | before 0:2.12.23-21.el6 | 0:2.12.23-21.el6 |
| Red Hat:enterprise_linux:6::client | gnutls-guile | before 0:2.12.23-21.el6 | 0:2.12.23-21.el6 |
| Red Hat:enterprise_linux:6::client | gnutls-utils | before 0:2.12.23-21.el6 | 0:2.12.23-21.el6 |
| Red Hat:enterprise_linux:7::client | gnutls | before 0:3.3.26-9.el7 | 0:3.3.26-9.el7 |
| Red Hat:enterprise_linux:7::client | gnutls-c++ | before 0:3.3.26-9.el7 | 0:3.3.26-9.el7 |
| Red Hat:enterprise_linux:7::client | gnutls-dane | before 0:3.3.26-9.el7 | 0:3.3.26-9.el7 |
| Red Hat:enterprise_linux:7::client | gnutls-debuginfo | before 0:3.3.26-9.el7 | 0:3.3.26-9.el7 |
| Red Hat:enterprise_linux:7::client | gnutls-devel | before 0:3.3.26-9.el7 | 0:3.3.26-9.el7 |
| Red Hat:enterprise_linux:7::client | gnutls-utils | before 0:3.3.26-9.el7 | 0:3.3.26-9.el7 |
| SUSE:Linux Enterprise Desktop 12 SP1 | gnutls | before 3.2.15-16.1 | 3.2.15-16.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | gnutls | before 2.4.1-24.39.67.1 | 2.4.1-24.39.67.1 |
Same product
gnu: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-5334Double free vulnerability in the gnutls_x509_ext_import_proxy function in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allows remote attacker49Plan
- CVE-2019-3829A vulnerability was found in gnutls versions from 3.5.8 before 3.6.7.48Plan
- CVE-2008-1948The _gnutls_server_name_recv_params function in lib/ext_server_name.c in libgnutls in gnutls-serv in GnuTLS before 2.2.4 does not properly c44Plan
- CVE-2017-5337Multiple heap-based buffer overflows in the read_attribute function in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allow remote attackers to41Plan
- CVE-2021-20232A flaw was found in gnutls.40Plan
- CVE-2021-20231A flaw was found in gnutls.40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:gnutls28 | 3.5.8-1 · Debian:12 | Package registry (OSV) |
| red hat:gnutls | 0:2.12.23-21.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:gnutls-c++ | 0:3.3.26-9.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gnutls-dane | 0:3.3.26-9.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gnutls-debuginfo | 0:2.12.23-21.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:gnutls-devel | 0:2.12.23-21.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:gnutls-guile | 0:2.12.23-21.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:gnutls-utils | 0:2.12.23-21.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| suse:gnutls | 2.4.1-24.39.67.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-security-announce/2017-02/msg00005.html
- rhn.redhat.com/errata/RHSA-2017-0574.html
- www.openwall.com/lists/oss-security/2017/01/10/7
- www.openwall.com/lists/oss-security/2017/01/11/4
- www.securityfocus.com/bid/95377
- www.securitytracker.com/id/1037576
- access.redhat.com/errata/RHSA-2017:2292
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=340
- gitlab.com/gnutls/gnutls/commit/5140422e0d7319a8e2fe07f02cbcafc4d6538732
- gnutls.org/security.html#GNUTLS-SA-2017-2
- security.gentoo.org/glsa/201702-04
Vendor advisories and official records. Exploit/PoC links are deliberately left out.