libreswan up to 5.3/5.3.0 reassemble_v2_incoming_fragments digest_roof off-by-one
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, has been found in libreswan up to 5.3/5.3.0. Affected by this vulnerability is the function reassemble_v2_incoming_fragments. The manipulation of the argument digest_roof leads to off-by-one.
This vulnerability is listed as CVE-2026-12413. The attack may be initiated remotely. There is no available exploit.
It is advisable to upgrade the affected component.
Details
A vulnerability, which was classified as problematic, has been found in libreswan up to 5.3/5.3.0. This issue affects the function reassemble_v2_incoming_fragments. The manipulation of the argument digest_roof with an unknown input leads to a off-by-one vulnerability. Using CWE to declare the problem leads to CWE-193. A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value. Impacted is availability. The summary by CVE is:
An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart. Continued exploitation would cause a denial of service. The function reassemble_v2_incoming_fragments() would ignore unknown outer payloads but still store these in a fixed size array msg_digest.digest[PAYLIMIT]. An off-by-one error in the assertion PASSERT(logger, md->digest_roof < elemsof(md->digest)) causes the daemon to abort. No remote code execution is possible. Any configuration that allows IKEv2 connections that do not set fragmentation=no are vulnerable. IKEv1 is not affected.
The weakness was presented by Hu Xinyao. The advisory is shared at libreswan.org. The identification of this vulnerability is CVE-2026-12413 since 06/16/2026. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 330094 (RHEL 10 : libreswan (RHSA-2026:46398)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 5.3.1 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (330094) and CERT Bund (WID-SEC-2026-2518). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Affected
- Red Hat Enterprise Linux
- RESF Rocky Linux
- Oracle Linux
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.5
CNA Vector (libreswan): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Off-by-oneCWE: CWE-193 / CWE-189
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 330094
Nessus Name: RHEL 10 : libreswan (RHSA-2026:46398)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: libreswan 5.3.1
Timeline
06/16/2026 CVE reserved07/03/2026 Advisory disclosed
07/03/2026 VulDB entry created
09/08/2026 VulDB entry last update
Sources
Advisory: libreswan.orgResearcher: Hu Xinyao
Status: Confirmed
CVE: CVE-2026-12413 (🔒)
GCVE (CVE): GCVE-0-2026-12413
GCVE (VulDB): GCVE-100-376013
CERT Bund: WID-SEC-2026-2518 - Red Hat Enterprise Linux (libreswan): Mehrere Schwachstellen ermöglichen Denial of Service
Entry
Created: 07/03/2026 06:19Updated: 09/08/2026 16:39
Changes: 07/03/2026 06:19 (64), 07/04/2026 22:37 (1), 07/27/2026 19:53 (2), 09/08/2026 16:39 (7)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.