GHSA-6f9v-9427-9fpm
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft certificate with NULL-byte subject
-
ExploitPresent to vulnerable OpenSSL OpenVPN peer
-
ExecutionTruncated subject bypasses name validation
-
ImpactImpersonate trusted peer, intercept VPN traffic
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Metacharacter neutralization
|
| Exploitation Conditions | Exploitation requires an OpenSSL-based OpenVPN build older than v2.7.8 using certificate-based authentication, and a peer that presents an X.509 certificate containing an embedded NULL byte in the subject field; the NULL byte causes subject-name parsing to truncate, allowing a crafted certificate to be accepted as 'valid'. Limiting factors: mbedTLS builds are NOT affected (they always rejected such certificates), the attacker must supply a specially crafted certificate (reflected in AC:H and the AT:P attack requirement), and PR:L indicates some position or privilege is assumed rather than fully anonymous unauthenticated access. Deployments on v2.7.8+ or mbedTLS builds are not exploitable. |
| Impact | This is a certificate-validation flaw (CWE-158, NULL-byte neutralization) in OpenVPN's handling of X.509 certificate subjects, carrying a vendor CVSS 4.0 base score of 7.6 (High). The vector (AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H) signals a network-reachable issue but with meaningful friction: high attack complexity (AC:H), a present attack requirement (AT:P), and some privilege/position (PR:L). No EPSS score was supplied, so exploitation probability cannot be quantified. The CVE is NOT in CISA KEV and no POC/exploit-code signal is present, so this is 'no public exploit identified at time of analysis' - do not treat it as actively exploited. The combination of AC:H + AT:P plus the need for an OpenSSL-based build and certificate-based authentication means real-world risk is lower than the 7.6 headline suggests: this is a conditions-dependent impersonation/validation-bypass bug rather than a wormable mass-exploitation issue. Signals are internally consistent (high confidentiality/integrity impact matches a cert-spoofing/impersonation outcome), but no EPSS/KEV/POC telemetry means prioritization should lean on deployment footprint and patch urgency rather than confirmed exploitation. Note: only a CVSS 4.0 vector was provided - no CVSS 3.1 vector was supplied by the source. |
| Exploit ScenarioDerived | An attacker crafts an X.509 certificate whose subject embeds a NULL byte (e.g. CN 'trusted.example.com\0attacker.com'); a vulnerable OpenSSL-based OpenVPN peer reads only the truncated 'trusted' portion and accepts the certificate as valid, enabling impersonation and interception of VPN traffic. No public exploit is identified at time of analysis, and exploitation is non-trivial (AC:H/AT:P) because it depends on certificate-based authentication and an OpenSSL build. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 13, 2026
Certificate validation in OpenSSL-based OpenVPN builds can be subverted by a peer that presents an X.509 certificate whose subject contains an embedded NULL byte, because subject-name parsing truncates at the NUL and the crafted certificate is then accepted as valid (CVE-2026-84790, CWE-158). Deployments at risk are OpenSSL-linked OpenVPN builds older than v2.7.8 that use certificate-based authentication; mbedTLS builds are not affected because they always rejected such certificates. The independent assessment scores this as CVSS:3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N (attack complexity high, some position/privilege assumed, and a purpose-built certificate required), which is consistent with the vendor's CVSS 4.0 score of 7.6 High; no public exploit code was identified at time of analysis and the issue is not in CISA KEV.
RemediationAI
The primary remediation is an upgrade to OpenVPN v2.7.8 or later, the vendor-released patched version documented at https://github.com/OpenVPN/openvpn/releases/tag/v2.7.8 and the vendor security announcement at https://community.openvpn.net/Security%20Announcements/CVE-2026-84790. Where an immediate upgrade is not possible, the most direct compensating control is to switch affected OpenSSL-linked builds to mbedTLS builds of the same OpenVPN version, since mbedTLS always rejected NULL-byte subjects; the trade-off is a build/dependency change that may drop OpenSSL-specific features (PKCS#11/engine or legacy crypto support) and could change duplicate-CN field-resolution behaviour. Administrators should also audit CA and issued-certificate subjects for embedded NUL bytes and reissue or revoke any such certificates before upgrading, because v2.7.8 deliberately makes validation stricter and can break existing installations that rely on them - this stricter behaviour is the intended fix, not a defect. Keep in mind the release additionally unifies duplicate-field (multiple CN) handling between backends, so post-upgrade name matching should be re-tested against any policy that depends on the last versus first value. The fix is not a per-connection togglable setting, so there is no configuration switch that safely restores the old behaviour; disabling certificate-based authentication in favour of other peer authentication is not recommended as it weakens the deployment overall.
Affected VersionsENISA
Affected Packages
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 flaw is a classic NULL-byte neutralization problem (CWE-158) in X.509 distinguished-name handling. Subject fields in a certificate are length-delimited ASN.1 strings (PrintableString, UTF8String, IA5String, etc.), so a byte value of 0x00 is legal inside the encoding, but when such a string is passed into code paths that treat it as a C-style string, comparison and display logic stops at the NUL. A peer-supplied certificate whose subject reads, for example, 'CN=trusted-name' followed by an embedded NUL and attacker-controlled trailing bytes can therefore be evaluated against only the truncated prefix, letting a crafted certificate satisfy name checks that it should fail. OpenVPN's own release notes confirm the fix is to detect NULL bytes in certificate subjects and treat any such certificate as invalid, and they explicitly note that mbedTLS builds already enforced this while OpenSSL builds did not - making this an OpenSSL-backend-specific hardening gap rather than a protocol flaw. The same release aligns duplicate-field handling between backends (multiple CN entries), which affects which name value is ultimately matched. Because the outcome is acceptance of an attacker-crafted identity rather than memory corruption, the impact is confined to authentication/integrity of the tunnel (C:H/I:H, no availability impact), and the assessment's AC:H and AT:P components reflect that a deliberately malformed, correctly signed-by-chain certificate must be delivered by the peer.
Know when Openvpn 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
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable cert-validation bypass needs a crafted NULL-byte certificate and an OpenSSL build (AC:H) with some assumed position (PR:L); it yields impersonation affecting confidentiality and integrity but not availability.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Executive ViewAI
OpenVPN deployments using OpenSSL-linked builds before v2.7.8 and certificate-based authentication are exposed to a validation bypass that can allow a crafted certificate to be accepted as trusted, potentially granting unauthorized VPN access to internal networks. This affects organizations relying on OpenVPN for remote workforce or third-party connectivity, where a successful bypass could undermine the primary remote-access trust boundary and expose sensitive systems and data. Leadership should prioritize remediation because the vulnerability is rated High, although exploitation requires a crafted certificate and no public exploit has been identified at time of analysis.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
A cross-protocol scripting issue was discovered in the management interface in OpenVPN through 2.4.5. Rated critical sev
OpenVPN version 2.3.12 and newer is vulnerable to unauthenticated Denial of Service of server via received large control
OpenVPN Connect 3.1.0.361 on Windows has Insecure Permissions for %PROGRAMDATA%\OpenVPN Connect\drivers\tap\amd64\win10,
openvpnserv.exe (aka the interactive service helper) in OpenVPN 2.4.x before 2.4.6 allows a local attacker to cause a do
CRLF injection vulnerability in the web interface in OpenVPN Access Server 2.1.4 allows remote attackers to inject arbit
Multiple cross-site request forgery (CSRF) vulnerabilities in the XML-RPC API in the Desktop Client in OpenVPN Access Se
Use after free in OpenVPN version 2.6.0 to 2.6.6 may lead to undefined behavoir, leaking memory buffers or remote execut
Comodo Dome Firewall 2.7.0 contains a reflected cross-site scripting vulnerability that allows attackers to inject malic
Comodo Dome Firewall 2.7.0 contains multiple reflected cross-site scripting vulnerabilities in the openvpn_users endpoin
OpenVPN versions before 2.3.3 and 2.4.x before 2.4.4 are vulnerable to a buffer overflow vulnerability when key-method 1
tap-windows6 driver version 9.26 and earlier does not properly check the size data of incomming write operations which a
OpenVPN plug-ins on Windows with OpenVPN 2.6.9 and earlier could be loaded from any directory, which allows an attacker
EUVD-2026-100750
NVD
CVE.org
EPSS
Exploit-DB