Logo
›
›component›gnutls
Name
gnutls
Version
3.8.4
Type
library
Description
GNU Transport Layer Security Library
Licenses
GPL-3.0-or-later & LGPL-2.1-or-later
PURL
-
CPE
cpe:2.3:*:gnu:gnutls:3.8.4:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
kirkstone
3.7.4
master
3.8.13

Patches#


#
Title
Author
Resolve
1
x509/name_constraints: name_constraints_node_list_intersect
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2025-14831
2
x509: reject zero-length version in certificate request
Andrew Hamilton <adhamilt@gmail.com>
3
tests/name-constraints-ip: stop swallowing errors...
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2025-14831
4
psk: fix read buffer overrun in the "pre_shared_key"
Andrew Hamilton <adhamilt@gmail.com>
5
x509: optimize name constraints processing
Daiki Ueno <ueno@gnu.org>
CVE-2024-12243
6
certtool: avoid 1-byte write buffer overrun when parsing
Daiki Ueno <ueno@gnu.org>
CVE-2025-32990
7
x509/name_constraints: name_constraints_node_add_{new,copy}
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2025-14831
8
lib/auth/rsa_psk: fix binary PSK identity lookup
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2026-42010
9
handshake: clear HSK_PSK_SELECTED is when resetting
Daiki Ueno <ueno@gnu.org>
CVE-2025-6395
10
x509: avoid double free when exporting othernames in SAN
Daiki Ueno <ueno@gnu.org>
CVE-2025-32988
11
x509/name-constraints: compare domain names case-insensitive
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2026-3833
12
buffers: switch from end_offset over to frag_length
Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
CVE-2026-33845
13
buffers: add more checks to DTLS reassembly
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2026-33846
14
gnutls: account for ARM_EABI
Joe Slater <jslater@windriver.com>
15
x509: fix read buffer overrun in SCT timestamps
Andrew Hamilton <adhamilt@gmail.com>
CVE-2025-32989
16
tests/name-constraints-merge: extend to cover #1824
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2026-42011
17
pkcs11: avoid stack overwrite when initializing a token
Daiki Ueno <ueno@gnu.org>
CVE-2025-9820
18
x509/name_constraints: make types_with_empty_intersection a
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2025-14831
19
x509/name_constraints: reject some malformed domain names
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2025-14831
20
x509/name_constraints: fix intersecting empty constraints
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2026-42011
21
Creating .hmac file should be excuted in target environment,
Lei Maohui <leimaohui@fujitsu.com>
22
x509/name_constraints: add sorted_view in preparation...
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2025-14831
23
x509/name_constraints: use actual zeroes in universal exclude
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2025-14831
24
x509/name_constraints: implement
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2025-14831
25
gnutls: add ptest support
Ravineet Singh <ravineet.a.singh@est.tech>
26
lib/buffers: ensure packets have differing sequence
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2026-42009
27
x509/name_constraints: introduce a rich comparator
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2025-14831
28
gnutls_cipher_decrypt3: make PKCS#7 unpadding branch free
Daiki Ueno <ueno@gnu.org>
CVE-2026-5419
29
buffers: fix handshake_compare when sequence numbers
Joshua Rogers <joshua@joshua.hu>
CVE-2026-42009

Vulnerabilities#


