Home / Cisco / Cisco Adaptive Security Appliance (ASA) Software / CVE-2021-40125
CVE-2021-40125: is it exploited, and which versions of Cisco Adaptive Security Appliance (ASA) Software are affected and fixed?
CVE-2021-40125 is an use after free vulnerability in Cisco Adaptive Security Appliance (ASA) Software. 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, 17:39 UTC). Affected: Cisco Adaptive Security Appliance (ASA) Software n/a (CVE record by cisco). Fixed in 6.4.0.13, 6.6.5, 6.7.0.3, 7.0.1 and 2 more (NVD). Severity: Medium (5.3, CVSS 3.1, from cisco).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.
What is CVE-2021-40125?
Cisco Adaptive Security Appliance Software and Firepower Threat Defense Software IKEv2 Site-to-Site VPN Denial of Service Vulnerability
A vulnerability in the Internet Key Exchange Version 2 (IKEv2) implementation of Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software could allow an authenticated, remote attacker to trigger a denial of service (DoS) condition on an affected device. This vulnerability is due to improper control of a resource. An attacker with the ability to spoof a trusted IKEv2 site-to-site VPN peer and in possession of valid IKEv2 credentials for that peer could exploit this vulnerability by sending malformed, authenticated IKEv2 messages to an affected device. A successful exploit could allow the attacker to trigger a reload of the device.
From the CVE record by cisco, last updated November 7, 2024, 21:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Cisco | Cisco Adaptive Security Appliance (ASA) Software | n/a |
As the CVE record by cisco states it, last updated November 7, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cisco | secure firewall threat defense | before 6.4.0.13 | application |
| cisco | secure firewall threat defense | from 6.6.0 before 6.6.5 | application |
| cisco | secure firewall threat defense | from 6.7.0 before 6.7.0.3 | application |
| cisco | secure firewall threat defense | from 7.0.0 before 7.0.1 | application |
| cisco | adaptive security appliance software | from 9.8.0 before 9.8.4.40 | operating system |
| cisco | adaptive security appliance software | from 9.9.0 before 9.12.4.30 | operating system |
| cisco | adaptive security appliance software | from 9.14.0 before 9.14.3.9 | operating system |
| cisco | adaptive security appliance software | from 9.15.0 before 9.15.1.17 | operating system |
| cisco | adaptive security appliance software | from 9.16.0 before 9.16.2 | operating system |
| cisco | asa 5512-x firmware | 009.016\(001.025\) | operating system |
| cisco | asa 5505 firmware | 009.016\(001.025\) | operating system |
| cisco | asa 5515-x firmware | 009.016\(001.025\) | operating system |
| cisco | asa 5525-x firmware | 009.016\(001.025\) | operating system |
| cisco | asa 5545-x firmware | 009.016\(001.025\) | operating system |
| cisco | asa 5555-x firmware | 009.016\(001.025\) | operating system |
| cisco | asa 5580 firmware | 009.016\(001.025\) | operating system |
| cisco | asa 5585-x firmware | 009.016\(001.025\) | operating system |
NVD analysis (status Modified), last modified August 11, 2026, 19:37 UTC.
How severe is CVE-2021-40125?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H | cisco |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 6.3 | CVSS 2.0 | AV:N/AC:M/Au:S/C:N/I:N/A:C | NVD |
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-40125 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 7, 2024)
- EPSS
- 1.02% probability of exploitation activity in the next 30 days, percentile 64.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- 20211027 Cisco Adaptive Security Appliance Software and Firepower Threat Defense Software IKEv2 Site-to-Site VPN Denial of Service Vulnerability vendor-advisory, x_refsource_CISCO
When was it published, and where is the official record?
- Reserved
- August 25, 2021
- Published
- October 27, 2021, 18:50 UTC
- CVE record updated
- November 7, 2024, 21:46 UTC by cisco
- NVD
- Modified, last modified August 11, 2026, 19:37 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Cisco Adaptive Security Appliance (ASA) Software?
- Oct 23, 2024CVE-2024-20481 Cisco Adaptive Security Appliance (ASA) Software: resource not released after use exploited
- Apr 24, 2024CVE-2024-20359 Cisco Adaptive Security Appliance (ASA) Software: code injection (remote code execution) exploited
- Apr 24, 2024CVE-2024-20353 Cisco Adaptive Security Appliance (ASA) Software: infinite loop (denial of service) exploited
- Sep 6, 2023CVE-2023-20269 Cisco Adaptive Security Appliance (ASA) Software: authentication bypass through another path exploited
- Oct 21, 2020CVE-2020-3580 Cisco Adaptive Security Appliance (ASA) Software: cross-site scripting (XSS) exploited
- Jul 22, 2020CVE-2020-3452 Cisco Adaptive Security Appliance (ASA) Software: improper input validation exploited
- May 6, 2020CVE-2020-3259 Cisco Adaptive Security Appliance (ASA) Software: information disclosure exploited
- Sep 25, 2025CVE-2025-20363 Cisco IOS: heap buffer overflow
Every CVE in Cisco Adaptive Security Appliance (ASA) Software
Questions about CVE-2021-40125
Is CVE-2021-40125 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 1.02% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Cisco Adaptive Security Appliance (ASA) Software are affected by CVE-2021-40125?
Cisco Adaptive Security Appliance (ASA) Software n/a, per the CVE record by cisco. The tables above give every range the sources list.
Which version fixes CVE-2021-40125?
6.4.0.13, 6.6.5, 6.7.0.3, 7.0.1, 9.8.4.40 and 9.12.4.30, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-40125?
Medium (5.3, CVSS 3.1, from cisco). The severity table above shows each score with its source.
Where is the official record of CVE-2021-40125?
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.