Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2018-16151

strongswan: authentication bypass in verify_emsa_pkcs1_signature() in gmp_rsa_public_key.c

Overview

Published
26 Sep 2018
Modified
17 Jun 2026
High CVE
0 Registry packages
5 OS packages
5 Linux distributions
Yes Fix available

Description

In verify_emsa_pkcs1_signature() in gmp_rsa_public_key.c in the gmp plugin in strongSwan 4.x and 5.x before 5.7.0, the RSA implementation based on GMP does not reject excess data after the encoded algorithm OID during PKCS#1 v1.5 signature verification. Similar to the flaw in the same version of strongSwan regarding digestAlgorithm.parameters, a remote attacker can forge signatures when small public exponents are being used, which could lead to impersonation when only an RSA signature is used for IKEv2 authentication.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.0 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weakness: CWE-347

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 13 fixes

SUSE Linux Enterprise 1 release · 1 package

fixed 1
strongswan
SUSE Linux Enterprise fixes for CVE-2018-16151
ReleasePackageFixed inAdvisory
12.5 strongswan +4 5.1.3-26.13.1 SUSE-SU-2019:3266-1

alpine 4 releases · 1 package

fixed 4
strongswan
alpine fixes for CVE-2018-16151
ReleasePackageFixed in
3.22 strongswan 5.7.0-r0
3.23 strongswan 5.7.0-r0
3.24 strongswan 5.7.0-r0
edge strongswan 5.7.0-r0

debian 5 releases · 1 package

fixed 5
strongswan
debian fixes for CVE-2018-16151
ReleasePackageFixed in
11 strongswan 5.7.0-1
12 strongswan 5.7.0-1
13 strongswan 5.7.0-1
14 strongswan 5.7.0-1
9 strongswan 5.5.1-4+deb9u3

echo 1 release · 1 package

fixed 1
strongswan
echo fixes for CVE-2018-16151
ReleasePackageFixed in
strongswan 5.7.0-1

ubuntu 2 releases · 1 package

fixed 2
strongswan
ubuntu fixes for CVE-2018-16151
ReleasePackageFixed in
18.04 strongswan 5.6.2-1ubuntu2.2
18.04-ESM strongswan 5.6.2-1ubuntu2.2

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.