CVE-2021-41991: Debian Linux

High severity, CVSS 7.5. EPSS: 5.3% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Siemens Scalance SC646-2c Firmware, before 2.3: fixed in 2.3
  • Strongswan, from 4.2.10, before 5.9.4: fixed in 5.9.4

Affected products

Published 2021-10-18. Last modified 2026-06-17.