Use After Free Affecting libreswan-debugsource package, versions <0:4.12-3.amzn2023.0.4


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.44% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-LIBRESWANDEBUGSOURCE-21701529
  • published25 Oct 2026
  • disclosed13 Oct 2026

Introduced: 13 Oct 2026

CVE-2026-94453  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 libreswan-debugsource to version 0:4.12-3.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2026-3253.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libreswan-debugsource package and not the libreswan-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1