CVE-2017-5337: Multiple 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 to…
Noroxi assessment
Priority: Plan (action score 41/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 6.1% (FIRST EPSS); higher than 93.6% of all records.
- 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.
- Fixed version: gnutls28 (Debian:12) 3.5.8-1; gnutls (Red Hat:enterprise_linux:6::client) 0:2.12.23-21.el6; gnutls-debuginfo (Red Hat:enterprise_linux:6::client) 0:2.12.23-21.el6.
Add it to your regular patch cycle. Upgrade to gnutls28 (Debian:12) 3.5.8-1; gnutls (Red Hat:enterprise_linux:6::client) 0:2.12.23-21.el6; gnutls-debuginfo (Red Hat:enterprise_linux:6::client) 0:2.12.23-21.el6 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Multiple 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 to have unspecified impact via a crafted OpenPGP certificate.
- Published
- Mar 24, 2017
- Updated
- Jun 16, 2026
- EPSS
- 6.1% · 93th percentile
- CWE
- CWE-119
Report tools
Action score
41
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 6.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Check your server's TLS configurationRun the SSL check
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
Check your server's TLS configuration
The GnuTLS version can't be seen from outside; the free SSL checker tests your certificate, enabled TLS versions and weak ciphers. Confirm the version on your server with the package manager.
Run the SSL checkAffected 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
+3 more rows
- 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…49Plan
- 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…44Plan
Published before and after this one in the same product
- ← EarlierCVE-2017-5335Mar 24, 2017 · The stream reading functions in lib/opencdk/read-packet.c in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allow remote attackers to cause a…32Monitor
- ← EarlierCVE-2017-5336Mar 24, 2017 · 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…41Plan
- Later →CVE-2017-7869Apr 14, 2017 · GnuTLS before 2017-02-20 has an out-of-bounds write caused by an integer overflow and heap-based buffer overflow related to the…31Monitor
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.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
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
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (11 more)Show less
- 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/95372
- www.securitytracker.com/id/1037576
- access.redhat.com/errata/RHSA-2017:2292
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=338
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=346
- gitlab.com/gnutls/gnutls/commit/94fcf1645ea17223237aaf8d19132e004afddc1a
- 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.