Critical Security Flaw in Libreswan: Denial of Service Vulnerabilities

libreswan Updated 27 Jul 2026

Summary

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

ALSA-2026:46397: Important: libreswan security update. Affects libreswan versions < 4.15-10.el9_8. Fixed in 4.15-10.el9_8. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

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

Vulnerability Detail

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

How To Fix

Minimum fixed version

4.15-10.el9_8

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, consider disabling IKEv1 and IKEv2 protocols if they are not essential for your operations, or implement strict input validation to mitigate the risk of malformed packets causing disruptions.

Conclusion

The identified vulnerabilities in Libreswan pose significant risks to the availability and security of services relying on this package. It is crucial to apply the necessary updates promptly and consider workarounds to mitigate potential impacts until the update can be implemented.

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 channels over potentially insecure networks.

The vulnerabilities can lead to Denial of Service attacks, causing the Libreswan service to crash and become unavailable, which can disrupt secure communications.

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

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.

If immediate updates are not possible, consider implementing workarounds such as disabling vulnerable protocols or enhancing input validation to reduce risk.

Related vulnerabilities

Recent vulnerabilities recorded for libreswan.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

4.15-10.el9_8

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.