gnutls28 (3.7.3-4ubuntu1.9) jammy-security; urgency=medium

  * SECURITY UPDATE: buffer overflow in DTLS handshake fragment reassembly
    - debian/patches/CVE-2026-33846-pre1.patch: buffers: shorten
      merge_handshake_packet using recv_buf in lib/buffers.c.
    - debian/patches/CVE-2026-33846.patch: buffers: add more checks to DTLS
      reassembly in lib/buffers.c.
    - CVE-2026-33846
  * SECURITY UPDATE: DTLS packets sequence number ordering issue
    - debian/patches/CVE-2026-42009-pre1.patch: buffers: match DTLS datagrams by
      sequence number in lib/buffers.c.
    - debian/patches/CVE-2026-42009-1.patch: lib/buffers: ensure packets have
      differing sequence numbers in lib/buffers.c.
    - debian/patches/CVE-2026-42009-2.patch: buffers: fix handshake_compare when
      sequence numbers match in lib/buffers.c.
    - CVE-2026-42009
  * SECURITY UPDATE: OOB read via malformed fragments with zero length and
    non-zero offset
    - debian/patches/CVE-2026-33845-pre1.patch: buffers: rename a variable in
      parse_handshake_header in lib/buffers.c.
    - debian/patches/CVE-2026-33845.patch: buffers: switch from end_offset over
      to frag_length in lib/buffers.c, lib/gnutls_int.h.
    - debian/patches/CVE-2026-33845-2.patch: buffers: simplify and tighten
      parse_handshake_header checks in lib/buffers.c.
    - CVE-2026-33845
  * SECURITY UPDATE: malformed OCSP response issue
    - debian/patches/CVE-2026-3832-pre1.patch: iterate ocsp response records
      for matching certificate in doc/examples/ex-ocsp-client.c,
      lib/cert-session.c, lib/ocsp-api.c, src/ocsptool-common.c.
    - debian/patches/CVE-2026-3832-pre2.patch: fix formatting in
      doc/examples/ex-ocsp-client.c, lib/cert-session.c, lib/ocsp-api.c,
      src/ocsptool-common.c.
    - debian/patches/CVE-2026-3832.patch: cert-session: fix multi-entry OCSP
      revocation bypass in lib/cert-session.c.
    - CVE-2026-3832
  * SECURITY UPDATE: policy bypass via x509 case-sensitive comparisons
    - debian/patches/CVE-2026-3833.patch: x509/name-constraints: compare domain
      names case-insensitive in lib/x509/name_constraints.c.
    - CVE-2026-3833
  * SECURITY UPDATE: permitted name constrains were incorrectly ignored
    - debian/patches/CVE-2026-42011.patch: x509/name_constraints: fix
      intersecting empty constraints in lib/x509/name_constraints.c.
    - CVE-2026-42011
  * SECURITY UPDATE: 
    - debian/patches/CVE-2026-42010.patch: lib/auth/rsa_psk: fix binary PSK
      identity lookup in lib/auth/rsa_psk.c.
    - CVE-2026-42010
  * SECURITY UPDATE: incorrect username parsing with NUL characters
    - debian/patches/CVE-2026-5260-1.patch: lib/auth/rsa: check that ciphertext
      matches the modulus size in lib/auth/rsa.c, lib/auth/rsa_psk.c.
    - debian/patches/CVE-2026-5260-2.patch: lib/pkcs11_privkey: guard against
      overreading on short ciphertexts in lib/pkcs11_privkey.c.
    - CVE-2026-5260
  * SECURITY UPDATE: 
    - debian/patches/CVE-2026-42012-pre1.patch: x509/hostname-verify: refactor
      and simplify CN fallback logic in lib/x509/hostname-verify.c.
    - debian/patches/CVE-2026-42012-pre2.patch: Fix for #1132 in
      lib/includes/gnutls/gnutls.h.in, lib/x509/common.h,
      lib/x509/name_constraints.c, lib/x509/output.c, lib/x509/virt-san.c,
      lib/x509/x509.c, tests/Makefile.am, tests/x509-upnconstraint.c.
    - debian/patches/CVE-2026-42012-pre3.patch: x509: add bare-bones awareness
      of SRV virtual SAN in lib/includes/gnutls/gnutls.h.in, lib/x509/common.h,
      lib/x509/name_constraints.c, lib/x509/output.c, lib/x509/virt-san.c,
      lib/x509/x509.c.
    - debian/patches/CVE-2026-42012-pre4.patch: datum, mem, str: add helper
      functions to steal pointers in lib/datum.h, lib/mem.h, lib/str.h.
    - debian/patches/CVE-2026-42012.patch: x509/hostname-verify: make URI/SRV
      SAN preclude CN fallback in lib/x509/hostname-verify.c.
    - CVE-2026-42012
  * SECURITY UPDATE: incorrect URI or SRV Subject Alternative Names checking
    - debian/patches/CVE-2026-42013-pre1.patch: x509/email-verify: call
      fallback DN fallback in lib/x509/email-verify.c.
    - debian/patches/CVE-2026-42013.patch: x509: prevent fallback on oversized
      SAN in lib/x509/email-verify.c, lib/x509/hostname-verify.c.
    - CVE-2026-42013
  * SECURITY UPDATE: UaF when changing the Security Officer PIN
    - debian/patches/CVE-2026-42014.patch: pkcs11_write: fix UAF and leak in
      gnutls_pkcs11_token_set_pin in lib/pkcs11_write.c.
    - CVE-2026-42014
  * SECURITY UPDATE: buffer overflow when appending to a PKCS#12 bag
    - debian/patches/CVE-2026-42015.patch: x509/pkcs12_bag: fix off-by-one in
      bag element bounds check in lib/x509/pkcs12_bag.c.
    - CVE-2026-42015

 -- Marc Deslauriers <marc.deslauriers@ubuntu.com>  Fri, 08 May 2026 14:50:04 -0400

