VDB

ALPINE-CVE-2018-16151

ALPINE-CVE-2018-16151 PUBLISHED CVSS 7.5 HIGH

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.

Risk Scores

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

Affected Products

VendorProductVersions
Alpine:v3.21strongswan5.1.1-r3, 5.1.1-r2, 5.1.1-r1
Alpine:v3.5strongswan5.1.1-r0, 0, 4.5.2-r0
Alpine:v3.23strongswan5.3.5-r0, 5.3.5-r1, 5.3.5-r2
Alpine:v3.9strongswan0, 5.6.3-r2, 5.6.3-r1
Alpine:v3.18strongswan5.3.2-r2, 5.3.2-r10, 5.3.2-r1
Alpine:v3.13strongswan5.1.1-r2, 5.6.3-r2, 5.6.3-r1
Alpine:v3.6strongswan5.3.5-r1, 5.3.2-r0, 5.3.2-r4
Alpine:v3.17strongswan5.5.3-r1, 5.5.3-r0, 5.5.2-r1
Alpine:v3.14strongswan5.3.2-r2, 5.3.2-r4, 5.3.2-r5
Alpine:v3.15strongswan5.2.2-r0, 5.1.1-r0, 4.5.2-r0
Alpine:v3.16strongswan5.2.0-r0, 5.3.2-r7, 5.5.3-r1
Alpine:v3.7strongswan5.6.1-r0, 0, 4.5.2-r0
Alpine:v3.10strongswan5.3.2-r3, 5.3.2-r2, 5.3.2-r10
Alpine:v3.8strongswan5.3.5-r2, 5.3.2-r1, 5.3.2-r5
Alpine:v3.22strongswan4.5.2-r0, 5.5.0-r1, 5.5.0-r0
Alpine:v3.11strongswan0, 4.5.2-r0, 4.6.1-r0
Alpine:v3.19strongswan4.5.2-r0, 5.6.3-r2, 5.6.3-r1
Alpine:v3.20strongswan5.5.3-r1, 5.3.0-r2, 5.3.1-r0
Alpine:v3.12strongswan5.6.3-r0, 5.5.3-r1, 5.6.3-r2

Timeline

  • Sep 26, 2018 CVE Published
  • Dec 3, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›