# CVE-2021-41991

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 5% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-10-18 · Modified: 2024-08-04
- Aliases: ALPINE-CVE-2021-41991, SUSE-SU-2021:14827-1, SUSE-SU-2021:3468-1, UBUNTU-CVE-2021-41991, USN-5111-2, DEBIAN-CVE-2021-41991, DLA-2788-1
- Record: https://cvemate.com/vulnerability/CVE-2021-41991 · JSON: https://cvemate.com/vulnerability/CVE-2021-41991/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 5.301%, percentile 92.801%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 43)

- alpine strongswan (Alpine Linux): ≥ 4.2.10, \< 5.8.4-r3 \| ≥ 4.2.10, \< 5.9.1-r1 \| ≥ 4.2.10, \< 5.9.1-r2 \| ≥ 4.2.10, \< 5.9.1-r3
- debian strongswan (Debian): \< 5.9.4-1 \| \< 5.5.1-4+deb9u5
- ubuntu strongswan (Ubuntu): \< 5.1.2-0ubuntu2.11+esm1 \| \< 5.3.5-1ubuntu3.8+esm1 \| \< 5.3.5-1ubuntu3.fips.3.8.2 \| All versions (No fix recorded) \| \< 5.6.2-1ubuntu2.7 \| \< 5.6.2-1ubuntu2.fips.2.7.1 \| \< 5.8.2-1ubuntu3.3 \| \< 5.8.2-1ubuntu3.fips.3.3.1 \| \< 5.9.1-1ubuntu3.1
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- fedoraproject fedora: 33 \| 34 \| 35
- suse strongswan&distro=HPE Helion OpenStack 8 (SUSE Linux Enterprise): \< 5.1.3-26.16.1
- suse strongswan&distro=SUSE Linux Enterprise Point of Sale 11 SP3 (SUSE Linux Enterprise): \< 4.4.0-6.36.9.1
- suse strongswan&distro=SUSE Linux Enterprise Server 11 SP4-LTSS (SUSE Linux Enterprise): \< 4.4.0-6.36.9.1
- suse strongswan&distro=SUSE Linux Enterprise Server 12 SP2-BCL (SUSE Linux Enterprise): \< 5.1.3-26.16.1
- suse strongswan&distro=SUSE Linux Enterprise Server 12 SP3-BCL (SUSE Linux Enterprise): \< 5.1.3-26.16.1
- suse strongswan&distro=SUSE Linux Enterprise Server 12 SP3-LTSS (SUSE Linux Enterprise): \< 5.1.3-26.16.1
- suse strongswan&distro=SUSE Linux Enterprise Server 12 SP4-LTSS (SUSE Linux Enterprise): \< 5.1.3-26.16.1
- suse strongswan&distro=SUSE Linux Enterprise Server 12 SP5 (SUSE Linux Enterprise): \< 5.1.3-26.16.1
- suse strongswan&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3 (SUSE Linux Enterprise): \< 5.1.3-26.16.1
- suse strongswan&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP4 (SUSE Linux Enterprise): \< 5.1.3-26.16.1
- suse strongswan&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5 (SUSE Linux Enterprise): \< 5.1.3-26.16.1
- suse strongswan&distro=SUSE OpenStack Cloud 8 (SUSE Linux Enterprise): \< 5.1.3-26.16.1
- suse strongswan&distro=SUSE OpenStack Cloud 9 (SUSE Linux Enterprise): \< 5.1.3-26.16.1
- suse strongswan&distro=SUSE OpenStack Cloud Crowbar 8 (SUSE Linux Enterprise): \< 5.1.3-26.16.1
- suse strongswan&distro=SUSE OpenStack Cloud Crowbar 9 (SUSE Linux Enterprise): \< 5.1.3-26.16.1

## References

- <https://github.com/strongswan/strongswan/releases/tag/5.9.4>
- <https://www.strongswan.org/blog/2021/10/18/strongswan-vulnerability-%28cve-2021-41991%29.html>
- <https://www.debian.org/security/2021/dsa-4989>
- <https://lists.debian.org/debian-lts-announce/2021/10/msg00014.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FJSATD2R2XHTG4P63GCMQ2N7EWKMME5/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQSQ3BEC22NF4NCDZVCT4P3Q2ZIAJXGJ/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y3TQ32JLJOBJDB2EJKSX2PBPB5NFG2D4/>
- <https://cert-portal.siemens.com/productcert/pdf/ssa-539476.pdf>
- <https://security.alpinelinux.org/vuln/CVE-2021-41991>
- <https://www.suse.com/support/update/announcement/2021/suse-su-202114827-1/>
- <https://bugzilla.suse.com/1191435>
- <https://www.suse.com/security/cve/CVE-2021-41991>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20213468-1/>
- <https://ubuntu.com/security/CVE-2021-41991>
- <https://ubuntu.com/security/notices/USN-5111-1>
- <https://ubuntu.com/security/notices/USN-5111-2>
- <https://www.cve.org/CVERecord?id=CVE-2021-41991>
- <https://security-tracker.debian.org/tracker/CVE-2021-41991>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41991>

---

Data as of 2026-12-05T06:50:05.319Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
