CVE-2026-33307: mod_gnutils has stack-based buffer overflow caused by a long client certificate chain

Published Mar 24, 2026
·
Updated

Modgnutls 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 gnutlsx509crtt x509[] array without checking the number of certificates is less than or equal to the array size. gnutlsx509crtt is a typedef for a pointer to an opaque GnuTLS structure created using with gnutlsx509crtinit() 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 gnutlscertificateverifypeers(), 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.

Affected Software

2 affected components
Apache mod_gnutls<0.12.3, <0.13.0
Mod Gnutls Project Mod Gnutls<0.12.3

Event History

Mar 24, 2026
CVE Published
via MITRE·01:34 AM
Data Sourced
via MITRE·01:34 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 26, 58199
Event
via FIRST·02:30 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-33307?

CVE-2026-33307 is considered a high-severity vulnerability due to the potential for remote code execution through stack-based buffer overflow.

2

How do I fix CVE-2026-33307?

To fix CVE-2026-33307, upgrade mod_gnutls to version 0.12.3 or later, or to version 0.13.0 if applicable.

3

What versions are affected by CVE-2026-33307?

CVE-2026-33307 affects mod_gnutls versions prior to 0.12.3 and 0.13.0.

4

What type of vulnerability is CVE-2026-33307?

CVE-2026-33307 is a stack-based buffer overflow vulnerability found in the mod_gnutls TLS module.

5

Who is impacted by CVE-2026-33307?

Users running affected versions of Apache mod_gnutls are at risk from CVE-2026-33307.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203