Critical Security Flaw in Libreswan: Denial of Service Vulnerabilities and Assertion Failures

libreswan Updated 27 Jul 2026

Summary

27/07/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:46396: Important: libreswan security update. Affects libreswan versions < 4.12-2.el8_10.6. Fixed in 4.12-2.el8_10.6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Libreswan is a robust implementation of IPsec and IKE protocols for Linux, designed to provide secure communication over untrusted networks, such as VPNs. It employs strong cryptographic techniques to ensure both authentication and encryption, making it a vital component for secure data transmission. However, recent vulnerabilities have been identified that could compromise its reliability and security.

Vulnerability Detail

The vulnerabilities in Libreswan include multiple Denial of Service (DoS) issues stemming from improper handling of authentication payloads and malformed data. Specifically, CVE-2026-50721 and CVE-2026-50722 expose the system to DoS attacks via RSA-SHA1 authentication payloads in IKEv1 and IKEv2, respectively. Additionally, CVE-2026-12413 allows for DoS through malformed fragmentation, while CVE-2026-14957 can lead to assertion failures and crashes due to badly formatted X.509 certificates. These vulnerabilities could lead to service disruptions and potential unauthorized access to sensitive data.

How To Fix

Minimum fixed version

4.12-2.el8_10.6

This is the first release that contains the fix.

sudo dnf update libreswan

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can limit access to the Libreswan service or implement firewall rules to restrict traffic until the update is applied. However, this is not a permanent solution and should be followed by an update as soon as possible.

Conclusion

The identified vulnerabilities in Libreswan pose significant risks, including potential Denial of Service attacks and service disruptions. It is crucial to update to the latest patched version to ensure the security and reliability of your systems. Regular monitoring and vulnerability assessments are recommended to maintain a secure environment.

See every vulnerability recorded for libreswan →

Share this vulnerability

FAQ

Libreswan is an open-source implementation of IPsec and IKE for Linux, providing secure communication over potentially untrusted networks.

The main vulnerabilities include Denial of Service attacks via RSA-SHA1 authentication payloads and assertion failures due to malformed X.509 certificates.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If an immediate update is not possible, consider implementing firewall rules to restrict access to the service as a temporary workaround.

For more details, refer to the CVE pages linked in the advisory, which provide in-depth information about the vulnerabilities and their impacts.

Related vulnerabilities

Recent vulnerabilities recorded for libreswan.

How To Fix

Minimum fixed version

4.12-2.el8_10.6

This is the first release that contains the fix.

sudo dnf update libreswan

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback