Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libreswan | Affects libreswan v4.9-1.el8 and libreswan v4.9-1.el9, Fixed in libreswan v4.9-3.el8_8 and libreswan v4.9-4.el9_2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libreswan | No fix yet | — |
| Ubuntu 26.04 LTS | libreswan | No fix yet | — |
| Ubuntu 25.10 | libreswan | No fix yet | — |
| Ubuntu 24.04 LTS | libreswan | No fix yet | — |
| Ubuntu 22.04 LTS | libreswan | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libreswan | No fix yet | — |
| Ubuntu 18.04 LTS | libreswan | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | libreswan | 4.9-4.el9_2 | RHSA-2023:3148 |
| RHEL 8 | libreswan | 4.9-3.el8_8 | RHSA-2023:3107 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.0 E4S | libreswan | 4.6-3.el9_0.3 | RHSA-2024:10594 |
| Red Hat OpenShift 4 | libreswan | 4.6-3.el9_0.3 | RHBA-2024:11565, RHBA-2024:11525, RHBA-2024:11505 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | libreswan | 4.9-4.el9_2 | ALSA-2023:3148 |
| AlmaLinux 8 | libreswan | 4.9-3.el8_8 | ALSA-2023:3107 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | libreswan | 4.9-3.el8_8 | RLSA-2023:3107 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | libreswan | 4.9-4.0.1.el9_2 | ELSA-2023-3148 |
| Oracle Linux 8 | libreswan | 4.9-3.0.1.el8_8 | ELSA-2023-3107 |
Advisories 11
- ALSA-2023:3148 Important: libreswan security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:3107 Important: libreswan security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:10594 Red Hat Security Advisory: libreswan security update Red Hat Security Advisories (RHSA) · Aug 26, 2026
- RLSA-2023:3107 Important: libreswan security update Rocky Linux Security Advisories · Feb 4, 2026
- RHBA-2024:11505 Red Hat Bug Fix Advisory: OpenShift Container Platform 4.16.28 packages and security update Red Hat Security Advisories (RHSA) · Jan 29, 2026
- RHBA-2024:11565 Red Hat Bug Fix Advisory: OpenShift Container Platform 4.15.42 packages update Red Hat Security Advisories (RHSA) · Jan 29, 2026
- RHBA-2024:11525 Red Hat Bug Fix Advisory: OpenShift Container Platform 4.17.10 packages and security update Red Hat Security Advisories (RHSA) · Jan 29, 2026
- RHSA-2023:3148 Red Hat Security Advisory: libreswan security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- RHSA-2023:3107 Red Hat Security Advisory: libreswan security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- ELSA-2023-3107 Important: libreswan security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 24, 2023
- ELSA-2023-3148 Important: libreswan security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 17, 2023