# CVE-2026-33307: mod\_gnutils has stack-based buffer overflow caused by a long client certificate chain

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-121
- **Published:** 2026-03-24T01:34:36.146Z
- **Modified:** 2026-06-17T10:37:17.667Z

## Who should check

- Anyone running airtower-luna mod\_gnutls \< 0.12.3

## 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.

## Affected and fixed versions

- airtower-luna mod\_gnutls: \< 0.12.3 (cvelist)

## Mitigation

- Upgrade mod\_gnutls to 0.12.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-33307. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-33307.md
Affected: airtower-luna mod_gnutls < 0.12.3
Fixed in: airtower-luna mod_gnutls 0.12.3

Steps:
1. Search this machine and project for airtower-luna mod_gnutls: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-33307 being exploited?

There is no confirmed exploitation: CVE-2026-33307 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-33307?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-33307?

airtower-luna mod\_gnutls \< 0.12.3.

### Is there a fix for CVE-2026-33307?

Yes. Fixed in airtower-luna mod\_gnutls 0.12.3. Upgrade mod\_gnutls to 0.12.3 or later.

### How do I check if I'm affected by CVE-2026-33307?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/airtower-luna/mod_gnutls/security/advisories/GHSA-gjpm-55p4-c76r>
- patch: <https://github.com/airtower-luna/mod_gnutls/commit/bf4f08c49acae528e97885082cdee460f4534dc1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-33307>

HTML: <https://flawdb.com/CVE-2026-33307> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-33307>
