CVE-2026-6721

Inadequate Encryption Strength in Inadequate key size configuration in Diffie-Hellman key exchange in GnuTLS TLS Engine

Verified by Precogs Threat Research
Last Updated: Sep 17, 2024
Base Score
5.2MEDIUM

Executive Summary

CVE-2026-6721 is a medium severity vulnerability affecting cbom. It is classified as CWE-326. Ensure your systems and dependencies are patched immediately to mitigate exposure risks.

Precogs AI Insight

"Precogs AI scans application packages to identify weak cryptographic ciphers, key-length deviations, and hardcoded certificates, generating secure migration suggestions."

Exploit Probability (EPSS)
Unavailable (N/A)
Public POC
Undisclosed
Exploit Probability
Low (<10%)
Public POC
Available
Affected Assets
cbomCWE-326

What is this vulnerability?

CVE-2026-6721 is categorized as a medium Inadequate Encryption Strength flaw with a CVSS base score of 5.2. Based on our vulnerability intelligence, this issue occurs when the application fails to securely handle untrusted data boundaries.

A security exposure has been identified in GnuTLS TLS Engine. Specifying as inadequate key size configuration in diffie-hellman key exchange in gnutls tls engine, this vulnerability enables remote or local actors to exploit bounds or logical checks.

This architectural defect enables adversaries to bypass intended security controls, directly manipulating the application's execution state or data layer. Immediate strategic intervention is required.

Risk Assessment

MetricValue
CVSS Base Score5.2 (MEDIUM)
Vector StringCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
PublishedSeptember 17, 2024
Last ModifiedSeptember 17, 2024
Related CWEsCWE-326

Impact on Systems

Data Exposure: Deprecated ciphers (e.g. 3DES) permit cryptanalytic decryption of stored messages.

Credential Theft: Hardcoded private keys in public files expose server access directly to attackers.

Compliance Violations: Fails cryptographic standards under SOC 2, HIPAA, and PCI-DSS audits.

How to Fix and Mitigate CVE-2026-6721

  1. Upgrade Encryption Standards: Migrate legacy cryptographic algorithms to AES-256-GCM and SHA-256+.
  2. Remove Embedded Secrets: Shift hardcoded credentials and certificates into secure environment secret managers.
  3. Enforce TLS 1.3: Disable TLS 1.0/1.1 and deprecated cipher configurations in network gateways.

Defending with Precogs AI

Precogs AI scans application packages to identify weak cryptographic ciphers, key-length deviations, and hardcoded certificates, generating secure migration suggestions.

Use Precogs to continuously scan your codebase, binaries, APIs, and infrastructure for this vulnerability class and related attack patterns. Our AI-powered detection engine combines static analysis with threat intelligence to identify exploitable weaknesses before attackers do.

Start scanning with Precogs →

Vulnerability Code Signature

Attack Data Flow

StageDetail
SourceUntrusted User Input
VectorInput flows through the application logic without sanitization
SinkExecution or Rendering Sink
ImpactApplication compromise, Logic Bypass, Data Exfiltration

Vulnerable Code Pattern

# ❌ VULNERABLE: Unsanitized Input Flow
def process_request(request):
    user_input = request.GET.get('data')
    # Taint sink: processing untrusted data
    execute_logic(user_input)
    return {"status": "success"}

Secure Code Pattern

# ✅ SECURE: Input Validation & Sanitization
def process_request(request):
    user_input = request.GET.get('data')
    
    # Sanitized boundary check
    if not is_valid_format(user_input):
        raise ValueError("Invalid input format")
        
    sanitized_data = sanitize(user_input)
    execute_logic(sanitized_data)
    return {"status": "success"}

How Precogs Detects This

Precogs AI Analysis Engine maps untrusted input directly to execution sinks to catch complex application security vulnerabilities.

Related Vulnerabilitiesvia CWE-326

CVE-2026-60978.8 HIGH

Inadequate Encryption Strength in Inadequate key size configuration in Diffie-Hellman key exchange in Rustls Random Number Generator

CWE-326
CVE-2026-67696.7 MEDIUM

Inadequate Encryption Strength in Inadequate key size configuration in Diffie-Hellman key exchange in mbedTLS Random Number Generator

CWE-326
CVE-2026-72498.4 HIGH

Inadequate Encryption Strength in Inadequate key size configuration in Diffie-Hellman key exchange in mbedTLS Certificate Authority Engine

CWE-326
CVE-2026-63619.7 CRITICAL

Inadequate Encryption Strength in Inadequate key size configuration in Diffie-Hellman key exchange in GnuTLS Symmetric Cipher block

CWE-326
CVE-2026-72016.9 MEDIUM

Inadequate Encryption Strength in Inadequate key size configuration in Diffie-Hellman key exchange in GnuTLS Symmetric Cipher block

CWE-326
CVE-2026-65057.2 HIGH

Inadequate Encryption Strength in Inadequate key size configuration in Diffie-Hellman key exchange in WolfSSL SSH Server

CWE-326

Is your system affected?

Precogs AI detects CVE-2026-6721 in compiled binaries, LLMs, and application layers — even without source code access.