Distro News

OpenVPN 2.7.10 patches three CVEs and fixes DCO crashes on Linux and FreeBSD

Key Takeaway

OpenVPN 2.7.10 closes a malformed-UDP crash, an mbedTLS certificate CPU exhaustion issue and a non-Windows DNS configuration abuse vector, while repairing Data Channel Offload crashes during reconnection.

Summary

OpenVPN 2.7.10 has been released with fixes for three security vulnerabilities plus a set of networking and platform-specific bugs. The first flaw, CVE-2026-142094, could crash the daemon when it processes malformed UDP traffic arriving from hosts on the same network link or from authenticated TAP VPN clients. The second, CVE-2026-135412, only affects builds linked against mbedTLS, where oversized certificates could consume CPU during TLS negotiation; the fix rejects certificates whose serial numbers exceed 40 bytes. The third, CVE-2026-142125, covers possible abuse of the DNS configuration mechanism on platforms other than Windows.

Beyond security, the release repairs Data Channel Offload crashes on Linux and FreeBSD that appeared when connection status was queried during a reconnection. Linux users also get corrections to local routing table handling and IPv6 route initialization, while Windows users get a fix for a 2.7.9 regression that blocked clients using the --route-method option. Additional patches address broadcast packet corruption with compression enabled, client-side NAT handling of packets carrying IP options, and unnecessary logging of certificate revocation list contents. Administrators running large TCP-based deployments also benefit from automatic raising of file descriptor limits when the configured client maximum exceeds available descriptors.

What changes in OpenVPN 2.7.10

  • CVE-2026-142094 (UDP crash): malformed UDP packets from same-link hosts or authenticated TAP clients could terminate the process; the release hardens that input path.
  • CVE-2026-135412 (mbedTLS CPU exhaustion): builds using mbedTLS now reject certificates with serial numbers longer than 40 bytes, preventing oversized certificates from monopolizing CPU during TLS negotiation.
  • CVE-2026-142125 (DNS configuration): the DNS configuration mechanism on non-Windows platforms is restricted to prevent abuse.
  • Data Channel Offload: DCO crashes on Linux and FreeBSD triggered by querying connection status during reconnection are fixed, alongside Linux local routing table and IPv6 route initialization corrections.
  • Operational fixes: broadcast packet corruption under compression, client-side NAT handling of IP-option packets, CRL content logging, the Windows --route-method regression from 2.7.9, and automatic file descriptor limit raising for large TCP deployments.

Why it matters

OpenVPN remains a default or common VPN package in many Linux distributions and is widely deployed on routers, firewalls and enterprise gateways, so the three CVE fixes warrant prompt backporting by distro security teams. The DCO and routing corrections matter for Linux and FreeBSD servers running kernel-accelerated data channels, where a crash during reconnection can drop active tunnels. The file descriptor auto-tuning also lowers a long-standing operational pitfall for administrators scaling TCP-based VPN concentrators.

What to do

  • Update OpenVPN to version 2.7.10 to address security vulnerabilities and platform-specific bugs.

Original reference: linuxiac.com →