CVE-2021-41990
The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate...
The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate with an RSASSA-PSS signature. For example, this can be triggered by an unrelated self-signed CA certificate sent by an initiator. Remote code execution cannot occur.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate with an RSASSA-PSS signature. For example, this can be triggered by an unrelated self-signed CA certificate sent by an initiator. Remote code execution cannot occur.
- Record
CVE-2021-41990- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-190
- Updated
- 2026-11-02
CVE List No score
The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate with an RSASSA-PSS signature. For example, this can be triggered by an unrelated self-signed CA certificate sent by an initiator. Remote code execution cannot occur.
- Record
CVE-2021-41990- Updated
- 2026-11-02
EUVDEUVD-2021-28980 No score
The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate with an RSASSA-PSS signature. For example, this can be triggered by an unrelated self-signed CA certificate sent by an initiator. Remote code execution cannot occur.
- Record
EUVD-2021-28980- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-3wp5-cvp4-5h42
7.5
The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate...
The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate with an RSASSA-PSS signature. For example, this can be triggered by an unrelated self-signed CA certificate sent by an initiator. Remote code execution cannot occur.
- Record
GHSA-3wp5-cvp4-5h42- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-41990
7.5
The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate with an RSASSA-PSS signature. For example, this can be triggered by an unrelated self-signed CA certificate sent by an initiator. Remote code execution cannot occur.
- Record
ALPINE-CVE-2021-41990- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVAZL-6896
7.5
CVE-2021-41990 affecting package strongswan for versions less than 5.9.5-1
The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate with an RSASSA-PSS signature. For example, this can be triggered by an unrelated self-signed CA certificate sent by an initiator. Remote code execution cannot occur.
- Record
AZL-6896- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSV
7.5
The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate with an RSASSA-PSS signature. For example, this can be triggered by an unrelated self-signed CA certificate sent by an initiator. Remote code execution cannot occur.
- Record
CVE-2021-41990- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-41990
7.5
The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate with an RSASSA-PSS signature. For example, this can be triggered by an unrelated self-signed CA certificate sent by an initiator. Remote code execution cannot occur.
- Record
DEBIAN-CVE-2021-41990- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2021-1408
7.5
strongswan security update
The strongSwan IPsec implementation supports both the IKEv1 and IKEv2 key exchange protocols in conjunction with the native NETKEY IPsec stack of the Linux kernel.
Security Fix(es):
The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate with an RSASSA-PSS signature. For example, this can be triggered by an unrelated self-signed CA certificate sent by an initiator. Remote code execution cannot occur.(CVE-2021-41990)
The in-memory certificate cache in strongSwan before 5.9.4 has a remote integer overflow upon receiving many requests with different certificates to fill the cache and later trigger the replacement of cache entries. The code attempts to select a less-often-used cache entry by means of a random number generator, but this is not done correctly. Remote code execution might be a slight possibility.(CVE-2021-41991)
- Record
OESA-2021-1408- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-41990
7.5
The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate with an RSASSA-PSS signature. For example, this can be triggered by an unrelated self-signed CA certificate sent by an initiator. Remote code execution cannot occur.
- Record
UBUNTU-CVE-2021-41990- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2021:1399-1 No score
Security update for strongswan
This update for strongswan fixes the following issues:
A feature was added:
- Add auth_els plugin to support Marvell FC-SP encryption (jsc#SLE-20151)
Security issues fixed:
- CVE-2021-41991: Fixed an integer overflow when replacing certificates in cache. (bsc#1191435)
- CVE-2021-41990: Fixed an integer Overflow in the gmp Plugin. (bsc#1191367)
This update was imported from the SUSE:SLE-15-SP2:Update update project.
- Record
openSUSE-SU-2021:1399-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:3467-1 No score
Security update for strongswan
This update for strongswan fixes the following issues:
A feature was added:
- Add auth_els plugin to support Marvell FC-SP encryption (jsc#SLE-20151)
Security issues fixed:
- CVE-2021-41991: Fixed an integer overflow when replacing certificates in cache. (bsc#1191435)
- CVE-2021-41990: Fixed an integer Overflow in the gmp Plugin. (bsc#1191367)
- Record
openSUSE-SU-2021:3467-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11655-1 No score
strongswan-5.9.4-1.1 on GA media
These are all security issues fixed in the strongswan-5.9.4-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11655-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:3467-1 No score
Security update for strongswan
This update for strongswan fixes the following issues:
A feature was added:
- Add auth_els plugin to support Marvell FC-SP encryption (jsc#SLE-20151)
Security issues fixed:
- CVE-2021-41991: Fixed an integer overflow when replacing certificates in cache. (bsc#1191435)
- CVE-2021-41990: Fixed an integer Overflow in the gmp Plugin. (bsc#1191367)
- Record
SUSE-SU-2021:3467-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:3469-1 No score
Security update for strongswan
This update for strongswan fixes the following issues:
- Fix trailing quotation mark missing from example in README. (bsc#1167880)
- CVE-2021-41991: Fixed an integer overflow when replacing certificates in cache. (bsc#1191435)
- CVE-2021-41990: Fixed an integer Overflow in the gmp Plugin. (bsc#1191367)
- Record
SUSE-SU-2021:3469-1- Updated
- 2026-11-02
OSVUSN-5111-1 No score
strongswan vulnerabilities
It was discovered that strongSwan incorrectly handled certain RSASSA-PSS signatures. A remote attacker could use this issue to cause strongSwan to crash, resulting in a denial of service. (CVE-2021-41990)
It was discovered that strongSwan incorrectly handled replacing certificates in the cache. A remote attacker could use this issue to cause strongSwan to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2021-41991)
- Record
USN-5111-1- Updated
- 2026-11-02
Affected products
- strongswan
- debian linux
- fedoraproject fedora
- siemens 6gk5615-0aa00-2aa2 firmware
- siemens 6gk5804-0ap00-2aa2 firmware
- siemens 6gk5812-1aa00-2aa2 firmware
- siemens 6gk5812-1ba00-2aa2 firmware
- siemens 6gk5816-1aa00-2aa2 firmware
- siemens 6gk5816-1ba00-2aa2 firmware
- siemens 6gk5826-2ab00-2ab2 firmware
- siemens 6gk5856-2ea00-3aa1 firmware
- siemens 6gk5856-2ea00-3da1 firmware
Show 8 moreShow less
Affected packages
| Package | Affected | Fixed |
|---|---|---|
strongswanAlpine:v3.12 |
5.6.1 up to 5.8.4-r3 | 5.8.4-r3 |
strongswanAlpine:v3.13 |
5.6.1 up to 5.9.1-r1 | 5.9.1-r1 |
strongswanAlpine:v3.14 |
5.6.1 up to 5.9.1-r2 | 5.9.1-r2 |
strongswanAlpine:v3.15 |
5.6.1 up to 5.9.1-r3 | 5.9.1-r3 |
strongswanAlpine:v3.16 |
5.6.1 up to 5.9.1-r3 | 5.9.1-r3 |
strongswanAlpine:v3.17 |
5.6.1 up to 5.9.1-r3 | 5.9.1-r3 |
strongswanAlpine:v3.18 |
5.6.1 up to 5.9.1-r3 | 5.9.1-r3 |
strongswanAlpine:v3.19 |
5.6.1 up to 5.9.1-r3 | 5.9.1-r3 |
strongswanAlpine:v3.20 |
5.6.1 up to 5.9.1-r3 | 5.9.1-r3 |
strongswanAlpine:v3.21 |
5.6.1 up to 5.9.1-r3 | 5.9.1-r3 |
Show 39 moreShow less
| Package | Affected | Fixed |
|---|---|---|
strongswanAlpine:v3.22 |
5.6.1 up to 5.9.1-r3 | 5.9.1-r3 |
strongswanAlpine:v3.23 |
5.6.1 up to 5.9.1-r3 | 5.9.1-r3 |
strongswanAlpine:v3.24 |
5.6.1 up to 5.9.1-r3 | 5.9.1-r3 |
strongswanAzure Linux:2 |
before 5.9.5-1 | 5.9.5-1 |
strongswanDebian:12 |
before 5.9.4-1 | 5.9.4-1 |
strongswanDebian:13 |
before 5.9.4-1 | 5.9.4-1 |
strongswanDebian:14 |
before 5.9.4-1 | 5.9.4-1 |
strongswanDebian:10 From an advisory covering 2 CVEs |
before 5.7.2-1+deb10u1, plus listed versions 5.7.2-1 |
5.7.2-1+deb10u1 |
strongswanDebian:11 From an advisory covering 2 CVEs |
before 5.9.1-1+deb11u1, plus listed versions 5.9.1-1 |
5.9.1-1+deb11u1 |
strongswanopenEuler:20.03-LTS-SP1 From an advisory covering 2 CVEs |
before 5.7.2-7.oe1 | 5.7.2-7.oe1 |
strongswanopenEuler:20.03-LTS-SP2 From an advisory covering 2 CVEs |
before 5.7.2-7.oe1 | 5.7.2-7.oe1 |
strongswanSUSE:Linux Enterprise Module for Basesystem 15 SP2 From an advisory covering 2 CVEs |
before 5.8.2-11.21.1 | 5.8.2-11.21.1 |
strongswanSUSE:Linux Enterprise Module for Basesystem 15 SP3 From an advisory covering 2 CVEs |
before 5.8.2-11.21.1 | 5.8.2-11.21.1 |
strongswanSUSE:Linux Enterprise Module for Package Hub 15 SP2 From an advisory covering 2 CVEs |
before 5.8.2-11.21.1 | 5.8.2-11.21.1 |
strongswanSUSE:Linux Enterprise Module for Package Hub 15 SP3 From an advisory covering 2 CVEs |
before 5.8.2-11.21.1 | 5.8.2-11.21.1 |
strongswanSUSE:Linux Enterprise Workstation Extension 15 SP2 From an advisory covering 2 CVEs |
before 5.8.2-11.21.1 | 5.8.2-11.21.1 |
strongswanSUSE:Linux Enterprise Workstation Extension 15 SP3 From an advisory covering 2 CVEs |
before 5.8.2-11.21.1 | 5.8.2-11.21.1 |
strongswanSUSE:Linux Enterprise High Performance Computing 15-ESPOS From an advisory covering 2 CVEs |
before 5.8.2-4.14.2 | 5.8.2-4.14.2 |
strongswanSUSE:Linux Enterprise High Performance Computing 15-LTSS From an advisory covering 2 CVEs |
before 5.8.2-4.14.2 | 5.8.2-4.14.2 |
strongswanSUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS From an advisory covering 2 CVEs |
before 5.8.2-4.14.2 | 5.8.2-4.14.2 |
strongswanSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS From an advisory covering 2 CVEs |
before 5.8.2-4.14.2 | 5.8.2-4.14.2 |
strongswanSUSE:Linux Enterprise Server 15-LTSS From an advisory covering 2 CVEs |
before 5.8.2-4.14.2 | 5.8.2-4.14.2 |
strongswanSUSE:Linux Enterprise Server 15 SP1-BCL From an advisory covering 2 CVEs |
before 5.8.2-4.14.2 | 5.8.2-4.14.2 |
strongswanSUSE:Linux Enterprise Server 15 SP1-LTSS From an advisory covering 2 CVEs |
before 5.8.2-4.14.2 | 5.8.2-4.14.2 |
strongswanSUSE:Linux Enterprise Server for SAP Applications 15 From an advisory covering 2 CVEs |
before 5.8.2-4.14.2 | 5.8.2-4.14.2 |
strongswanSUSE:Linux Enterprise Server for SAP Applications 15 SP1 From an advisory covering 2 CVEs |
before 5.8.2-4.14.2 | 5.8.2-4.14.2 |
strongswanSUSE:Enterprise Storage 6 From an advisory covering 2 CVEs |
before 5.8.2-4.14.2 | 5.8.2-4.14.2 |
strongswanUbuntu:18.04:LTS |
before 5.6.2-1ubuntu2.7, plus listed versions 5.5.1-4ubuntu25.5.1-4ubuntu35.6.1-2ubuntu15.6.1-2ubuntu25.6.1-2ubuntu3 Show 7 moreShow less5.6.1-2ubuntu45.6.2-1ubuntu25.6.2-1ubuntu2.25.6.2-1ubuntu2.35.6.2-1ubuntu2.45.6.2-1ubuntu2.55.6.2-1ubuntu2.6 |
5.6.2-1ubuntu2.7 |
strongswanUbuntu:Pro:FIPS-updates:18.04:LTS |
before 5.6.2-1ubuntu2.fips.2.7.1, plus listed versions 5.6.2-1ubuntu2.fips.2.5.1 |
5.6.2-1ubuntu2.fips.2.7.1 |
strongswanUbuntu:Pro:FIPS:18.04:LTS |
All versions, plus listed versions 5.6.2-1ubuntu2.fips.2.4.25.6.2-1ubuntu2.fips.2.5.1 |
None known |
strongswanUbuntu:20.04:LTS |
before 5.8.2-1ubuntu3.3, plus listed versions 5.7.2-1ubuntu35.8.1-1ubuntu15.8.2-1ubuntu15.8.2-1ubuntu25.8.2-1ubuntu35.8.2-1ubuntu3.15.8.2-1ubuntu3.2 |
5.8.2-1ubuntu3.3 |
strongswanUbuntu:Pro:FIPS-updates:20.04:LTS |
before 5.8.2-1ubuntu3.fips.3.3.1, plus listed versions 5.8.2-1ubuntu3.fips.3.1.2 |
5.8.2-1ubuntu3.fips.3.3.1 |
strongswanUbuntu:Pro:FIPS:20.04:LTS |
All versions, plus listed versions 5.8.2-1ubuntu3.fips.3.1.2 |
None known |
strongswanUbuntu:22.04:LTS |
before 5.9.1-1ubuntu3.1, plus listed versions 5.9.1-1ubuntu3 |
5.9.1-1ubuntu3.1 |
strongswanUbuntu:18.04:LTS From an advisory covering 2 CVEs |
before 5.6.2-1ubuntu2.7, plus listed versions 5.5.1-4ubuntu25.5.1-4ubuntu35.6.1-2ubuntu15.6.1-2ubuntu25.6.1-2ubuntu3 Show 7 moreShow less5.6.1-2ubuntu45.6.2-1ubuntu25.6.2-1ubuntu2.25.6.2-1ubuntu2.35.6.2-1ubuntu2.45.6.2-1ubuntu2.55.6.2-1ubuntu2.6 |
5.6.2-1ubuntu2.7 |
strongswanUbuntu:20.04:LTS From an advisory covering 2 CVEs |
before 5.8.2-1ubuntu3.3, plus listed versions 5.7.2-1ubuntu35.8.1-1ubuntu15.8.2-1ubuntu15.8.2-1ubuntu25.8.2-1ubuntu35.8.2-1ubuntu3.15.8.2-1ubuntu3.2 |
5.8.2-1ubuntu3.3 |
strongswanopenSUSE:Leap 15.2 From an advisory covering 2 CVEs |
before 5.8.2-lp152.2.18.1 | 5.8.2-lp152.2.18.1 |
strongswanopenSUSE:Leap 15.3 From an advisory covering 2 CVEs |
before 5.8.2-11.21.1 | 5.8.2-11.21.1 |
strongswanopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 5.9.4-1.1 | 5.9.4-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-41990 is a high vulnerability (CVSS 7.5) in Strongswan, published October 18, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.92%, the 94th percentile. Fixed in strongswan 5.8.4-r3.
References
github.com/strongswan/strongswan/releases/tag/5.9.4
strongswan.org/blog/2021/10/18/strongswan-vulnerability-%28cve-2021-41990%29.html
debian.org/security/2021/dsa-4989
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FJSATD2R2XHTG4P63GCMQ2N7EWKMME5
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQSQ3BEC22NF4NCDZVCT4P3Q2ZIAJXGJ
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y3TQ32JLJOBJDB2EJKSX2PBPB5NFG2D4
Show 24 moreShow less
cert-portal.siemens.com/productcert/pdf/ssa-539476.pdf
nvd.nist.gov/vuln/detail/CVE-2021-41990
lists.fedoraproject.org/archives/list/[email protected]/message/5FJSATD2R2XHTG4P63GCMQ2N7EWKMME5
lists.fedoraproject.org/archives/list/[email protected]/message/WQSQ3BEC22NF4NCDZVCT4P3Q2ZIAJXGJ
lists.fedoraproject.org/archives/list/[email protected]/message/Y3TQ32JLJOBJDB2EJKSX2PBPB5NFG2D4
strongswan.org/blog/2021/10/18/strongswan-vulnerability-(cve-2021-41990).html
github.com/advisories/GHSA-3wp5-cvp4-5h42
security.alpinelinux.org/vuln/CVE-2021-41990
security-tracker.debian.org/tracker/CVE-2021-41990
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1408
nvd.nist.gov/vuln/detail/CVE-2021-41991
suse.com/support/update/announcement/2021/suse-su-20213467-1
bugzilla.suse.com/1191367
bugzilla.suse.com/1191435
suse.com/security/cve/CVE-2021-41990
suse.com/security/cve/CVE-2021-41991
suse.com/support/update/announcement/2021/suse-su-20213469-1
bugzilla.suse.com/1167880
ubuntu.com/security/CVE-2021-41990
ubuntu.com/security/notices/USN-5111-1
cve.org/CVERecord?id=CVE-2021-41990
ubuntu.com/security/CVE-2021-41991
lists.opensuse.org/archives/list/[email protected]/thread/EFL7BNFHRF7ZQZFGAWEPQ7ZQHD6T6CNA
lists.opensuse.org/archives/list/[email protected]/thread/NOTT66WWQ6OSMGWC35UZKJSSHCUIWURT