CVEBrief

Home / Strongswan / Strongswan / CVE-2021-41991

CVE-2021-41991: is it exploited, and which versions of Strongswan are affected and fixed?

CVE-2021-41991 is an integer overflow vulnerability in Strongswan. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: strongswan from 4.2.10 before 5.9.4, debian linux 9.0, debian linux 10.0 and 26 more (NVD). Fixed in 5.9.4 and 2.3 (NVD). Severity: High (7.5, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:54 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 19:09 UTC
Affected
strongswan from 4.2.10 before 5.9.4, debian linux 9.0, debian linux 10.0 and 26 more
NVD
Fixed in
5.9.4 and 2.3
NVD
Severity
High 7.5
CVSS 3.1 from NVD
Exploit odds (EPSS)
5.30% in 30 days
higher than 93% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-41991?

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.

From the CVE record by mitre, last updated August 4, 2024, 03:22 UTC.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
strongswanstrongswanfrom 4.2.10 before 5.9.4application
debiandebian linux9.0operating system
debiandebian linux10.0operating system
debiandebian linux11.0operating system
fedoraprojectfedora33operating system
fedoraprojectfedora34operating system
fedoraprojectfedora35operating system
siemenssinema remote connect serverall versionsapplication
siemenssiplus et 200sp cp 1542sp-1 irc tx rail firmwareall versionsoperating system
siemenssimatic cp 1243-1 firmwareall versionsoperating system
siemenssimatic cp 1242-7 gprs v2 firmwareall versionsoperating system
siemenssimatic net cp 1243-8 irc firmwareall versionsoperating system
siemensscalance sc632-2c firmwareall versionsoperating system
siemenssiplus et 200sp cp 1543sp-1 isec firmwareall versionsoperating system
siemenscp 1543-1 firmwareall versionsoperating system
siemenssimatic net cp 1545-1 firmwareall versionsoperating system
siemenssimatic cp 1543sp-1 firmwareall versionsoperating system
siemenssimatic net cp1243-7 lte eu firmwareall versionsoperating system
siemenssimatic cp 1243-7 lte\/us firmwareall versionsoperating system
siemenssimatic cp 1542sp-1 firmwareall versionsoperating system
siemensscalance sc636-2c firmwareall versionsoperating system
siemenssimatic cp 1542sp-1 irc firmwareall versionsoperating system
siemensscalance sc642-2c firmwareall versionsoperating system
siemensscalance sc646-2c firmwarebefore 2.3operating system
siemensscalance sc622-2c firmwareall versionsoperating system

NVD analysis (status Modified), last modified June 17, 2026, 04:09 UTC.

How severe is CVE-2021-41991?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD
Medium 5.0CVSS 2.0AV:N/AC:L/Au:N/C:N/I:N/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-41991 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
5.30% probability of exploitation activity in the next 30 days, percentile 92.8 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
October 4, 2021
Published
October 18, 2021, 13:44 UTC
CVE record updated
August 4, 2024, 03:22 UTC by mitre
NVD
Modified, last modified June 17, 2026, 04:09 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:54 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Strongswan?

Every CVE in Strongswan

Questions about CVE-2021-41991

Is CVE-2021-41991 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 5.30% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Strongswan are affected by CVE-2021-41991?

strongswan from 4.2.10 before 5.9.4, debian linux 9.0, debian linux 10.0, debian linux 11.0, fedora 33, fedora 34 and 23 more, per the NVD. The tables above give every range the sources list.

Which version fixes CVE-2021-41991?

5.9.4 and 2.3, per the NVD. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-41991?

High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2021-41991?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.