OpenVPN divide-by-zero crash via --fragment affects OpenVPN 2 Community and Access Server

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2023-46849?

CVE-2023-46849 is a vulnerability classified as Divide By Zero, affecting OpenVPN 2 (Community) (affected versions: 2.6.0 – ≤ 2.6.6) and Access Server (affected versions: 2.11.0 – ≤ 2.11.3 and 2.12.0 – ≤ 2.12.1). This vulnerability is rated High, with a CVSS score of 7.5. Current sources do not report this vulnerability as exploited.

Overview

Original source data

Using the --fragment option in certain configuration setups OpenVPN version 2.6.0 to 2.6.6 allows an attacker to trigger a divide by zero behaviour which could cause an application crash, leading to a denial of service.

Affected products and scope

  • OpenVPN 2 (Community): affected from 2.6.0 through 2.6.6, inclusive. The OpenVPN community advisory identifies 2.6.7 as resolving the issue.
  • OpenVPN Access Server: affected from 2.11.0 through 2.11.3, inclusive, and from 2.12.0 through 2.12.1, inclusive.
  • OpenVPN's vendor advisory states that 2.12.2 and newer contain the Access Server fix. The reviewed evidence does not identify a separate fixed release in the 2.11.x branch, so a safe status for every release in that branch should not be inferred.

Technical details

OpenVPN 2.6 incorrectly restores the --fragment configuration in some circumstances. When the vulnerable path is exercised in an affected setup, arithmetic can reach a zero divisor; on platforms where this is fatal, the OpenVPN process crashes. The weakness is classified as CWE-369, Divide By Zero. The recorded attack characteristics indicate network reachability without authentication or user interaction, but the available evidence does not identify the specific packet, field, or protocol-state sequence used to trigger the fault.

Exploitability

The flaw can be triggered remotely over the network in affected configurations. The recorded attack characteristics require no privileges or user interaction and have low complexity. For Access Server, the default configuration does not include --fragment, and control-channel security makes exploitation harder, but the vendor confirms that configurations using the option can still trigger the crash. The supplied record marks public_exploit as false and does not set known_exploited; no specific exploit, campaign, victim, or indicator is established by the evidence reviewed.

Technical impact

The flaw can crash the OpenVPN process when division by zero is fatal on the underlying platform. The direct technical consequence is loss of availability for the process or VPN service, potentially interrupting active connections. The recorded scope is unchanged, and no confidentiality or integrity impact is established. The available evidence does not show that the flaw by itself enables code execution, privilege escalation, or data disclosure.

Business impact

  • A successful trigger can crash the OpenVPN process and interrupt VPN service.
  • Remote-access or site-to-site connectivity may be disrupted until the service is restarted or a failover mechanism takes over. This is a possible operational consequence, not evidence of a specific incident.
  • The established impact is primarily availability. The record provides no evidence that this flaw exposes data, changes data, or grants additional privileges.
  • Practical risk depends substantially on whether --fragment is used and whether the VPN deployment has redundancy or rapid recovery.

Remediation

  1. OpenVPN 2 (Community): update from the affected versions to 2.6.7, which the community advisory identifies as resolving the issue.
  2. OpenVPN Access Server: upgrade installations running 2.11.0 through 2.11.3 or 2.12.0 through 2.12.1 to a release containing the fix. The vendor identifies 2.12.2 and newer as fixed.
  3. If an immediate update is not possible, identify systems using --fragment for prioritization and assess whether reliance on the option can be reduced. The absence of --fragment from the default Access Server configuration only reduces exposure and is not a substitute for updating.
  4. After the upgrade, verify the version of the actual binary or package, restart the service according to operational procedures, and validate critical VPN connections.

Detection

  • Inventory OpenVPN 2 (Community) and OpenVPN Access Server installations, then compare running versions with the affected and fixed branches.
  • Inspect effective configuration, templates, and generated configuration for use of --fragment.
  • Review OpenVPN process or service telemetry for crashes, restarts, or abnormal VPN disconnections. Treat this as precautionary monitoring, not as an issue-specific indicator.
  • After updating, verify the version actually running and confirm service health. The absence of crash logs does not prove safety if the system still runs an affected branch.
Sources (24)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.