Skip to content
Heist/ feed
Back to feed
High

libreswan — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-94453

Libreswan's pluto daemon has a use-after-free vulnerability when a client connecting using IKE over TCP closes the connection and another packet (retransmit or malicious) is received for the same tuple. IKE state is retained in memory after the client closes the connection, storing a pointer to iface_endpoint inside ike_sa.sa->st_iface_endpoint. Once this invalid pointer is used, the daemon crashes and restarts. This vulnerability can be triggered before the remote peer has authenticated itself. Continued exploitation can lead to a denial of service. Remote code execution could be possible. The IKE over TCP option is not enabled by default; only configurations that contain listen-tcp=yes are affected.

Products
libreswan
Affected versions
3.20-7build1, 3.21-2, 3.22-1, 3.22-2, 3.22-3, 3.22-4, 3.23-1, 3.23-4, 3.29-2, 3.29-2build1, 3.32-3ubuntu3, 4.11-1ubuntu1, 4.12-1ubuntu1, 4.14-1ubuntu1, 4.14-1ubuntu2, 5.2-2.2ubuntu1, 5.2-2.2ubuntu2
Fixed versions
Not specified
CVEs
CVE-2026-94453
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:33 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-94453

core-osv · Original source

Published 13 Oct 2026, 22:19 UTC

Libreswan's pluto daemon has a use-after-free vulnerability when a client connecting using IKE over TCP closes the connection and another packet (retransmit or malicious) is received for the same tuple. IKE state is retained in memory after the client closes the connection, storing a pointer to iface_endpoint inside ike_sa.sa->st_iface_endpoint. Once this invalid pointer is used, the daemon crashes and restarts. This vulnerability can be triggered before the remote peer has authenticated itself. Continued exploitation can lead to a denial of service. Remote code execution could be possible. The IKE over TCP option is not enabled by default; only configurations that contain listen-tcp=yes are affected.

osv:UBUNTU-CVE-2026-94453

libreswan

Fixed versions: Not specified

libreswan

Fixed versions: Not specified

libreswan

Fixed versions: Not specified

libreswan

Fixed versions: Not specified

libreswan

Fixed versions: Not specified

libreswan

Fixed versions: Not specified

Complete source record
{
  "id": "8d5626d7317141c137f54a3c865c5174f4eae0b502f1f7dbf3f69533a61e2f02",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-94453",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-94453",
    "summary": "Libreswan's pluto daemon has a use-after-free vulnerability when a client connecting using IKE over TCP closes the connection and another packet (retransmit or malicious) is received for the same tuple. IKE state is retained in memory after the client closes the connection, storing a pointer to iface_endpoint inside ike_sa.sa->st_iface_endpoint. Once this invalid pointer is used, the daemon crashes and restarts. This vulnerability can be triggered before the remote peer has authenticated itself. Continued exploitation can lead to a denial of service. Remote code execution could be possible. The IKE over TCP option is not enabled by default; only configurations that contain listen-tcp=yes are affected.",
    "evidence": "osv:UBUNTU-CVE-2026-94453",
    "products": [
      {
        "name": {
          "value": "libreswan",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.20-7build1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.21-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.22-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.22-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.22-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.22-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.23-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.23-4",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libreswan",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.29-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.29-2build1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libreswan",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.32-3ubuntu3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libreswan",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.11-1ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.12-1ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.14-1ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.14-1ubuntu2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libreswan",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.2-2.2ubuntu2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libreswan",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.2-2.2ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "5.2-2.2ubuntu2",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-94453",
      "aliases": [
        "UBUNTU-CVE-2026-94453"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libreswan",
            "purl": "pkg:deb/ubuntu/libreswan?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "3.20-7build1",
            "3.21-2",
            "3.22-1",
            "3.22-2",
            "3.22-3",
            "3.22-4",
            "3.23-1",
            "3.23-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-94453.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libreswan",
                "binary_version": "3.23-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libreswan",
            "purl": "pkg:deb/ubuntu/libreswan?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "3.29-2",
            "3.29-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-94453.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libreswan",
                "binary_version": "3.29-2build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libreswan",
            "purl": "pkg:deb/ubuntu/libreswan?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "3.32-3ubuntu3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-94453.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libreswan",
                "binary_version": "3.32-3ubuntu3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libreswan",
            "purl": "pkg:deb/ubuntu/libreswan?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "4.11-1ubuntu1",
            "4.12-1ubuntu1",
            "4.14-1ubuntu1",
            "4.14-1ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-94453.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libreswan",
                "binary_version": "4.14-1ubuntu2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libreswan",
            "purl": "pkg:deb/ubuntu/libreswan?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "5.2-2.2ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-94453.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libreswan",
                "binary_version": "5.2-2.2ubuntu2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libreswan",
            "purl": "pkg:deb/ubuntu/libreswan?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "5.2-2.2ubuntu1",
            "5.2-2.2ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-94453.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libreswan",
                "binary_version": "5.2-2.2ubuntu2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:18.988773080Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-94453"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-94453",
        "https://www.cve.org/CVERecord?id=CVE-2026-94453",
        "https://libreswan.org/security/CVE-2026-94453/",
        "https://libreswan.org/security/CVE-2026-94453/CVE-2026-94453.txt"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-94453",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 361648,
  "published_at": "2026-10-13T22:19:00+00:00"
}