Skip to main content

Mod Gnutls CVE-2026-33307

| EUVDEUVD-2026-14692 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-03-24 GitHub_M
7.5
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send TLS connection with oversized certificate chain
  2. Delivery
    Trigger array buffer overflow in mod_gnutls
  3. Exploit
    Write pointers beyond array bounds
  4. Execution
    Corrupt stack memory
  5. Impact
    Crash Apache HTTPD process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Apache HTTPD with mod_gnutls versions prior to 0.12.3 and 0.13.0 must be configured to require or accept client certificate authentication. Remote unauthenticated attacker sends TLS handshake with oversized certificate chain exceeding fixed array bounds, causing denial of service.

Impact

The CVSS score of 7.5 (High) reflects network accessibility with low attack complexity requiring no privileges or user interaction, resulting in high availability impact (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). However, real-world risk is significantly mitigated by the limited attack surface: only Apache servers running mod_gnutls with client certificate verification explicitly enabled (non-default configuration) are vulnerable. The vulnerability primarily causes denial of service through segmentation faults rather than code execution, as stack corruption with pointers to legitimate GnuTLS structures (not attacker-controlled data) has not been observed to enable exploitation beyond crashes. No EPSS score, KEV listing, or public proof-of-concept is mentioned in available intelligence. This represents a moderate priority for organizations using affected configurations rather than a critical emergency requiring immediate action across all Apache deployments.

Exploit ScenarioDerived

An attacker sends a TLS handshake to an Apache server running vulnerable mod_gnutls with client certificate verification enabled, presenting an abnormally long certificate chain exceeding the fixed buffer size. The server attempts to import each certificate pointer into the undersized array without bounds checking, writing past the array boundary and corrupting stack memory. This typically triggers an immediate segmentation fault causing the Apache worker process to crash and denying service to legitimate users, with repeated exploitation enabling sustained denial of service against the web server.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 24, 2026

Mod_gnutls, a TLS module for Apache HTTPD, contains a stack-based buffer overflow vulnerability in its client certificate verification code. Versions prior to 0.12.3 and 0.13.0 fail to validate the length of client-provided certificate chains before writing pointers to a fixed-size array, typically causing segmentation faults (denial of service) and theoretically enabling stack corruption. Only configurations explicitly requiring client certificate verification are affected; default configurations using 'GnuTLSClientVerify ignore' are not vulnerable.

RemediationAI

Upgrade mod_gnutls to version 0.12.3 or later for a minimal bounds-checking fix, or to version 0.13.0 or later for a comprehensive rewrite that eliminates the vulnerable buffer by implementing gnutls_certificate_verify_peers() instead. The fix commit is available at https://github.com/airtower-luna/mod_gnutls/commit/bf4f08c49acae528e97885082cdee460f4534dc1. Version 0.12.3 provides the minimal security patch for users on the 0.12.x branch who cannot immediately upgrade to 0.13.0. According to the advisory, no workaround exists other than upgrading; organizations unable to patch immediately should consider disabling client certificate verification if not operationally required, though this may break authentication mechanisms.

Affected VersionsENISA

mod_gnutls < 0.12.3

Affected Packages

euvd mod_gnutls fix: 0.12.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected product is mod_gnutls (CPE: cpe:2.3:a:airtower-luna:mod_gnutls:*:*:*:*:*:*:*:*), an Apache HTTPD module providing TLS functionality via the GnuTLS library rather than OpenSSL. The vulnerability is classified as CWE-121 (Stack-based Buffer Overflow). During client certificate verification, the code imports certificate chains into a fixed-size array of gnutls_x509_crt_t pointers without bounds checking. While gnutls_x509_crt_t is a typedef for a pointer to an opaque structure initialized via gnutls_x509_crt_init(), writing beyond the array boundary corrupts the stack by overwriting adjacent memory with structure pointers rather than attacker-controlled data directly, which generally results in crashes but could theoretically enable more sophisticated exploitation.

Know when Mod Gnutls gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:18 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
0.12.3
CVE Published
Mar 24, 2026 - 01:34 nvd
HIGH 7.5

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

Mod_gnutls versions prior to 0.12.3 and 0.13.0 contain a stack buffer overflow in client certificate validation that can crash Apache HTTPD servers or potentially enable code execution on systems requiring client certificate authentication. Organizations running affected versions with mandatory client certificate verification face immediate availability risk and should prioritize remediation to prevent service disruption.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching unavailable: (1) Temporarily set 'GnuTLSClientVerify ignore' to disable client certificate verification until upgrade; (2) restrict network access to HTTPD ports to trusted certificate issuers only; (3) enable HTTPD crash monitoring and auto-restart to mitigate denial-of-service impact; (4) maintain backups of Apache configuration for rapid rollback if needed.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Related Vulnerabilities in Mod_gnutls Certificate Verification Issues

View all 2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy