SecurityContext

CVE-2026-33307: Mod_gnutls - Buffer Overflow

  • Cve: CVE-2026-33307
  • Name: Mod_gnutls - Buffer Overflow
  • 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.
  • Impact: Remote attackers can cause server crashes leading to denial of service by sending oversized client certificate chains.
  • Remediation: Upgrade to version 0.12.3 or 0.13.0 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00377
  • Epss percentile: 0.32339
  • Assignee: [email protected]
  • Published at: 2026-03-24T02:16:05Z
  • Age in days: 245
  • Modified at: 2026-06-17T10:37:17Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-33307
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-121Stack-based Buffer Overflow

References

UrlSourceTags
https://github.com/airtower-luna/mod_gnutls/commit/bf4f08c49acae528e97885082cdee460f4534dc1nvdPatch
https://github.com/airtower-luna/mod_gnutls/security/advisories/GHSA-gjpm-55p4-c76rnvdPatch, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
mod_gnutls_project:mod_gnutls< 0.12.3nonvd/v1/products/mod_gnutls_project/mod_gnutls

Projects

RepositoryLink kindsIndexedUrl
airtower-luna/mod_gnutlscommit, fix, security_advisoryyes/v1/repositories/airtower-luna/mod_gnutls

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts