CVE-2023-23009
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon...
CVE-2023-23009 is a medium vulnerability (CVSS 6.5) in Libreswan, published February 21, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.61%, the 75th percentile. Fixed in libreswan 4.9-r1.
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon restart) via crafted TS payload with an incorrect selector length.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon restart) via crafted TS payload with an incorrect selector length.
- Record
CVE-2023-23009- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400
- Updated
- 2026-11-02
CVE List
6.5
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon restart) via crafted TS payload with an incorrect selector length.
- Record
CVE-2023-23009- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400
- Updated
- 2026-11-02
EUVDEUVD-2023-27109
6.5
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon restart) via crafted TS payload with an incorrect selector length.
- Record
EUVD-2023-27109- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-3gxg-hfhr-6g9x
7.5
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon...
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon restart) via crafted TS payload with an incorrect selector length.
- Record
GHSA-3gxg-hfhr-6g9x- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-23009
6.5
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon restart) via crafted TS payload with an incorrect selector length.
- Record
ALPINE-CVE-2023-23009- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSV
6.5
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon restart) via crafted TS payload with an incorrect selector length.
- Record
CVE-2023-23009- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 13 moreShow less
OSVDEBIAN-CVE-2023-23009
6.5
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon restart) via crafted TS payload with an incorrect selector length.
- Record
DEBIAN-CVE-2023-23009- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2023-1150
7.5
libreswan security update
Libreswan is an implementation of IKEv1 and IKEv2 for IPsec. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks. Everything passing through the untrusted net is encrypted by the ipsec gateway machine and decrypted by the gateway at the other end of the tunnel. The resulting tunnel is a virtual private network or VPN. This package contains the daemons and userland tools for setting up Libreswan. Libreswan also supports IKEv2 (RFC7296) and Secure Labeling Libreswan is based on Openswan-2.6.38 which in turn is based on FreeS/WAN-2.04
Security Fix(es):
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon restart) via crafted TS payload with an incorrect selector length.(CVE-2023-23009)
- Record
OESA-2023-1150- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2023-1151
7.5
libreswan security update
Libreswan is an implementation of IKEv1 and IKEv2 for IPsec. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks. Everything passing through the untrusted net is encrypted by the ipsec gateway machine and decrypted by the gateway at the other end of the tunnel. The resulting tunnel is a virtual private network or VPN. This package contains the daemons and userland tools for setting up Libreswan. Libreswan also supports IKEv2 (RFC7296) and Secure Labeling Libreswan is based on Openswan-2.6.38 which in turn is based on FreeS/WAN-2.04
Security Fix(es):
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon restart) via crafted TS payload with an incorrect selector length.(CVE-2023-23009)
- Record
OESA-2023-1151- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHBA-2024:11505
7.5
Red Hat Bug Fix Advisory: OpenShift Container Platform 4.16.28 packages and security update
- Record
RHBA-2024:11505- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHBA-2024:11525
7.5
Red Hat Bug Fix Advisory: OpenShift Container Platform 4.17.10 packages and security update
- Record
RHBA-2024:11525- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHBA-2024:11565
7.5
Red Hat Bug Fix Advisory: OpenShift Container Platform 4.15.42 packages update
- Record
RHBA-2024:11565- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2023:2633
6.5
Red Hat Security Advisory: libreswan security update
- Record
RHSA-2023:2633- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2023:3095
6.5
Red Hat Security Advisory: libreswan security and bug fix update
- Record
RHSA-2023:3095- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2024:10594
7.5
Red Hat Security Advisory: libreswan security update
- Record
RHSA-2024:10594- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-23009
6.5
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon restart) via crafted TS payload with an incorrect selector length.
- Record
UBUNTU-CVE-2023-23009- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVALSA-2023:2633 No score
Moderate: libreswan security update
Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).
Security Fix(es):
- libreswan: remote DoS via crafted TS payload with an incorrect selector length (CVE-2023-23009)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2023:2633- Updated
- 2026-11-02
OSVALSA-2023:3095 No score
Moderate: libreswan security and bug fix update
Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).
Security Fix(es):
- libreswan: remote DoS via crafted TS payload with an incorrect selector length (CVE-2023-23009)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Bug Fix(es):
- authby=rsasig fails in FIPS policy (BZ#2187647)
- Record
ALSA-2023:3095- Updated
- 2026-11-02
OSVMGASA-2023-0089 No score
Updated libreswan packages fix security vulnerability
A change in the libreswan 4.2 Traffic Selector parsing code introduced a missing check that would reject palformed Traffic Selector payloads. As such, in such case the code stumbles on to hit a double free, leading to a crash and restart of the pluto daemon. No remote code execution. (CVE-2023-23009)
- Record
MGASA-2023-0089- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libreswanAlpine:v3.17 |
before 4.9-r1 | 4.9-r1 |
libreswanAlmaLinux:9 |
before 4.9-2.el9_2 | 4.9-2.el9_2 |
libreswanAlmaLinux:8 |
before 4.9-2.el8_8.2 | 4.9-2.el8_8.2 |
libreswanDebian:12 |
before 4.9-2 | 4.9-2 |
libreswanDebian:13 |
before 4.9-2 | 4.9-2 |
libreswanDebian:14 |
before 4.9-2 | 4.9-2 |
libreswanDebian:11 |
before 4.3-1+deb11u3, plus listed versions 4.3-14.3-1+deb11u1 |
4.3-1+deb11u3 |
libreswanMageia:8 |
before 4.6-4.1.mga8 | 4.6-4.1.mga8 |
libreswanopenEuler:22.03-LTS |
before 4.5-3.oe2203 | 4.5-3.oe2203 |
libreswanopenEuler:22.03-LTS-SP1 |
before 4.5-3.oe2203sp1 | 4.5-3.oe2203sp1 |
Show 25 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libreswanRed Hat:openshift:4.16::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debuginfoRed Hat:openshift:4.16::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debugsourceRed Hat:openshift:4.16::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswanRed Hat:openshift:4.17::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debuginfoRed Hat:openshift:4.17::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debugsourceRed Hat:openshift:4.17::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswanRed Hat:openshift:4.15::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debuginfoRed Hat:openshift:4.15::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debugsourceRed Hat:openshift:4.15::el9 |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswanRed Hat:enterprise_linux:9::appstream |
before 0:4.9-2.el9_2 | 0:4.9-2.el9_2 |
libreswan-debuginfoRed Hat:enterprise_linux:9::appstream |
before 0:4.9-2.el9_2 | 0:4.9-2.el9_2 |
libreswan-debugsourceRed Hat:enterprise_linux:9::appstream |
before 0:4.9-2.el9_2 | 0:4.9-2.el9_2 |
libreswanRed Hat:enterprise_linux:8::appstream |
before 0:4.9-2.el8_8.2 | 0:4.9-2.el8_8.2 |
libreswan-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:4.9-2.el8_8.2 | 0:4.9-2.el8_8.2 |
libreswan-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:4.9-2.el8_8.2 | 0:4.9-2.el8_8.2 |
libreswanRed Hat:rhel_e4s:9.0::appstream |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debuginfoRed Hat:rhel_e4s:9.0::appstream |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswan-debugsourceRed Hat:rhel_e4s:9.0::appstream |
before 0:4.6-3.el9_0.3 | 0:4.6-3.el9_0.3 |
libreswanUbuntu:18.04:LTS |
All versions, plus listed versions 3.20-7build13.21-23.22-13.22-23.22-33.22-43.23-13.23-4 |
None known |
libreswanUbuntu:20.04:LTS |
All versions, plus listed versions 3.29-23.29-2build1 |
None known |
libreswanUbuntu:22.04:LTS |
All versions, plus listed versions 3.32-3ubuntu3 |
None known |
libreswanUbuntu:24.04:LTS |
All versions, plus listed versions 4.11-1ubuntu14.12-1ubuntu14.14-1ubuntu14.14-1ubuntu2 |
None known |
libreswanUbuntu:25.10 |
All versions, plus listed versions 4.14-1ubuntu25.2-2.2ubuntu1 |
None known |
libreswanUbuntu:26.10 |
All versions, plus listed versions 5.2-2.2ubuntu2 |
None known |
libreswanUbuntu:26.04:LTS |
All versions, plus listed versions 5.2-2.2ubuntu15.2-2.2ubuntu2 |
None known |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | affected, aliases, references | OSV |
| 2026-11-02 | created | CVE List, EUVD, GitHub Advisories, NVD, OSV |
References
github.com/libreswan/libreswan/issues/954
debian.org/security/2023/dsa-5368
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MFOIQX2LRL43P3GJT33DE7G7COHNXDN
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CSMYJH7MC2FZGCY5NH5AXULO3ISXIHOF
nvd.nist.gov/vuln/detail/CVE-2023-23009
lists.fedoraproject.org/archives/list/[email protected]/message/2MFOIQX2LRL43P3GJT33DE7G7COHNXDN
Show 68 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/CSMYJH7MC2FZGCY5NH5AXULO3ISXIHOF
github.com/advisories/GHSA-3gxg-hfhr-6g9x
security.alpinelinux.org/vuln/CVE-2023-23009
access.redhat.com/errata/RHSA-2023:2633
access.redhat.com/security/cve/CVE-2023-23009
bugzilla.redhat.com/2173610
errata.almalinux.org/9/ALSA-2023-2633.html
access.redhat.com/errata/RHSA-2023:3095
errata.almalinux.org/8/ALSA-2023-3095.html
github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23009.json
security-tracker.debian.org/tracker/CVE-2023-23009
advisories.mageia.org/MGASA-2023-0089.html
bugs.mageia.org/show_bug.cgi?id=31636
libreswan.org/security/CVE-2023-23009/CVE-2023-23009.txt
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1150
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1151
access.redhat.com/errata/RHBA-2024:11505
security.access.redhat.com/data/csaf/v2/advisories/2025/rhba-2024_11505.json
access.redhat.com/security/cve/CVE-2023-2295
bugzilla.redhat.com/show_bug.cgi?id=2189777
cve.org/CVERecord?id=CVE-2023-2295
nvd.nist.gov/vuln/detail/CVE-2023-2295
bugzilla.redhat.com/show_bug.cgi?id=2173610
cve.org/CVERecord?id=CVE-2023-23009
access.redhat.com/security/cve/CVE-2023-30570
bugzilla.redhat.com/show_bug.cgi?id=2187165
cve.org/CVERecord?id=CVE-2023-30570
nvd.nist.gov/vuln/detail/CVE-2023-30570
libreswan.org/security
libreswan.org/security/CVE-2023-30570/CVE-2023-30570.txt
access.redhat.com/security/cve/CVE-2023-38710
bugzilla.redhat.com/show_bug.cgi?id=2225368
cve.org/CVERecord?id=CVE-2023-38710
nvd.nist.gov/vuln/detail/CVE-2023-38710
github.com/libreswan/libreswan/releases/tag/v4.12
libreswan.org/security/CVE-2023-38710/CVE-2023-38710.txt
access.redhat.com/security/cve/CVE-2023-38711
bugzilla.redhat.com/show_bug.cgi?id=2215952
cve.org/CVERecord?id=CVE-2023-38711
nvd.nist.gov/vuln/detail/CVE-2023-38711
libreswan.org/security/CVE-2023-38711/CVE-2023-38711.txt
access.redhat.com/security/cve/CVE-2023-38712
bugzilla.redhat.com/show_bug.cgi?id=2225369
cve.org/CVERecord?id=CVE-2023-38712
nvd.nist.gov/vuln/detail/CVE-2023-38712
libreswan.org/security/CVE-2023-38712/CVE-2023-38712.txt
access.redhat.com/security/cve/CVE-2024-2357
bugzilla.redhat.com/show_bug.cgi?id=2268952
cve.org/CVERecord?id=CVE-2024-2357
nvd.nist.gov/vuln/detail/CVE-2024-2357
github.com/libreswan/libreswan/commit/cb9e1047d33fde695d63a95854c2bc2470a476c8.patch
libreswan.org/security/CVE-2024-2357
access.redhat.com/security/cve/CVE-2024-3652
bugzilla.redhat.com/show_bug.cgi?id=2274448
cve.org/CVERecord?id=CVE-2024-3652
nvd.nist.gov/vuln/detail/CVE-2024-3652
libreswan.org/security/CVE-2024-3652
access.redhat.com/errata/RHBA-2024:11525
security.access.redhat.com/data/csaf/v2/advisories/2025/rhba-2024_11525.json
access.redhat.com/errata/RHBA-2024:11565
security.access.redhat.com/data/csaf/v2/advisories/2025/rhba-2024_11565.json
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_2633.json
bugzilla.redhat.com/show_bug.cgi?id=2187647
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_3095.json
access.redhat.com/errata/RHSA-2024:10594
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_10594.json
ubuntu.com/security/CVE-2023-23009