Commit ebad10

2026-12-02 20:41:21 flichtenheld: 2.7.10
Downloads.md ..
@@ 1,185 1,117 @@
- ## OpenVPN 2.7.9 -- Released 5 November 2026
- The OpenVPN community project team is proud to release OpenVPN 2.7.9. This is a bugfix release fixing
+ ## OpenVPN 2.7.10 -- Released 2 December 2026
+ The OpenVPN community project team is proud to release OpenVPN 2.7.10. This is a bugfix release fixing
several security issues.
- For details see [Changes.md](https://github.com/OpenVPN/openvpn/blob/v2.7.9/Changes.md)
+ For details see [Changes.md](https://github.com/OpenVPN/openvpn/blob/v2.7.10/Changes.md)
- ### Security fixes
+ ## Security fixes
- - win32: restrict loading plugin dependencies (DLLs) to plugin, app
- and system directories.
+ - avoid crash bug on sufficiently-malformed incoming UDP packets
+ ([CVE-2026-142094](https://www.cve.org/CVERecord?id=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.
- - win32: run openvpn.exe from the interactive service at "high integrity
- level", that is, process memory of openvpn.exe and all its threads are
- protected from tampering. Signals/Events are still permitted.
+ (Issue found & fix provided by Razvan Cojocaru)
- - win32: openvpnserv: strictly filter user-defined environment variables
- before passing to openvpn.exe ([CVE-2026-121720](https://www.cve.org/CVERecord?id=CVE-2026-121720))
+ - avoid CPU starvation bug in TLS handshake on mbedTLS builds when
+ receiving oversized certificiates ([CVE-2026-135412](https://www.cve.org/CVERecord?id=CVE-2026-135412)).
- (Issue found by @refiaa, tracked in
- Github: OpenVPN/openvpn-private-issues#186)
+ (Issue reported by Arturs Parker and Jim Biniyaz, ResilientX Security,
+ tracked in Github: OpenVPN/openvpn-private-issues#187)
- - win32: openvpnserv: make validation of openvpn command line more robust
- to invalid-quoting attacks ([CVE-2026-115342](https://www.cve.org/CVERecord?id=CVE-2026-115342))
+ - harden DNS config mechanism (`--dns-updown` + runner) on Non-Windows-
+ Platforms mechanisms against abuse ([CVE-2026-142125](https://www.cve.org/CVERecord?id=CVE-2026-142125))
- - win32: openvpn.exe: change parsing of commandline to use the same
- function that the interactive service uses (`CommandLineToArgvW()`)
- ([CVE-2026-115342](https://www.cve.org/CVERecord?id=CVE-2026-115342))
+ (Issue reported by a number of security researchers:
+ Paul Jenkins,
+ Deri Haerudi,
+ Bhabani Sankar Das)
- (Issues found by Heiko Hund, tracked in
- Github: OpenVPN/openvpn-private-issues#184)
- ### Bug fixes
+ ## Bug fixes
- - Username/Password parsing from `--auth-user-pass` file (or inline)
- left parts of overlong usernames in the password field. Fix.
- (GH [OpenVPN/openvpn#1140](https://github.com/OpenVPN/openvpn/issues/1140))
+ - multi: don't let compression corrupt queued broadcast packets
- - win32: openvpnserv: fix memory leak for security descriptors
+ 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](https://github.com/OpenVPN/openvpn/issues/461))
- - win32: repair logging of errors in Windows `tun_read_queue()`
+ - tapctl: don't crash on missing or oversized argument to `--hwid`
- - win32: avoid accessing uninitialized structure data if `GetInterfaceInfo()`
- or `GetPerAdapterInfo()` fail
+ - 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 managment 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](https://github.com/OpenVPN/openvpn/issues/1146)).
- - win32: openvpnserv: avoid double `free()` if `GetTokenInformation()` fails
+ - clinat: locate the TCP/UDP header via the IP header length
+ (fixing client-nat for IP packets with IP options set)
- - win32: openvpnserv: avoid potential format-string issue on registry defaults
+ - win32: options: let the interactive service add routes again
- - win32: openvpnserv: repair error reporting on `RegGetValueA()` failures
- inside `GetItfDnsServersV4()`
+ 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](https://github.com/OpenVPN/openvpn/issues/1151))
- - win32: openvpnserv: fix `inet_ntop()` return code check in
- `GetItfDnsServersV6()`, making it ignore DHCP-provided DNS servers.
+ - socket_util: check the address family in addrlist_match()
- - route: repair printing of ROUTE_GATEWAY/ROUTE6_GATEWAY info - the actual gateway handling was correct, just not
- printing anything anymore.
+ This could lead to a stack over-read in certain conditions, but
+ no malicious effects could be achieved.
- - config: check_file_access: fix `--extra-certs` access check
+ - ssl_openssl: don't log inline CRL contents
- - win32: tun: free gc arena in `windows_set_mtu()` (mem leak in error path)
+ 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: close socket in Haiku `get_default_gateway()` (FD leak)
+ - route: initialize the table of block-local routes
- - win32: openvpnserv: skip conversion of empty domain names
+ Such routes could end up in a non-default routing table on Linux with
+ SITNL.
- - win32: cmake+mingw: don't prefix the event message DLL with lib
- (it was building 'libopenvpnservmsg.dll' instead of 'openvpnservmsg.dll')
- - win32: pass the buffer size in bytes to `get_openvpn_reg_value()`
+ ## User-visible Changes / New features
- - PUSH_UPDATE server: free temporary options after sending message (memleak)
+ - 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 reponses 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.
- ### User-visible Changes
+ - multi: raise the open files limit for `--max-clients`
- - Linux: set `IFF_BACKPRESSURE` on Linux (if available)
+ 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](https://github.com/OpenVPN/openvpn/issues/1148))
- This helps the kernel tun/tap to apply proper prioritization (qdisc etc)
- to incoming packets if userspace is slow to process them. Without the
- flag, the kernel would just drop everything.
+ - ssl_verify: remove script temp files on all exit paths
- - Management/GUI: Optionally indicate username in `>PASSWORD '<UP_TYPE>'` prompts
+ - manage: fix "cr-response" typo in unsupported command error
- If an openvpn config has a username set but no password, and OpenVPN
- wants to prompt for the password, the GUI could not see the username
- today and prompted for both. With this change, OpenVPN sends a hint to
- the management interface, so a GUI can pre-fill the username field, or
- only prompt for the password.
+ - sitnl: clear inet_address_t locals with CLEAR()
- This is only done if the management interface client announces
- support for it (compatibility level >= 6).
+ (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)
- ### Code improvements/general hardening
+ - reflect_filter: initialise warning_displayed in the rate limiter
- - crypto_epoch: wipe key material with `secure_memzero()`
+ - comp: use the wire byte when escaping v2 uncompressed packets
- - do not look up "none" cipher in OpenSSL - this avoids leaving an "error"
- on the OpenSSL error stack, which can then later lead to spurious
- SSL error prints on CRL loading.
+ 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)
- - Make CRL reload EOF detection independent of stale error queue entries
- (GH: [OpenVPN/openvpn#1104](https://github.com/OpenVPN/openvpn/issues/1104))
-
- - tls_crypt: fix handling of "cipher final output" (which is always empty
- on today's SSL libraries, so no impact today, but might not be in future)
-
- - crypto: `ASSERT()` opt before first use in `openvpn_decrypt_aead()`
-
- - auth_token: wipe the server secret key after loading it
-
- - port-share: do not write journal file through symlinks or hardlinks
- (and also document how port-share directory should be set up)
- (GH [OpenVPN/openvpn#1124](https://github.com/OpenVPN/openvpn/issues/1124))
-
- - dns-updown: close first pipe if creating the second one fails
- (avoid leaking file descriptors on error)
-
- - init: check parameters for NULL before strlen() in send_cc_message
- (not triggerable today)
-
- - crypto_openssl: Clear PEM decoded key data before freeing it
-
- - Increase the buffer size for alert-message in management user-pass query
- (so long usernames can be hinted towards the GUI)
-
- - win32: openvpnserv: validate message size for dns/nrpt/wins handlers
- (GH: [OpenVPN/openvpn#1129](https://github.com/OpenVPN/openvpn/issues/1129))
-
- - win32: plugin: detect too long plugin paths on Windows
-
- - win32: openvpnserv: null-terminate iface.name in address and route handlers
- (GH: [OpenVPN/openvpn#1130](https://github.com/OpenVPN/openvpn/issues/1130))
-
-
- ### Documentation improvements
-
- - Fix numbering of examples in management-notes.txt
-
- - Document "notify" as auth pending method
-
- - Convert Changes.rst to Markdown (2.7)
-
-
- ### Long-term code maintenance
-
- - OpenSSL 4.1 compatibility: use `ASN1_STRING_get_length()` now, providing
- a fallback to `ASN1_STRING_length()` for older SSL libraries.
-
- - Linux: sitnl: use `RTM_SETLINK` for updating existing interfaces
- (instead of `RTM_NEWLINK`)
-
- - gen-sample-keys.sh: Don't apply server extensions to CSRs
-
- - review all usages of `strncpy()`
- (change to `strncpynt()`, `memcpy()`, etc. where appropriate)
-
-
- Windows MSI changes since 2.7.8-I001:
- * Improve setting ACLs for non-"Program Files" installation directories. There were some configurations where the
- intended ACLs were not applied. (GH: [OpenVPN/openvpn-build#1520](https://github.com/OpenVPN/openvpn-build/pull/1520))
-
- (Issue found by @refiaa, tracked in Github: OpenVPN/openvpn-private-issues#185)
- * Update included openvpn-gui to 11.67
- * Support username indication in communication with OpenVPN (see above). Prefills the username in prompt to user.
- (GH: [OpenVPN/openvpn-gui#719](https://github.com/OpenVPN/openvpn-gui/issues/719))
- * Fix tray tooltip and popup positioning on non-primary monitors
- (GH: [OpenVPN/openvpn-gui#836](https://github.com/OpenVPN/openvpn-gui/issues/836))
- * Improve Swedish translation
- (GH: [OpenVPN/openvpn-gui#828](https://github.com/OpenVPN/openvpn-gui/pull/828))
-
- Note: Windows MSI was updated to I002 on November 12th. Changes in I002:
- * Included dco-win driver updated to v2.8.15
- * Fix regression from 2.8.14.
- The data channel stopped carrying traffic after the machine resumed from hibernation.
- (GH: [OpenVPN/ovpn-dco-win#169](https://github.com/OpenVPN/ovpn-dco-win/issues/169))
| | | |
|-|-|-|
- |**Windows 64-bit MSI installer**|[GnuPG Signature](https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.9-I002-amd64.msi.asc)|[OpenVPN-2.7.9-I002-amd64.msi](https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.9-I002-amd64.msi)|
- |**Windows ARM64 MSI installer**|[GnuPG Signature](https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.9-I002-arm64.msi.asc)|[OpenVPN-2.7.9-I002-arm64.msi](https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.9-I002-arm64.msi)|
- |**Windows 32-bit MSI installer**|[GnuPG Signature](https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.9-I002-x86.msi.asc)|[OpenVPN-2.7.9-I002-x86.msi](https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.9-I002-x86.msi)|
- |**Source archive file**|[GnuPG Signature](https://swupdate.openvpn.org/community/releases/openvpn-2.7.9.tar.gz.asc)|[openvpn-2.7.9.tar.gz](https://swupdate.openvpn.org/community/releases/openvpn-2.7.9.tar.gz)|
+ |**Windows 64-bit MSI installer**|[GnuPG Signature](https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.10-I001-amd64.msi.asc)|[OpenVPN-2.7.10-I001-amd64.msi](https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.10-I001-amd64.msi)|
+ |**Windows ARM64 MSI installer**|[GnuPG Signature](https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.10-I001-arm64.msi.asc)|[OpenVPN-2.7.10-I001-arm64.msi](https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.10-I001-arm64.msi)|
+ |**Windows 32-bit MSI installer**|[GnuPG Signature](https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.10-I001-x86.msi.asc)|[OpenVPN-2.7.10-I001-x86.msi](https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.10-I001-x86.msi)|
+ |**Source archive file**|[GnuPG Signature](https://swupdate.openvpn.org/community/releases/openvpn-2.7.10.tar.gz.asc)|[openvpn-2.7.10.tar.gz](https://swupdate.openvpn.org/community/releases/openvpn-2.7.10.tar.gz)|
For Community-maintained packages for Linux distributions see [OpenVPN Software Repositories](/Pages/OpenVPN%20software%20repos).
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9