gnutls28 (3.7.3-4ubuntu1.8) jammy-security; urgency=medium

  * SECURITY UPDATE: DoS via malicious certificates
    - debian/patches/CVE-2025-14831-*.patch: rework processing algorithms
      to exhibit better performance characteristics in
      lib/x509/name_constraints.c, tests/name-constraints-ip.c.
    - CVE-2025-14831
  * SECURITY UPDATE: stack overflow via long token label
    - debian/patches/CVE-2025-9820.patch: avoid stack overwrite when
      initializing a token in lib/pkcs11_write.c, tests/Makefile.am,
      tests/pkcs11/long-label.c.
    - CVE-2025-9820

 -- Marc Deslauriers <marc.deslauriers@ubuntu.com>  Tue, 10 Feb 2026 12:28:21 -0500

gnutls28 (3.7.3-4ubuntu1.7) jammy-security; urgency=medium

  * SECURITY UPDATE: double-free via otherName in the SAN
    - debian/patches/CVE-2025-32988.patch: avoid double free when exporting
      othernames in SAN in lib/x509/extensions.c.
    - CVE-2025-32988
  * SECURITY UPDATE: OOB read via malformed length field in SCT extension
    - debian/patches/CVE-2025-32989.patch: fix read buffer overrun in SCT
      timestamps in lib/x509/x509_ext.c.
    - CVE-2025-32989
  * SECURITY UPDATE: heap write overflow in certtool via invalid template
    - debian/patches/CVE-2025-32990.patch: avoid 1-byte write buffer
      overrun when parsing template in src/certtool-cfg.c,
      tests/cert-tests/Makefile.am, tests/cert-tests/template-test.sh,
      tests/cert-tests/templates/template-too-many-othernames.tmpl.
    - CVE-2025-32990
  * SECURITY UPDATE: NULL deref via missing PSK in TLS 1.3 handshake
    - debian/patches/CVE-2025-6395.patch: clear HSK_PSK_SELECTED when
      resetting binders in lib/handshake.c, lib/state.c, tests/Makefile.am,
      tests/tls13/hello_retry_request_psk.c.
    - CVE-2025-6395

 -- Marc Deslauriers <marc.deslauriers@ubuntu.com>  Fri, 11 Jul 2025 09:13:17 -0400

gnutls28 (3.7.3-4ubuntu1.6) jammy-security; urgency=medium

  * SECURITY UPDATE: resource consumption issue when decoding DER-encoded
    certificate data
    - debian/patches/CVE-2024-12243.patch: optimize name constraints
      processing in lib/datum.c,  lib/x509/name_constraints.c,
      lib/x509/x509_ext.c, lib/x509/x509_ext_int.h, lib/x509/x509_int.h.
    - CVE-2024-12243

 -- Marc Deslauriers <marc.deslauriers@ubuntu.com>  Wed, 12 Feb 2025 10:33:01 -0500

