Skip to content

v2.7.10

Latest

Choose a tag to compare

@flichtenheld flichtenheld released this 02 Dec 21:01
· 582 commits to master since this release

Security fixes

  • avoid crash bug on sufficiently-malformed incoming UDP packets
    (CVE-2026-142094). Those could be sent from hosts on the same
    link as an OpenVPN server, or by authenticated TAP VPN clients
    through the tunnel.

    (Issue found & fix provided by Razvan Cojocaru)

  • avoid CPU starvation bug in TLS handshake on mbedTLS builds when
    receiving oversized certificates (CVE-2026-135412).

    (Issue reported by Arturs Parker and Jim Biniyaz, ResilientX Security,
    tracked in Github: OpenVPN/openvpn-private-issues#187)

  • harden DNS config mechanism (--dns-updown + runner) on Non-Windows-
    Platforms mechanisms against abuse (CVE-2026-142125)

    (Issue reported by a number of security researchers:
    Paul Jenkins,
    Deri Haerudi,
    Bhabani Sankar Das)

Bug fixes

  • multi: don't let compression corrupt queued broadcast packets

    Some compression modes modified the outgoing packet in-place, and
    for multicast packets that meant "after the first outgoing send,
    all further packets were broken" (GH OpenVPN/openvpn#461)

  • tapctl: don't crash on missing or oversized argument to --hwid

  • dco: fix handling of "status" command on the management-interface
    during a reconnect with no active c2.tls_multi. In some circumstances
    it would just return "nothing" (confusing management clients), in
    other circumstances it could trigger an ASSERT() in dco_freebsd.c,
    or a NULL-pointer crash in dco_linux.c (GH OpenVPN/openvpn#1146).

  • clinat: locate the TCP/UDP header via the IP header length
    (fixing client-nat for IP packets with IP options set)

  • win32: options: let the interactive service add routes again

    Up to 2.7.8, openvpn.exe would ignore --route-method <anything> when
    being run from service, so it did no harm. With 2.7.9, argument
    ordering was changed, leading to client connection failures if
    --route-method is in the config (GH OpenVPN/openvpn#1151)

  • socket_util: check the address family in addrlist_match()

    This could lead to a stack over-read in certain conditions, but
    no malicious effects could be achieved.

  • ssl_openssl: don't log inline CRL contents

    An inline <crl-verify> config would log the wrong string, ending up
    with the full CRL in the log, not just the name / <<inline>> tag

  • route: initialize the table of block-local routes

    Such routes could end up in a non-default routing table on Linux with
    SITNL.

User-visible Changes / New features

  • incoming certificates with a serial number that is longer than 40 bytes
    are now always rejected (CVE-2026-135412 fix, see above) - this is unlikely to have
    negative effects, as RFC5280 forbids "more than 20" already.

  • implement multi-line responses for pkcs11-id commands, bringing those
    in line with the normal command/response/status protocol. Only activated
    for management-clients that use "version 7" management.

  • multi: raise the open files limit for --max-clients

    On a TCP server that has a --max-clients setting above the number of
    allowed file descriptors (one FD needed per client), at some point
    FDs would run out and accept() starts to fail. This change checks the
    limits set and tries raising the system limit. If that's not possible,
    clearly log the problem. (GH OpenVPN/openvpn#1148)

  • ssl_verify: remove script temp files on all exit paths

  • manage: fix "cr-response" typo in unsupported command error

  • sitnl: clear inet_address_t locals with CLEAR()

    (zero-initializing unions in C with "union x = {0}" will not clear the
    full memory, just the first member, leading to issues with IPv6 routes)

  • reflect_filter: initialise warning_displayed in the rate limiter

  • comp: use the wire byte when escaping v2 uncompressed packets

    This would lead to broken packets starting with 0x50 on stub-v2
    and lz4-v2 compression (triggerable in TAP mode with MAC destinations
    starting with 0x50)

Full Changelog: v2.7.9...v2.7.10