CVE & CISA-KEV Catalog

CVE-2018-16151

HIGHEPSS 77th pctl
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
strongswanDebian
Fixed in:5.7.0-1CVE-2018-16151
Fixed in:5.7.0-1CVE-2018-16151
Fixed in:5.7.0-1CVE-2018-16151
Fixed in:5.7.0-1CVE-2018-16151
libstrongswanUbuntu
Fixed in:5.1.2-0ubuntu2.10USN-3771-1
Fixed in:5.3.5-1ubuntu3.7USN-3771-1
Fixed in:5.6.2-1ubuntu2.2USN-3771-1
strongswanUbuntu
Fixed in:5.1.2-0ubuntu2.10USN-3771-1
Fixed in:5.3.5-1ubuntu3.7USN-3771-1
Fixed in:5.6.2-1ubuntu2.2USN-3771-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

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

Exploit Intelligence

1.89%probability of exploitation in 30 days
77thpercentile

Elevated risk: more likely to be exploited than 77% of all known CVEs.

References

Embed a live status badge for CVE-2018-16151
CVE-2018-16151 severity badge

Markdown

[![CVE-2018-16151](https://tridentstack.com/cve/badge/CVE-2018-16151.svg)](https://tridentstack.com/cve/CVE-2018-16151)

HTML

<a href="https://tridentstack.com/cve/CVE-2018-16151"><img src="https://tridentstack.com/cve/badge/CVE-2018-16151.svg" alt="CVE-2018-16151"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-12-03.