Skip to main content
No exploitation reportedFix available

CVE-2022-23094

No exploitation reported by the sources we read.

  • Published2022-01-15
  • Fixed in4.6
  • WeaknessCWE-476

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.

Timeline

dates in UTC
  1. 2022-01-1502:15CVE publishedNVD

Versions per branch

NVD
Libreswan
BranchAffectedFixed in
4.x≥ 4.2, < 4.64.6
Fedoraproject fedora
BranchAffectedFixed in
34.x= 34no fix published
35.x= 35no fix published
Debian debian linux
BranchAffectedFixed in
10.0= 10.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libreswanRocky Linux:8all versions · fixed in 0:4.4-4.el8_5
  • libreswanRed Hat:rhel_eus:8.4::appstreamall versions · fixed in 0:4.3-6.el8_4and 2 other packages
  • libreswanRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:4.4-4.el8_5and 2 other packages
  • libreswanopenEuler:22.03-LTSall versions · fixed in 4.5-2.oe2203
  • libreswanMageia:8all versions · fixed in 4.6-4.mga8
  • libreswanDebian:13all versions · fixed in 4.6-1
  • libreswanDebian:12all versions · fixed in 4.6-1
  • libreswanDebian:11all versions · fixed in 4.3-1+deb11u1

13 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-23094 Red Hat Product Security26 products fixed

    libreswan: Malicious IKEv1 packet can cause libreswan to restart

  • RHSA-2022:0239 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: libreswan security update

  • RHSA-2022:0199 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: libreswan security update

Full record on NVD

Fix

  1. Update Libreswan to 4.6
  2. Vendor fix Red Hat Product Security RHSA-2022:0239 · 13 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Workaround from the vendor Red Hat Product Security RHSA-2022:0239 · 13 productsIf all configured connections are using IKEv2, the IKEv1 subsystem can be disabled by adding the option ikev1-policy=drop to the "config setup" section of ipsec.conf. Alternatively, libreswan can be compiled with USE_IKEv1=false. If all remote peers are on static IP addresses, a firewall rule bloc…

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2022-01-15
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-m3gq-3gw9-x3fv

Frequently asked questions

What is CVE-2022-23094?

Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.

Is CVE-2022-23094 actively exploited?

Active exploitation of CVE-2022-23094 has not been confirmed. Its EPSS score was 2.6% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-23094?

CVE-2022-23094 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running libreswan? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record