CVE-2017-6891
Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4...
Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4.10 can be exploited to cause a stacked-based buffer overflow by tricking a user into processing a specially crafted assignments file via the e.g. asn1Coding utility.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4.10 can be exploited to cause a stacked-based buffer overflow by tricking a user into processing a specially crafted assignments file via the e.g. asn1Coding utility.
- Record
CVE-2017-6891- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4.10 can be exploited to cause a stacked-based buffer overflow by tricking a user into processing a specially crafted assignments file via the e.g. asn1Coding utility.
- Record
CVE-2017-6891- Updated
- 2026-11-02
EUVDEUVD-2017-15945 No score
Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4.10 can be exploited to cause a stacked-based buffer overflow by tricking a user into processing a specially crafted assignments file via the e.g. asn1Coding utility.
- Record
EUVD-2017-15945- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-ch46-3x6h-7qrw
8.8
Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4...
Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4.10 can be exploited to cause a stacked-based buffer overflow by tricking a user into processing a specially crafted assignments file via the e.g. asn1Coding utility.
- Record
GHSA-ch46-3x6h-7qrw- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-119, CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-6891
8.8
Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4.10 can be exploited to cause a stacked-based buffer overflow by tricking a user into processing a specially crafted assignments file via the e.g. asn1Coding utility.
- Record
ALPINE-CVE-2017-6891- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
8.8
Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4.10 can be exploited to cause a stacked-based buffer overflow by tricking a user into processing a specially crafted assignments file via the e.g. asn1Coding utility.
- Record
CVE-2017-6891- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2017-6891
8.8
Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4.10 can be exploited to cause a stacked-based buffer overflow by tricking a user into processing a specially crafted assignments file via the e.g. asn1Coding utility.
- Record
DEBIAN-CVE-2017-6891- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-6891
8.8
Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4.10 can be exploited to cause a stacked-based buffer overflow by tricking a user into processing a specially crafted assignments file via the e.g. asn1Coding utility.
- Record
UBUNTU-CVE-2017-6891- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0159 No score
Updated libtasn1 packages fix security vulnerability
Jakub Jirasek of Secunia Research discovered that libtasn1 did not properly validate its input. This would allow an attacker to cause a crash by denial-of-service, or potentially execute arbitrary code, by tricking a user into processing a maliciously crafted assignments file (CVE-2017-6891).
- Record
MGASA-2017-0159- Updated
- 2026-11-02
OSVSUSE-SU-2017:1886-1 No score
Security update for gnutls
This update for gnutls fixes the following issues:
- GNUTLS-SA-2017-3 / CVE-2017-7869: An out-of-bounds write in OpenPGP certificate decoding was fixed (bsc#1034173)
- CVE-2017-6891: A potential stack buffer overflow in the bundled libtasn1 was fixed (bsc#1040621)
- An address read of 4 bytes past the end of buffer in OpenPGP certificate parsing was fixed (bsc#1038337)
- Record
SUSE-SU-2017:1886-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:1379-1 No score
Security update for libtasn1
This update for libtasn1 fixes the following issues:
Security issues fixed:
- CVE-2018-1000654: Fixed a denial of service in the asn1 parser (bsc#1105435).
- CVE-2017-6891: Fixed a stack overflow in asn1_find_node() (bsc#1040621).
- Record
SUSE-SU-2019:1379-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:3797-1 No score
Security update for libtasn1
This update for libtasn1 fixes the following issues:
Security issue fixed:
- CVE-2018-1000654: Fixed a denial of service in the asn1 parser (bsc#1105435).
- CVE-2017-6891: Added safety check to fix a stack overflow issue (bsc#1040621).
- CVE-2021-46848: Fixed off-by-one array size check that affects asn1_encode_simple_der (bsc#1204690)
- Record
SUSE-SU-2022:3797-1- Updated
- 2026-11-02
OSVUSN-3309-1 No score
libtasn1-6 vulnerability
Jakub Jirasek discovered that GnuTLS incorrectly handled certain assignments files. If a user were tricked into processing a specially crafted assignments file, a remote attacker could possibly execute arbirary code.
- Record
USN-3309-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libtasn1Alpine:v3.3 |
before 4.7-r2 | 4.7-r2 |
libtasn1Alpine:v3.4 |
before 4.8-r1 | 4.8-r1 |
libtasn1Alpine:v3.5 |
before 4.9-r1 | 4.9-r1 |
libtasn1Alpine:v3.6 |
before 4.10-r1 | 4.10-r1 |
libtasn1-6Debian:12 |
before 4.10-1.1 | 4.10-1.1 |
libtasn1-6Debian:13 |
before 4.10-1.1 | 4.10-1.1 |
libtasn1-6Debian:14 |
before 4.10-1.1 | 4.10-1.1 |
libtasn1-3Debian:7 |
before 2.13-2+deb7u4, plus listed versions 2.13-22.13-2+deb7u12.13-2+deb7u22.13-2+deb7u3 |
2.13-2+deb7u4 |
libtasn1-6Debian:8 |
before 4.2-3+deb8u3, plus listed versions 4.2-34.2-3+deb8u14.2-3+deb8u2 |
4.2-3+deb8u3 |
libtasn1Mageia:5 |
before 4.2-4.2.mga5 | 4.2-4.2.mga5 |
Show 15 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gnutlsSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 2.4.1-24.39.70.1 | 2.4.1-24.39.70.1 |
gnutlsSUSE:Linux Enterprise High Availability Extension 11 SP4 |
before 2.4.1-24.39.70.1 | 2.4.1-24.39.70.1 |
gnutlsSUSE:Linux Enterprise Server 11 SP4 |
before 2.4.1-24.39.70.1 | 2.4.1-24.39.70.1 |
gnutlsSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 2.4.1-24.39.70.1 | 2.4.1-24.39.70.1 |
libtasn1SUSE:Linux Enterprise Desktop 12 SP3 |
before 4.9-3.10.1 | 4.9-3.10.1 |
libtasn1SUSE:Linux Enterprise Desktop 12 SP4 |
before 4.9-3.10.1 | 4.9-3.10.1 |
libtasn1SUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 4.9-3.10.1 | 4.9-3.10.1 |
libtasn1SUSE:Linux Enterprise Software Development Kit 12 SP4 |
before 4.9-3.10.1 | 4.9-3.10.1 |
libtasn1SUSE:Linux Enterprise Server 12 SP3 |
before 4.9-3.10.1 | 4.9-3.10.1 |
libtasn1SUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 4.9-3.10.1 | 4.9-3.10.1 |
libtasn1SUSE:Linux Enterprise Server 12 SP4 |
before 4.9-3.10.1 | 4.9-3.10.1 |
libtasn1SUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 4.9-3.10.1 | 4.9-3.10.1 |
libtasn1SUSE:Linux Enterprise Server 12 SP2-BCL |
before 3.7-13.7.1 | 3.7-13.7.1 |
libtasn1-6Ubuntu:14.04:LTS |
before 3.4-3ubuntu0.5, plus listed versions 3.3-23.4-23.4-33.4-3ubuntu0.13.4-3ubuntu0.23.4-3ubuntu0.33.4-3ubuntu0.4 |
3.4-3ubuntu0.5 |
libtasn1-6Ubuntu:16.04:LTS |
before 4.7-3ubuntu0.16.04.2, plus listed versions 4.5-24.7-24.7-34.7-3ubuntu0.16.04.1 |
4.7-3ubuntu0.16.04.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-6891 is a high vulnerability (CVSS 8.8) in Flexera Software Llc Gnutls Libtasn1, published May 22, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.58%, the 92nd percentile. Fixed in libtasn1 4.7-r2.
References
security.gentoo.org/glsa/201710-11
debian.org/security/2017/dsa-3861
secuniaresearch.flexerasoftware.com/advisories/76125
secuniaresearch.flexerasoftware.com/secunia_research/2017-11
git.savannah.gnu.org/gitweb?p=libtasn1.git%3Ba=commit%3Bh=5520704d075802df25ce4ffccc010ba1641bd484
securityfocus.com/bid/98641
Show 29 moreShow less
securitytracker.com/id/1038619
lists.opensuse.org/opensuse-security-announce/2019-06/msg00018.html
lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2017-6891
lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
git.savannah.gnu.org/gitweb?p=libtasn1.git;a=commit;h=5520704d075802df25ce4ffccc010ba1641bd484
github.com/advisories/GHSA-ch46-3x6h-7qrw
security.alpinelinux.org/vuln/CVE-2017-6891
security-tracker.debian.org/tracker/CVE-2017-6891
advisories.mageia.org/MGASA-2017-0159.html
bugs.mageia.org/show_bug.cgi?id=20931
suse.com/support/update/announcement/2017/suse-su-20171886-1
bugzilla.suse.com/1034173
bugzilla.suse.com/1038337
bugzilla.suse.com/1040621
suse.com/security/cve/CVE-2017-6891
suse.com/security/cve/CVE-2017-7869
suse.com/support/update/announcement/2019/suse-su-20191379-1
bugzilla.suse.com/1105435
suse.com/security/cve/CVE-2018-1000654
suse.com/support/update/announcement/2022/suse-su-20223797-1
bugzilla.suse.com/1204690
suse.com/security/cve/CVE-2021-46848
ubuntu.com/security/CVE-2017-6891
ubuntu.com/security/notices/USN-3309-1
ubuntu.com/security/notices/USN-3309-2
cve.org/CVERecord?id=CVE-2017-6891