gnutls28 (3.7.3-4ubuntu1.5) jammy-security; urgency=medium

  * SECURITY UPDATE: side-channel leak via Minerva attack
    - debian/patches/CVE-2024-28834.patch: avoid normalization of mpz_t in
      deterministic ECDSA in lib/nettle/int/dsa-compute-k.c,
      lib/nettle/int/dsa-compute-k.h, lib/nettle/int/ecdsa-compute-k.c,
      lib/nettle/int/ecdsa-compute-k.h, lib/nettle/pk.c,
      tests/sign-verify-deterministic.c.
    - CVE-2024-28834
  * SECURITY UPDATE: crash via specially-crafted cert bundle
    - debian/patches/CVE-2024-28835.patch: remove length limit of input in
      lib/gnutls_int.h, lib/x509/common.c, lib/x509/verify-high.c,
      tests/test-chains.h.
    - CVE-2024-28835

 -- Marc Deslauriers <marc.deslauriers@ubuntu.com>  Fri, 12 Apr 2024 09:51:00 -0400

gnutls28 (3.7.3-4ubuntu1.4) jammy-security; urgency=medium

  * SECURITY UPDATE: timing side-channel attack in the RSA-PSK key exchange
    - debian/patches/CVE-2024-0553.patch: minimize branching after
      decryption in lib/auth/rsa_psk.c.
    - CVE-2024-0553
  * SECURITY UPDATE: DoS via certificate chain with distributed trust
    - debian/patches/CVE-2024-0567.patch: detect loop in certificate chain
      in lib/x509/common.c, tests/test-chains.h.
    - CVE-2024-0567

 -- Marc Deslauriers <marc.deslauriers@ubuntu.com>  Thu, 18 Jan 2024 12:22:01 -0500

gnutls28 (3.7.3-4ubuntu1.3) jammy-security; urgency=medium

  * SECURITY UPDATE: timing side-channel inside RSA-PSK key exchange
    - debian/patches/CVE-2023-5981.patch: side-step potential side-channel
      in lib/auth/rsa.c, lib/auth/rsa_psk.c, lib/gnutls_int.h,
      lib/priority.c.
    - CVE-2023-5981

 -- Marc Deslauriers <marc.deslauriers@ubuntu.com>  Fri, 17 Nov 2023 09:19:42 -0500

gnutls28 (3.7.3-4ubuntu1.2) jammy-security; urgency=medium

  * SECURITY UPDATE: timing sidechannel in RSA decryption
    - debian/patches/CVE-2023-0361-1.patch: side-step potential
      side-channel in lib/auth/rsa.c.
    - debian/patches/CVE-2023-0361-2.patch: remove dead code in
      lib/auth/rsa.c.
    - CVE-2023-0361

 -- Marc Deslauriers <marc.deslauriers@ubuntu.com>  Tue, 14 Feb 2023 16:13:17 -0500

gnutls28 (3.7.3-4ubuntu1.1) jammy-security; urgency=medium

  * SECURITY UPDATE: Double free in verification of pkcs7 signatures
    - debian/patches/CVE-2022-2509.patch: fix double free during
      gnutls_pkcs7_verify in lib/x509/pkcs7.c,
      tests/pkcs7-verify-double-free.c, tests/Makefile.am.
    - CVE-2022-2509

 -- Marc Deslauriers <marc.deslauriers@ubuntu.com>  Tue, 02 Aug 2022 08:48:56 -0400

gnutls28 (3.7.3-4ubuntu1) jammy; urgency=low

  * Merge from Debian unstable. Remaining changes:
    - Enable CET.
    - Set default priority string to only allow TLS1.2, DTLS1.2, and
    TLS1.3 with medium security profile (2048 RSA keys minimum, and
    similar).
    - Reduce parallelism in build to 2 to address FTBFS with lto

 -- Gianfranco Costamagna <locutusofborg@debian.org>  Mon, 24 Jan 2022 09:23:08 +0100

# For older changelog entries, run 'apt-get changelog gnutls-doc'
