High severity7.5NVD Advisory· Published Sep 26, 2018· Updated Jun 17, 2026
CVE-2018-16151
CVE-2018-16151
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
24- Range: <5.7.0
- osv-coords23 versionspkg:rpm/opensuse/strongswan&distro=openSUSE%20Leap%2015.0pkg:rpm/opensuse/strongswan&distro=openSUSE%20Leap%2015.1pkg:rpm/suse/strongswan&distro=SUSE%20Enterprise%20Storage%205pkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4pkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015pkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP1pkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015pkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3pkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSSpkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSSpkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4pkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1pkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/strongswan&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/strongswan&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/strongswan&distro=SUSE%20OpenStack%20Cloud%208
< 5.6.0-lp150.3.3.1+ 22 more
- (no CPE)range: < 5.6.0-lp150.3.3.1
- (no CPE)range: < 5.6.0-lp151.4.3.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.6.0-4.3.2
- (no CPE)range: < 5.6.0-4.3.2
- (no CPE)range: < 5.6.0-4.3.2
- (no CPE)range: < 4.4.0-6.36.12.1
- (no CPE)range: < 4.4.0-6.36.12.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
- (no CPE)range: < 5.1.3-26.13.1
Patches
Vulnerability mechanics
References
8- lists.debian.org/debian-lts-announce/2018/09/msg00032.htmlnvdMailing ListThird Party Advisory
- security.gentoo.org/glsa/201811-16nvdThird Party Advisory
- usn.ubuntu.com/3771-1/nvdThird Party Advisory
- www.debian.org/security/2018/dsa-4305nvdThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.htmlnvd
- lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.htmlnvd
- lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.htmlnvd
- www.strongswan.org/blog/2018/09/24/strongswan-vulnerability-%28cve-2018-16151%2C-cve-2018-16152%29.htmlnvd
News mentions
0No linked articles in our index yet.