CVE & CISA-KEV Catalog

CVE-2018-16152

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 in the digestAlgorithm.parameters field during PKCS#1 v1.5 signature verification. Consequently, 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. This is a variant of CVE-2006-4790 and CVE-2014-1568.

How to fix

Remediation Available
strongswanDebian
Fixed in:5.7.0-1CVE-2018-16152
Fixed in:5.7.0-1CVE-2018-16152
Fixed in:5.7.0-1CVE-2018-16152
Fixed in:5.7.0-1CVE-2018-16152
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-16152
CVE-2018-16152 severity badge

Markdown

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

HTML

<a href="https://tridentstack.com/cve/CVE-2018-16152"><img src="https://tridentstack.com/cve/badge/CVE-2018-16152.svg" alt="CVE-2018-16152"></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.