CVE-2026-78127
Received Received - Intake

Memory Leak in strongSwan IKE Message Parser

Vulnerability report for CVE-2026-78127, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-11

Last updated on: 2026-09-11

Assigner: MITRE

Description

libcharon in strongSwan 4.1.2 through 6.0.7 has a missing release of memory after its effective lifetime in the IKE message parser.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-11
Last Modified
2026-09-11
Generated
2026-09-11
AI Q&A
2026-09-11
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
strongswan strongswan From 4.1.2 (inc) to 6.0.7 (inc)
strongswan strongswan 6.1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in strongSwan (CVE-2026-78127) is a memory leak in the libcharon component during IKE message parsing. When libcharon tries to log an IKE message, it fails to release memory allocated for enumerators if the buffer space is exhausted. This causes a small memory leak of up to 80 bytes per message (40 bytes in older versions).

Detection Guidance

Monitor system memory usage for unusual exhaustion patterns during IKE message processing. Check strongSwan logs for failed memory allocations or enumerator leaks. Use tools like 'top' or 'htop' to observe memory consumption by strongSwan processes.

Impact Analysis

An attacker can exploit this by sending specially crafted IKE messages to cause memory exhaustion, leading to a denial of service. While strongSwan's DoS protection slows this down, it may still occur on systems with limited memory. Remote code execution is not possible.

Compliance Impact

This vulnerability primarily causes a denial of service through memory exhaustion, which could disrupt services handling sensitive data. While it does not directly lead to data breaches, prolonged service disruption may impact compliance with GDPR or HIPAA by affecting availability of systems processing personal or health information. However, no evidence suggests this flaw enables unauthorized data access or disclosure.

Mitigation Strategies

Upgrade to strongSwan 6.1.0 or apply vendor-provided patches for older versions. Disable debugging levels 1 and higher during compilation to prevent memory leaks from enumerator exhaustion.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-78127. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart