Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.5
Apache Mod_gnutls: Client Certificate Verification Can Crash Server
CVE-2026-33307
Summary
A bug in older versions of the Apache HTTPD TLS module Mod_gnutls can cause a server to crash when verifying client certificates. This happens when a client sends a long certificate chain. The bug has been fixed in versions 0.12.3 and 0.13.0 of Mod_gnutls. If you're using an affected version, update to either 0.12.3 or 0.13.0 to prevent potential crashes.
Original title
Mod_gnutls is a TLS module for Apache HTTPD based on GnuTLS. In versions prior to 0.12.3 and 0.13.0, code for client certificate verification imported the certificate chain sent by the client into ...
Original description
Mod_gnutls is a TLS module for Apache HTTPD based on GnuTLS. In versions prior to 0.12.3 and 0.13.0, code for client certificate verification imported the certificate chain sent by the client into a fixed size `gnutls_x509_crt_t x509[]` array without checking the number of certificates is less than or equal to the array size. `gnutls_x509_crt_t` is a `typedef` for a pointer to an opaque GnuTLS structure created using with `gnutls_x509_crt_init()` before importing certificate data into it, so no attacker-controlled data was written into the stack buffer, but writing a pointer after the last array element generally triggered a segfault, and could theoretically cause stack corruption otherwise (not observed in practice). Server configurations that do not use client certificates (`GnuTLSClientVerify ignore`, the default) are not affected. The problem has been fixed in version 0.12.3 by checking the length of the provided certificate chain and rejecting it if it exceeds the buffer length, and in version 0.13.0 by rewriting certificate verification to use `gnutls_certificate_verify_peers()`, removing the need for the buffer entirely. There is no workaround. Version 0.12.3 provides the minimal fix for users of 0.12.x who do not wish to upgrade to 0.13.0 yet.
nvd CVSS3.1
7.5
Vulnerability type
CWE-121
Stack-based Buffer Overflow
Published: 24 Mar 2026 · Updated: 24 Mar 2026 · First seen: 24 Mar 2026