Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-33307

mod_gnutils has stack-based buffer overflow caused by a long client certificate chain
Back to all
CVE

CVE-2026-33307

mod_gnutils has stack-based buffer overflow caused by a long client certificate chain

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 gnutlsx509crt_t x509[] array without checking the number of certificates is less than or equal to the array size. gnutlsx509crt_t is a typedef for a pointer to an opaque GnuTLS structure created using with gnutlsx509crt_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 gnutlscertificateverify_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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.5
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33307.json, https://github.com/airtower-luna/modgnutls/commit/bf4f08c49acae528e97885082cdee460f4534dc1, https://github.com/airtower-luna/modgnutls/security/advisories/GHSA-gjpm-55p4-c76r, https://nvd.nist.gov/vuln/detail/CVE-2026-33307

Severity

7.5

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.5
EPSS Probability
0.00049%
EPSS Percentile
0.15444%
Introduced Version
0
Fix Available
0f67c88c83a8c083b09bf5e13a3334c565314c05

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading