All reports
Medium

strongswan: integer underflow leads to buffer overflow and denial of service in stroke_socket.c

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2018-5388

Probability of exploitation in the next 30 days: 3.92%

FIRST EPSS · 2026-11-22

Description

In stroke_socket.c in strongSwan before 5.6.3, a missing packet length check could allow a buffer underflow, which may lead to resource exhaustion and denial of service while reading from the socket.

An integer underflow has been discovered in strongSwan VPN's charon server, which could lead to a buffer overflow and consequent crash. A local attacker, with enough privileges to access the Unix Domain Socket /var/run/charon.ctl, could use this vulnerability to crash the charon server.