Skip to main content

GnuTLS CVE-2026-127040

| EUVDEUVD-2026-129374 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-19 56096609-bc02-44d5-8c89-cc887c27f7bb GHSA-wjm4-f3c6-px83
5.9
CVSS 3.1 · Vendor: 56096609-bc02-44d5-8c89-cc887c27f7bb
View

Attack ChainAIDerived

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

  1. Access
    Negotiate RSA-PSK TLS session with peer
  2. Delivery
    Induce or await heap memory pressure on peer
  3. Exploit
    Send ClientKeyExchange triggering PSK username allocation failure
  4. Execution
    Handler fails to return, dereferences null pointer
  5. Impact
    Crash peer process (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires that the peer negotiate an RSA-PSK key-exchange cipher suite - an uncommon configuration in modern TLS deployments - and that the peer be under memory pressure so that the allocation performed when copying the PSK username actually fails; the missing return after that failure is what causes the null-pointer dereference. Limiting factors that reduce realistic risk below the raw score: the triggering memory-allocation failure is not directly attacker-controlled (reflected in CVSS AC:H), RSA-PSK must be enabled and negotiated rather than a default modern cipher suite, the affected software must be GnuTLS prior to 3.8.14, and the impact is limited to availability (a crash) with no confidentiality or integrity effect.

Impact

This is a medium-severity, availability-only issue (CVSS 5.9, AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) rather than a top-priority emergency. The positive signals are network reachability and no authentication (PR:N), meaning a remote peer can reach the vulnerable RSA-PSK ClientKeyExchange handler without credentials. The tempering signals are significant: AC:H reflects that the null-pointer dereference only occurs when a memory allocation fails under heap pressure - a condition the attacker cannot reliably control - and the impact is confined to a denial of service (A:H) with no confidentiality or integrity loss. No EPSS score is provided in the input, there is no CISA KEV listing, and no PoC or exploit reference is supplied, so there is no public exploit identified at time of analysis. The vuln.today decision label is 'this_month', consistent with a real-but-non-urgent patching priority rather than act_now/emergency. Net assessment: a legitimate bug to fix on a normal patch cadence, but its real-world exploitability is constrained both by the uncommon RSA-PSK key-exchange path and by the attacker-uncontrolled heap-pressure precondition, so it is closer to a moderate-priority hardening fix than a widespread active threat.

Exploit ScenarioDerived

A remote attacker connecting to a GnuTLS peer (typically a server) negotiates an RSA-PSK cipher suite and sends a ClientKeyExchange message while the peer is under heap pressure. When the allocation to copy the PSK username fails, the handler fails to return and dereferences a null pointer, crashing the peer. No public exploit code is identified at time of analysis, and reliable triggering depends on the target genuinely being in a low-memory state (CVSS AC:H).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 19, 2026

A null pointer dereference in GnuTLS before 3.8.14 can crash a TLS peer that negotiates an RSA-PSK cipher suite and is simultaneously under heap pressure. The RSA-PSK ClientKeyExchange handler detects that the memory allocation for the PSK username failed but does not return, so execution continues on a null pointer; unauthenticated remote attackers who can drive the handshake to that point can therefore cause a denial of service limited to availability (CVSS 5.9, AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H). Realistic risk is moderate rather than urgent: RSA-PSK is an uncommon configuration in modern deployments, the triggering allocation failure is not directly attacker-controlled (reflected in AC:H), and there is no confidentiality or integrity impact; no public exploit code was identified at time of analysis and the issue is not in CISA KEV, with a priority label of this_month.

RemediationAI

Vendor-released patch: upgrade to GnuTLS 3.8.14 or later, which corrects the RSA-PSK ClientKeyExchange handler so that it returns after a failed PSK-username allocation; consult https://gnutls.org/security-new.html and the upstream work item https://gitlab.com/gnutls/gnutls/-/work_items/1868 for the vendor's guidance, and rebuild any application that statically links or vendors the library rather than relying on a shared-library update alone. Because exploitation requires that an RSA-PSK cipher suite actually be negotiated and that the process be under heap pressure at that moment, deployments that do not need PSK authentication can reduce exposure by not offering RSA-PSK suites in their GnuTLS priority strings - with the trade-off that any legitimate PSK-based peer or IoT/embedded client relying on RSA-PSK will fail to connect. Reducing memory pressure on GnuTLS-terminating services lowers the chance that the allocation failure occurs at all, but that is a probabilistic control at best and not a substitute for the upgrade; there is no configuration that makes the vulnerable code path safe while still permitting RSA-PSK.

Affected VersionsENISA

GnuTLS 3.7.7 ≤3.8.13

Affected Packages

euvd gnutls no fix

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

RSA-PSK is a TLS key-exchange mode (originally specified in RFC 4279) that combines RSA-based server authentication with pre-shared-key authentication of the client; the client's ClientKeyExchange message carries a psk_identity field, described here as the PSK username. In the affected GnuTLS implementation, the code path that copies that username performs a dynamic memory allocation and checks for allocation failure, but after detecting the failure it fails to return early. Control flow therefore continues with an invalid (null) pointer, producing a null pointer dereference (CWE-476) and terminating the process. Because the missing initialization and the unchecked-continuation pattern live in the handshake parsing path, the defect is reachable by any remote peer able to negotiate RSA-PSK, but only manifests when the allocation actually fails - i.e. when the affected process is already under memory pressure - which is why the assessed vector carries AC:H despite the network-reachable trigger. The flaw affects only availability; no memory corruption leading to code execution, and no data disclosure, is described in the available sources. No CPE strings were supplied, so affected deployments must be identified by GnuTLS version rather than by formal CPE matching. The trigger conditions beyond those stated (for example exact heap-exhaustion thresholds) are not described in the available sources.

Know when the next one hits your stack

  • 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

Vendor (56096609-bc02-44d5-8c89-cc887c27f7bb) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

Network-reachable TLS handling with no authentication (PR:N); AC:H because the null dereference only triggers when a PSK-username allocation fails under heap pressure, which the attacker cannot reliably control; availability-only impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (56096609-bc02-44d5-8c89-cc887c27f7bb).

CVSS VectorVendor: 56096609-bc02-44d5-8c89-cc887c27f7bb

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

DescriptionCVE.org

The RSA-PSK ClientKeyExchange handler in gnutls before 3.8.14 does not return after detecting a memory allocation failure when copying the PSK username, which allows remote attackers to cause a denial of service for a peer under heap pressure.

Threat Intelligence Overview

EPSS Score
0.3%
Top 71% exploitable
Prevalence
High
GnuTLS is a widely deployed TLS library across Linux distributions and the GNOME stack
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Related Vulnerabilities in GnuTLS Memory Management Flaws

View all 3

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