Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-35330 — CVE-2026-35330: strongSwan EAP-SIM/AKA heap overflow PoC | Kitploit
Tools/GitHubGitHub/johanneslks/cve-2026-35330
Vulnerability AnalysisExploitationFuzzingPenetration TestingLearning & EducationBinary Exploitation
GitHubjohanneslks/cve-2026-35330

CVE-2026-35330

CVE-2026-35330: strongSwan EAP-SIM/AKA heap overflow PoC

View Repository
446 months agoNot yet reviewed
Website

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    602
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    392
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    319
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    293
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    AI powered OSINT engine to discover and map 7,700+ social media identities across the web

    253

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-35330

strongSwan EAP-SIM / EAP-AKA attribute parser pre-auth heap buffer overflow via integer underflow.

Description

parse_attributes() in src/libsimaka/simaka_message.c:419 reads TLV headers whose length byte counts 4-byte words. For the AT_RAND / AT_ENCR_DATA branch:

if (hdr->length * 4 > in.len || in.len < 4)
    return invalid_length(hdr->type);
data = chunk_create(in.ptr + 4, hdr->length * 4 - 4);

When hdr->length == 0, hdr->length * 4 - 4 underflows to (size_t)0xFFFFFFFFFFFFFFFC. The subsequent add_attribute() calls malloc(sizeof(attr_t) + len) and memcpy(..., data.ptr, len) with that near-SIZE_MAX length — ASan stops the OOB memcpy inside libsimaka.so (negative-size-param).

The crash is reached from simaka_message_create_from_payload(...) followed by msg->parse(msg). No authentication is required; the EAP-SIM/AKA dispatcher parses the payload before any peer credential check.

Affected: strongSwan <= 5.9.13. Fixed in upstream master commit aa5aaebc33 (2026-04-21).

Usage

gcc -fsanitize=address -g -O0 poc.c -lsimaka -lstrongswan -o poc
./poc

The PoC links against the installed libsimaka.so and libstrongswan.so and calls the public API directly. Headers from the strongSwan development package are required (-I/usr/include is usually sufficient when libstrongswan-dev is installed).

Requirements

  • Target: strongSwan libsimaka.so <= 5.9.13 (built from upstream tarball; some distros backport fixes)
  • Toolchain: gcc with AddressSanitizer support

References

  • https://www.johannes-moeller.dev/blog/cve-2026-35330-strongswan-libsimaka
  • https://github.com/strongswan/strongswan/commit/aa5aaebc33
  • https://nvd.nist.gov/vuln/detail/CVE-2026-35330

Legal Notice

This project is released under the GNU GPLv3.

It is provided for defensive security research, education, and authorized testing. Do not use this code against systems or services without explicit permission from the owner.

Unauthorized use may violate applicable law. The authors do not grant permission to test third-party systems and are not responsible for misuse.

See the LICENSE file for warranty and liability terms.

Download Tool