VDB

ALPINE-CVE-2018-16152

ALPINE-CVE-2018-16152 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 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.

Risk Scores

CVSS 3.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.24strongswan0
Alpine:v3.23strongswan5.3.2-r0, 5.3.2-r1, 5.3.2-r10
Alpine:v3.22strongswan5.3.2-r4, 5.3.2-r5, 5.3.2-r6
Alpine:v3.20strongswan5.3.4-r0, 5.3.2-r8, 5.3.2-r7
Alpine:v3.11strongswan5.3.0-r1, 5.5.1-r0, 0
Alpine:v3.12strongswan5.6.0-r1, 5.3.2-r5, 5.3.2-r6
Alpine:v3.5strongswan5.3.2-r0, 0, 5.5.3-r1
Alpine:v3.16strongswan5.3.2-r4, 5.3.2-r5, 5.3.2-r6
Alpine:v3.14strongswan5.5.0-r0, 5.3.2-r5, 5.3.2-r6
Alpine:v3.18strongswan5.5.0-r1, 5.5.0-r0, 5.4.0-r1
Alpine:v3.13strongswan5.1.3-r0, 0, 5.6.3-r2
Alpine:v3.19strongswan0, 4.5.2-r0, 4.6.1-r0
Alpine:v3.21strongswan5.3.2-r3, 5.3.0-r2, 5.3.1-r0
Alpine:v3.15strongswan5.5.0-r0, 5.4.0-r1, 5.4.0-r0
Alpine:v3.8strongswan5.3.1-r1, 5.3.1-r2, 5.3.2-r0
Alpine:v3.6strongswan5.3.0-r2, 5.3.1-r1, 5.3.1-r2
Alpine:v3.9strongswan5.3.2-r4, 5.3.2-r5, 5.3.2-r6
Alpine:v3.10strongswan5.2.0-r2, 5.2.0-r1, 5.2.0-r0
Alpine:v3.7strongswan5.3.2-r2, 5.3.2-r2, 5.2.0-r2
Alpine:v3.17strongswan5.6.1-r0, 5.6.2-r1, 5.6.3-r0

Timeline

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