strongswan: authentication bypass in verify_emsa_pkcs1_signature() in gmp_rsa_public_key.c
Published Sep 26, 2018
7.5
HIGHCVSS 3.1
EPSS 1.89%
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.
Affected products
No data.
Configuration 1
- ≥ 4.0.0 · ≤ 4.6.4
- ≥ 5.0.0 · < 5.7.0
Configuration 2
- 8.0
- 9.0
Configuration 3
- 14.04
- 16.04
- 18.04
No data.
Red Hat Enterprise Linux 7
strongimcv
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | strongimcv | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
AV:N/AC:L/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed Dec 3, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 1.89% (0.01888) | 78.81th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.89% (0.01888) | 76.77th | v5 (v2026.06.15) |
| Mar 17, 2025 | 1.24% (0.01244) | 77.91th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.05% (0.01053) | 84.70th | v3 (v2023.03.01) |
| Apr 21, 2024 | 1.05% (0.01053) | 83.87th | v3 (v2023.03.01) |
| Feb 17, 2024 | 1.15% (0.01152) | 84.39th | v3 (v2023.03.01) |
| Nov 8, 2023 | 1.43% (0.01434) | 85.08th | v3 (v2023.03.01) |
| Sep 20, 2023 | 0.80% (0.00800) | 79.58th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.94% (0.00943) | 80.71th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.41% (0.01408) | 72.89th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.41% (0.01408) | 49.94th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.33% (0.02335) | 53.78th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.33% (0.02335) | 0.00th | v1 |
References (12)
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.html vendor-advisoryx_refsource_SUSE
- https://access.redhat.com/security/cve/CVE-2018-16152 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1635870 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2018/09/msg00032.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-16152
- https://security.gentoo.org/glsa/201811-16 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://usn.ubuntu.com/3771-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-16152
- https://www.debian.org/security/2018/dsa-4305 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.strongswan.org/blog/2018/09/24/strongswan-vulnerability-%28cve-2018-16151%2C-cve-2018-16152%29.html x_refsource_CONFIRM
Change history (0)
No recorded changes yet.