Menu

Star on GitHub · 3.2k

CVE-2026-45918

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: ovpn: tcp - don't deref NULL sk_socket member after tcp_close() When deleting a peer in case of keepalive expiration, the peer…

Published May 27, 2026CWE-476EPSS 0.17%

Overview

CVE-2026-45918 is a medium-severity vulnerability. It was published on May 27, 2026 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

ovpn: tcp - don't deref NULL sk_socket member after tcp_close()

When deleting a peer in case of keepalive expiration, the peer is

removed from the OpenVPN hashtable and is temporary inserted in a

"release list" for further processing.

This happens in:

ovpn_peer_keepalive_work()

unlock_ovpn(release_list)

This processing includes detaching from the socket being used to

talk to this peer, by restoring its original proto and socket

ops/callbacks.

In case of TCP it may happen that, while the peer is sitting in

the release list, userspace decides to close the socket.

This will result in a concurrent execution of:

tcp_close(sk)

__tcp_close(sk)

sock_orphan(sk)

sk_set_socket(sk, NULL)

The last function call will set sk->sk_socket to NULL.

When the releasing routine is resumed, ovpn_tcp_socket_detach()

will attempt to dereference sk->sk_socket to restore its original

ops member. This operation will crash du

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-45918?

CVE-2026-45918 is a medium-severity vulnerability. It was published on May 27, 2026 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2026-45918?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-45918?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-45918?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-45918 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2026

View all