Name
Analysis
Description
Patched
A flaw was found in gnutls. The PKCS#7 padding check, performed during decryption, was not constant-time. This timing side-channel could allow a remote attacker to potentially leak sensitive information about the padding bytes through observable timing differences. This vulnerability is a form of information disclosure.
Patched
A flaw was found in gnutls. This vulnerability occurs because permitted name constraints were incorrectly ignored when previous Certificate Authorities (CAs) only had excluded name constraints. A remote attacker could exploit this to bypass critical name constraint checks during certificate validation. This bypass could lead to the acceptance of invalid certificates, potentially enabling spoofing or man-in-the-middle attacks against affected systems.
Patched
A flaw was found in gnutls. Servers configured with RSA-PSK (Rivest–Shamir–Adleman – Pre-Shared Key) wrongfully matched usernames containing a NUL character with truncated usernames. A remote attacker could exploit this by sending a specially crafted username, leading to an authentication bypass. This vulnerability allows an attacker to gain unauthorized access by circumventing the authentication process.
Patched
A flaw was found in gnutls. A remote attacker could exploit an issue in the Datagram Transport Layer Security (DTLS) packet reordering logic. The comparator function, responsible for ordering DTLS packets by sequence numbers, did not correctly handle packets with duplicate sequence numbers. This could lead to unstable packet ordering or undefined behavior, resulting in a denial of service.
Patched
A flaw was found in gnutls. This vulnerability occurs because gnutls performs case-sensitive comparisons of `nameConstraints` labels, specifically for `dNSName` (DNS) or `rfc822Name` (email) constraints within `excludedSubtrees` or `permittedSubtrees`. A remote attacker can exploit this by crafting a leaf certificate with casing differences in the Subject Alternative Name (SAN), leading to a policy bypass where a certificate that should be rejected is instead accepted. This could result in unauthorized access or information disclosure.
Not Affected
A flaw was found in gnutls. A remote attacker could exploit this vulnerability by presenting a specially crafted Online Certificate Status Protocol (OCSP) response during a TLS handshake. Due to a logic error in how gnutls processes multi-record OCSP responses, a client with OCSP verification enabled may incorrectly accept a revoked server certificate, potentially leading to a compromise of trust.
Patched
A heap buffer overflow vulnerability exists in the DTLS handshake fragment reassembly logic of GnuTLS. The issue arises in merge_handshake_packet() where incoming handshake fragments are matched and merged based solely on handshake type, without validating that the message_length field remains consistent across all fragments of the same logical message. An attacker can exploit this by sending crafted DTLS fragments with conflicting message_length values, causing the implementation to allocate a buffer based on a smaller initial fragment and subsequently write beyond its bounds using larger, inconsistent fragments. Because the merge operation does not enforce proper bounds checking against the allocated buffer size, this results in an out-of-bounds write on the heap. The vulnerability is remotely exploitable without authentication via the DTLS handshake path and can lead to application crashes or potential memory corruption.
Patched
A flaw in GnuTLS DTLS handshake parsing allows malformed fragments with zero length and non-zero offset, leading to an integer underflow during reassembly and resulting in an out-of-bounds read. This issue is remotely exploitable and may cause information disclosure or denial of service.
Not Affected
A flaw was found in gnutls. A remote, unauthenticated attacker can exploit this vulnerability by sending a specially crafted ClientHello message with an invalid Pre-Shared Key (PSK) binder value during the TLS handshake. This can lead to a NULL pointer dereference, causing the server to crash and resulting in a remote Denial of Service (DoS) condition.
Patched
A flaw was found in the GnuTLS library, specifically in the gnutls_pkcs11_token_init() function that handles PKCS#11 token initialization. When a token label longer than expected is processed, the function writes past the end of a fixed-size stack buffer. This programming error can cause the application using GnuTLS to crash or, in certain conditions, be exploited for code execution. As a result, systems or applications relying on GnuTLS may be vulnerable to a denial of service or local privilege escalation attacks.
Patched
A NULL pointer dereference flaw was found in the GnuTLS software in _gnutls_figure_common_ciphersuite().
Patched
A heap-buffer-overflow (off-by-one) flaw was found in the GnuTLS software in the template parsing logic within the certtool utility. When it reads certain settings from a template file, it allows an attacker to cause an out-of-bounds (OOB) NULL pointer write, resulting in memory corruption and a denial-of-service (DoS) that could potentially crash the system.
Patched
A heap-buffer-overread vulnerability was found in GnuTLS in how it handles the Certificate Transparency (CT) Signed Certificate Timestamp (SCT) extension during X.509 certificate parsing. This flaw allows a malicious user to create a certificate containing a malformed SCT extension (OID 1.3.6.1.4.1.11129.2.4.2) that contains sensitive data. This issue leads to the exposure of confidential information when GnuTLS verifies certificates from certain websites when the certificate (SCT) is not checked correctly.
Patched
A flaw was found in GnuTLS. A double-free vulnerability exists in GnuTLS due to incorrect ownership handling in the export logic of Subject Alternative Name (SAN) entries containing an otherName. If the type-id OID is invalid or malformed, GnuTLS will call asn1_delete_structure() on an ASN.1 node it does not own, leading to a double-free condition when the parent function or caller later attempts to free the same structure. This vulnerability can be triggered using only public GnuTLS APIs and may result in denial of service or memory corruption, depending on allocator behavior.
Patched
A flaw was found in GnuTLS. This vulnerability allows a denial of service (DoS) by excessive CPU (Central Processing Unit) and memory consumption via specially crafted malicious certificates containing a large number of name constraints and subject alternative names (SANs).
Exploitable
A flaw has been discovered in GnuTLS where an application crash can be induced when attempting to verify a specially crafted .pem bundle using the "certtool --verify-chain" command.
Exploitable
A flaw was found in GnuTLS. The Minerva attack is a cryptographic vulnerability that exploits deterministic behavior in systems like GnuTLS, leading to side-channel leaks. In specific scenarios, such as when using the GNUTLS_PRIVKEY_FLAG_REPRODUCIBLE flag, it can result in a noticeable step in nonce size from 513 to 512 bits, exposing a potential timing side-channel.
Patched
A flaw was found in GnuTLS, which relies on libtasn1 for ASN.1 data processing. Due to an inefficient algorithm in libtasn1, decoding certain DER-encoded certificate data can take excessive time, leading to increased resource consumption. This flaw allows a remote attacker to send a specially crafted certificate, causing GnuTLS to become unresponsive or slow, resulting in a denial-of-service condition.