From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH] gnutls: Update to version 3.8.14
Date: Thu, 19 Nov 2026 14:55:08 +0100 [thread overview]
Message-ID: <20261119135512.3276857-3-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20261119135512.3276857-1-adolf.belka@ipfire.org>
- Update from version 3.8.13 to 3.8.14
- Update of rootfile
- 3 CVE fixes
- Changelog
3.8.14
** libgnutls: Fix crash on certificate list memory allocation failure
On allocation failure, the certificate list pointer and count could
get out of sync, causing a NULL deref or double-free during session cleanup.
Both fields are now zeroized before the allocation.
Reported by Joshua Rogers of AISLE Research Team.
[GNUTLS-SA-2026-11-18-1, severity: low] [CVE-2026-127039]
** libgnutls: Fix crash in RSA-PSK username copy memory allocation failure
A missing return on a failed username copy could crash the handshake
when memory allocation fails.
The error is now propagated, aborting the handshake.
Reported by Joshua Rogers of AISLE Research Team.
[GNUTLS-SA-2026-11-18-2, severity: low] [CVE-2026-127040]
** libgnutls: Make name constraints deinitialization idempotent
If reinitializing the name constraints were to fail due to memory pressure,
the verification context cleanup
could have freed the same internal lists a second time,
crashing the application.
The deinitialization functions now clear the pointers after freeing.
Reported by Xuqing Yang.
[GNUTLS-SA-2026-11-18-3, severity: low] [CVE-2026-127231]
** libgnutls: Fix buffer overrun in deterministic DSA signing
A malformed DSA private key with a q value exceeding 512 bits
could overrun a fixed-size buffer when signing in reproducible mode.
Such keys are now rejected with GNUTLS_E_INVALID_REQUEST (#1857).
Reported by Joshua Rogers of AISLE Research Team.
** libgnutls: Fix CRL distribution points leak in certificate printing
Printing certificates with gnutls_x509_crt_print() could leak memory
if enumerating CRL distribution points failed (#1866).
Reported by Joshua Rogers of AISLE Research Team.
** libgnutls: Fix HCRYPTHASH handle leak in CAPI signing on allocation failure
The HCRYPTHASH handle created in capi_sign() was not destroyed
when the memory allocation for the signature buffer failed.
It is now released on all exit paths (#1867).
Reported by Joshua Rogers of AISLE Research Team.
** libgnutls: Fix memory leak in kTLS key setup on FreeBSD
The iv and cipher_key buffers allocated for the tls_enable structure
were not freed after setsockopt. They're now freed on all exit paths (#1865).
Reported by Joshua Rogers of AISLE Research Team.
** libgnutls: Fix stale params reuse in PKCS#11 AEAD/MAC wrappers
The AEAD encrypt/decrypt and MAC wrappers of the PKCS#11 back-end
discarded the return value of the per-call params/nonce setter
and proceeded with whatever stale state remained.
If the setter failed, the previous call's IV/AAD/tag (AEAD)
or nonce/key (MAC) were subsequently reused.
The error from set_params/set_nonce/set_key is now propagated (#1856, #1872).
Reported by Joshua Rogers of AISLE Research Team.
** libgnutls: Initialize reasons in CRL DistributionPoint parsing
The CRL reasons bitmap was read into an uninitialized buffer,
which could result in incorrect reason flags returned to the caller (#1925).
GnuTLS itself does not act on those flags.
Reported by Huzaifa Sidhpurwala, Red Hat Product Security.
** libgnutls: Fix cross-family IP name constraints
An IPv6 permitted name constraint did not preclude matching IPv4 SAN
and vice versa.
Addresses from a family not covered by a permitted name constraint
are now rejected (#1920).
Reported by Huzaifa Sidhpurwala, Red Hat Product Security.
** libgnutls: Reject on unsupported permitted name constraint types
Permitted subtrees of constraint types GnuTLS does not match (notably URI)
were parsed but ignored.
A leaf carrying a SAN of the matching type
is now rejected with GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE.
Previously accepted certificate chains
featuring intermediate CAs carrying such constraint types
may be rejected now (#1836, #1851, #1894, #1895).
Reported by Zou Dikai, Joshua Rogers of AISLE Research Team,
Mitchell Benjamin of Revamp Studio, and Corban Villa of UC Berkeley.
** libgnutls: Check all SAN types against name constraints
Chain verification only consulted name constraints of
DNS, e-mail, directoryName, URI and IP address SAN types.
Other types, notably UPN, were not checked at all,
so an excludedSubtree for UPN did not reject the chain.
All SAN types GnuTLS is aware of are now checked uniformly;
types for which no matching is implemented are rejected
when any constraint of the corresponding type is present (#1875).
Reported by Yu-Fu Fu.
** libgnutls: Count subject as name for DN constraint validation
An excludedSubtree of that type used to reject any certificate,
while a permittedSubtree was ignored entirely.
The check now rejects a certificate featuring a DN
(in a subjectAltName or as a non-empty subject)
in the presence of any directoryName constraint.
GnuTLS does not implement matching DNs against the constraint,
so even valid DNs that a permittedSubtree constraint
would have previously allowed are now rejected (#1890).
Reported by Jack Lloyd.
** libgnutls: Add gnutls_pubkey_{import,export}_mldsa_raw()
These functions obtain and restore
the raw FIPS 204 ML-DSA public key octet string.
This is needed by applications such as DNSSEC
that cannot use SubjectPublicKeyInfo alone (#1917).
** libgnutls: Add --enable-tls11-support configure option
It is now possible to compile out support
for TLS 1.0, TLS 1.1, and DTLS 1.0 (RFC 8996) (!2151).
These protocols are currently enabled by default.
A future release will disable them by default.
** build: Remove --with-nettle-mini configure option
GnuTLS builds must now link against GMP.
Mini-GMP lacks relevant optimizations and side-channel protections (#1946).
** minitasn1: Remove the internal copy of libtasn1
The ./configure --with-included-libtasn1 parameter is also removed.
If you are building GnuTLS in an environment without libtasn1,
please modify your scripts to also build and install libtasn1 first.
This decision is made to reduce maintenance in the long-term,
as we no longer have to keep track of minitasn1-related issues (!1938).
** API and ABI modifications:
gnutls_hpke_import_pubkey: New function
gnutls_hpke_export_pubkey: New function
gnutls_pubkey_export_mldsa_raw: New function
gnutls_pubkey_import_mldsa_raw: New function
GNUTLS_SAN_MIN: New enum member of gnutls_x509_subject_alt_name_t
GNUTLS_SAN_OTHERNAME_MIN: New enum member of gnutls_x509_subject_alt_name_t
GNUTLS_SAN_OTHERNAME_MAX: New enum member of gnutls_x509_subject_alt_name_t
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/rootfiles/common/gnutls | 8 +++++++-
lfs/gnutls | 4 ++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/config/rootfiles/common/gnutls b/config/rootfiles/common/gnutls
index 461e30902..32dfb86dd 100644
--- a/config/rootfiles/common/gnutls
+++ b/config/rootfiles/common/gnutls
@@ -27,7 +27,7 @@ usr/bin/psktool
#usr/lib/libgnutls.la
#usr/lib/libgnutls.so
usr/lib/libgnutls.so.30
-usr/lib/libgnutls.so.30.42.0
+usr/lib/libgnutls.so.30.43.0
#usr/lib/libgnutlsxx.la
#usr/lib/libgnutlsxx.so
usr/lib/libgnutlsxx.so.30
@@ -70,6 +70,7 @@ usr/lib/libgnutlsxx.so.30.0.0
#usr/share/locale/fr/LC_MESSAGES/gnutls.mo
#usr/share/locale/it/LC_MESSAGES/gnutls.mo
#usr/share/locale/ka/LC_MESSAGES/gnutls.mo
+#usr/share/locale/lv/LC_MESSAGES/gnutls.mo
#usr/share/locale/ms/LC_MESSAGES/gnutls.mo
#usr/share/locale/nl/LC_MESSAGES/gnutls.mo
#usr/share/locale/pl/LC_MESSAGES/gnutls.mo
@@ -80,6 +81,7 @@ usr/lib/libgnutlsxx.so.30.0.0
#usr/share/locale/uk/LC_MESSAGES/gnutls.mo
#usr/share/locale/vi/LC_MESSAGES/gnutls.mo
#usr/share/locale/zh_CN/LC_MESSAGES/gnutls.mo
+#usr/share/locale/zh_TW/LC_MESSAGES/gnutls.mo
#usr/share/man/man1/certtool.1
#usr/share/man/man1/gnutls-cli-debug.1
#usr/share/man/man1/gnutls-cli.1
@@ -393,6 +395,8 @@ usr/lib/libgnutlsxx.so.30.0.0
#usr/share/man/man3/gnutls_hpke_derive_keypair.3
#usr/share/man/man3/gnutls_hpke_encap.3
#usr/share/man/man3/gnutls_hpke_export.3
+#usr/share/man/man3/gnutls_hpke_export_pubkey.3
+#usr/share/man/man3/gnutls_hpke_import_pubkey.3
#usr/share/man/man3/gnutls_hpke_init.3
#usr/share/man/man3/gnutls_hpke_open.3
#usr/share/man/man3/gnutls_hpke_seal.3
@@ -724,6 +728,7 @@ usr/lib/libgnutlsxx.so.30.0.0
#usr/share/man/man3/gnutls_pubkey_export_ecc_raw2.3
#usr/share/man/man3/gnutls_pubkey_export_ecc_x962.3
#usr/share/man/man3/gnutls_pubkey_export_gost_raw2.3
+#usr/share/man/man3/gnutls_pubkey_export_mldsa_raw.3
#usr/share/man/man3/gnutls_pubkey_export_rsa_raw.3
#usr/share/man/man3/gnutls_pubkey_export_rsa_raw2.3
#usr/share/man/man3/gnutls_pubkey_get_key_id.3
@@ -738,6 +743,7 @@ usr/lib/libgnutlsxx.so.30.0.0
#usr/share/man/man3/gnutls_pubkey_import_ecc_raw.3
#usr/share/man/man3/gnutls_pubkey_import_ecc_x962.3
#usr/share/man/man3/gnutls_pubkey_import_gost_raw.3
+#usr/share/man/man3/gnutls_pubkey_import_mldsa_raw.3
#usr/share/man/man3/gnutls_pubkey_import_openpgp.3
#usr/share/man/man3/gnutls_pubkey_import_openpgp_raw.3
#usr/share/man/man3/gnutls_pubkey_import_pkcs11.3
diff --git a/lfs/gnutls b/lfs/gnutls
index 58226b7ab..40d40669e 100644
--- a/lfs/gnutls
+++ b/lfs/gnutls
@@ -24,7 +24,7 @@
include Config
-VER = 3.8.13
+VER = 3.8.14
THISAPP = gnutls-$(VER)
DL_FILE = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 80677a45a7c6f892287020e3e6b0add2432f2c64a4c9a649ce889921ac65b44931504ad0682ccc12e4b6d8f94c1a72e35c50673c9d04bd4e327063b812339380
+$(DL_FILE)_BLAKE2 = c867ca86d15679d3d69a60ba18965c1dddcea74e70cebaaac25e5fd5d84d519e7143f8dc7b8977a2965d44f48780b3342145deeac7379d7652c9767fa3903156
install : $(TARGET)
--
2.56.1
next prev parent reply other threads:[~2026-11-19 13:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 13:55 [PATCH] clamav: Update to version 1.5.5 Adolf Belka
2026-11-19 13:55 ` [PATCH] core207: Ship gnutls Adolf Belka
2026-11-19 13:55 ` Adolf Belka [this message]
2026-11-19 13:55 ` [PATCH] haproxy: Update to version 3.4.8 Adolf Belka
2026-11-19 13:55 ` [PATCH] nginx: Update to version 1.31.9 Adolf Belka
2026-11-19 13:55 ` [PATCH] ruby: Update to version 4.0.10 Adolf Belka
2026-11-19 13:55 ` [PATCH] tshark: Update to version 4.6.10 Adolf Belka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261119135512.3276857-3-adolf.belka@ipfire.org \
--to=adolf.belka@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox