CVE-2026-47895 In strongSwan before 6.0.7, identity parsing/cloning is mishandled. Parsed EAP-Identities that result in an empty but non-NULL encoding are not correctly cloned and trigger a double-free once the dupl...
HighCVSS 7.5
EPSS 0.42%
- Published
- Updated
- Exploit status
- No public exploit known
Description
In strongSwan before 6.0.7, identity parsing/cloning is mishandled. Parsed EAP-Identities that result in an empty but non-NULL encoding are not correctly cloned and trigger a double-free once the duplicates are destroyed.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| strongSwan | >= 4.3.3, < 6.0.7 | 6.0.7 |
| debian/strongswan(Debian:12) | < 5.9.8-5+deb12u5 | 5.9.8-5+deb12u5 |
| debian/strongswan(Debian:14) | < 6.0.7-1 | 6.0.7-1 |
| debian/strongswan(Debian:13) | < 6.0.1-6+deb13u6 | 6.0.1-6+deb13u6 |
| debian/strongswan(Debian:12) | = 5.9.8-5 | No fix listed |
| debian/strongswan(Debian:12) | = 5.9.8-5+deb12u1 | No fix listed |
| debian/strongswan(Debian:12) | = 5.9.8-5+deb12u2 | No fix listed |
| debian/strongswan(Debian:12) | = 5.9.8-5+deb12u3 | No fix listed |
| debian/strongswan(Debian:12) | = 5.9.8-5+deb12u4 | No fix listed |
| debian/strongswan(Debian:13) | = 6.0.1-6 | No fix listed |
| debian/strongswan(Debian:13) | = 6.0.1-6+deb13u1 | No fix listed |
| debian/strongswan(Debian:13) | = 6.0.1-6+deb13u2 | No fix listed |
| debian/strongswan(Debian:13) | = 6.0.1-6+deb13u4 | No fix listed |
| debian/strongswan(Debian:13) | = 6.0.1-6+deb13u5 | No fix listed |
| debian/strongswan(Debian:14) | = 6.0.1-6 | No fix listed |
| debian/strongswan(Debian:14) | = 6.0.2-1 | No fix listed |
| debian/strongswan(Debian:14) | = 6.0.3-1 | No fix listed |
| debian/strongswan(Debian:14) | = 6.0.4-1 | No fix listed |
| debian/strongswan(Debian:14) | = 6.0.5-1 | No fix listed |
| debian/strongswan(Debian:14) | = 6.0.6-1 | No fix listed |
| ubuntu/strongswan(Ubuntu:22.04) | < 5.9.5-2ubuntu2.7 | 5.9.5-2ubuntu2.7 |
| alpine/strongswan(Alpine:v3.24) | < 6.0.7-r0 | 6.0.7-r0 |
| ubuntu/strongswan(Ubuntu:24.04) | < 5.9.13-2ubuntu4.24.04.4 | 5.9.13-2ubuntu4.24.04.4 |
| ubuntu/strongswan(Ubuntu:26.04) | < 6.0.4-1ubuntu3.1 | 6.0.4-1ubuntu3.1 |
| azure linux strongswan(Azure Linux:3.0) | All versions | No fix listed |
References
- www.strongswan.org
- github.com
- Debian Security Tracker CVE-2026-47895 vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8407-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory