Logo
componentgnutls
Name
gnutls
Version
3.7.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.7.4:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
master
3.8.13
scarthgap
3.8.4

Patches#


#
Title
Author
Resolve
1
x509: reject zero-length version in certificate request
Andrew Hamilton <adhamilt@gmail.com>
2
psk: fix read buffer overrun in the "pre_shared_key"
Andrew Hamilton <adhamilt@gmail.com>
3
x509: detect loop in certificate chain
Daiki Ueno <ueno@gnu.org>
CVE-2024-0567
4
x509: optimize name constraints processing
Daiki Ueno <ueno@gnu.org>
CVE-2024-12243
5
certtool: avoid 1-byte write buffer overrun when parsing
Daiki Ueno <ueno@gnu.org>
CVE-2025-32990
6
nettle: avoid normalization of mpz_t in deterministic ECDSA
Daiki Ueno <ueno@gnu.org>
CVE-2024-28834
7
handshake: clear HSK_PSK_SELECTED is when resetting
Daiki Ueno <ueno@gnu.org>
CVE-2025-6395
8
x509: avoid double free when exporting othernames in SAN
Daiki Ueno <ueno@gnu.org>
CVE-2025-32988
9
auth/rsa: side-step potential side-channel
Alexander Sosedkin <asosedkin@redhat.com>
CVE-2023-0361
10
rsa-psk: minimize branching after decryption
Daiki Ueno <ueno@gnu.org>
CVE-2024-0553
11
auth/rsa_psk: side-step potential side-channel
Daiki Ueno <ueno@gnu.org>
CVE-2023-5981
12
CVE-2022-2509
Hitendra Prajapati <hprajapati@mvista.com>
CVE-2022-2509
13
gnutls_x509_trust_list_verify_crt2: remove length limit of
Daiki Ueno <ueno@gnu.org>
CVE-2024-28835
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
pkcs11: avoid stack overwrite when initializing a token
Daiki Ueno <ueno@gnu.org>
CVE-2025-9820

Vulnerabilities#


Name
Analysis
Description
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 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.
Patched
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.
Patched
A vulnerability was found in GnuTLS, where a cockpit (which uses gnuTLS) rejects a certificate chain with distributed trust. This issue occurs when validating a certificate chain with cockpit-certificate-ensure. This flaw allows an unauthenticated, remote client or attacker to initiate a denial of service attack.
Patched
A vulnerability was found in GnuTLS. The response times to malformed ciphertexts in RSA-PSK ClientKeyExchange differ from the response times of ciphertexts with correct PKCS#1 v1.5 padding. This issue may allow a remote attacker to perform a timing side-channel attack in the RSA-PSK key exchange, potentially leading to the leakage of sensitive data. CVE-2024-0553 is designated as an incomplete resolution for CVE-2023-5981.
Patched
A vulnerability was found that the response times to malformed ciphertexts in RSA-PSK ClientKeyExchange differ from response times of ciphertexts with correct PKCS#1 v1.5 padding.
Patched
A timing side-channel in the handling of RSA ClientKeyExchange messages was discovered in GnuTLS. This side-channel can be sufficient to recover the key encrypted in the RSA ciphertext across a network in a Bleichenbacher style attack. To achieve a successful decryption the attacker would need to send a large amount of specially crafted messages to the vulnerable server. By recovering the secret from the ClientKeyExchange message, the attacker would be able to decrypt the application data exchanged over that connection.
Patched
A vulnerability found in gnutls. This security flaw happens because of a double free error occurs during verification of pkcs7 signatures in gnutls_pkcs7_verify function.