Home / libreswan / libreswan / CVE-2023-2295
CVE-2023-2295: is it exploited, and which versions of libreswan are affected and fixed?
CVE-2023-2295 is a denial of service (uncontrolled resource consumption) vulnerability in libreswan. 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, 10:38 UTC). Affected: libreswan Affects libreswan v4.9-1.el8 and libreswan v4.9-1.el9, Fixed in libreswan v4.9-3 (CVE record by redhat). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:39 UTC.
What is CVE-2023-2295?
A vulnerability was found in the libreswan library. This security issue occurs when an IKEv1 Aggressive Mode packet is received with only unacceptable crypto algorithms, and the response packet is not sent with a zero responder SPI. When a subsequent packet is received where the sender reuses the libreswan responder SPI as its own initiator SPI, the pluto daemon state machine crashes. No remote code execution is possible. This CVE exists because of a CVE-2023-30570 security regression for libreswan package in Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2.
From the CVE record by redhat, last updated January 22, 2025, 18:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| libreswan | Affects libreswan v4.9-1.el8 and libreswan v4.9-1.el9, Fixed in libreswan v4.9-3 |
As the CVE record by redhat states it, last updated January 22, 2025. 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 |
|---|---|---|---|
| libreswan | libreswan | 4.9-1.el8 | application |
| libreswan | libreswan | 4.9-1.el9 | application |
| redhat | enterprise linux | 8.0 | operating system |
| redhat | enterprise linux | 9.0 | operating system |
| redhat | enterprise linux eus | 8.8 | operating system |
| redhat | enterprise linux eus | 9.2 | operating system |
| redhat | enterprise linux server aus | 8.8 | operating system |
| redhat | enterprise linux server aus | 9.2 | operating system |
| redhat | enterprise linux server tus | 8.8 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 05:52 UTC.
How severe is CVE-2023-2295?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | 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-2023-2295 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, January 22, 2025)
- EPSS
- 1.58% probability of exploitation activity in the next 30 days, percentile 76.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=2189777
- https://access.redhat.com/security/cve/CVE-2023-2295
- https://access.redhat.com/errata/RHSA-2023:3107
- https://access.redhat.com/errata/RHSA-2023:3148
When was it published, and where is the official record?
- Reserved
- April 26, 2023
- Published
- May 17, 2023, 00:00 UTC
- CVE record updated
- January 22, 2025, 18:25 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 05:52 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:39 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect libreswan?
- Aug 25, 2023CVE-2023-38712 Libreswan: NULL pointer dereference (crash)
- Aug 25, 2023CVE-2023-38711 Libreswan: NULL pointer dereference (crash)
- Aug 25, 2023CVE-2023-38710 Libreswan: n/a
- May 28, 2023CVE-2023-30570 Libreswan: denial of service (uncontrolled resource consumption)
- Feb 21, 2023CVE-2023-23009 Libreswan: denial of service (uncontrolled resource consumption)
- Jan 15, 2022CVE-2022-23094 Libreswan: NULL pointer dereference (crash)
- May 24, 2019CVE-2019-12312 Libreswan: NULL pointer dereference (crash)
- Jun 13, 2017CVE-2016-5391 Libreswan: NULL pointer dereference (crash)
Questions about CVE-2023-2295
Is CVE-2023-2295 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 1.58% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of libreswan are affected by CVE-2023-2295?
libreswan Affects libreswan v4.9-1.el8 and libreswan v4.9-1.el9, Fixed in libreswan v4.9-3, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2023-2295?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2023-2295?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2023-2295?
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.