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
Tools/GitHubGitHub/johanneslks/cve-2026-35333
Vulnerability AnalysisExploitationFuzzingNetwork SecurityPenetration Testing
GitHubjohanneslks/cve-2026-35333

CVE-2026-35333

CVE-2026-35333: strongSwan RADIUS attribute iterator infinite loop PoC

View Repository
326 months agoNot yet reviewed
Website
Share

CVE-2026-35333

strongSwan RADIUS attribute-iterator pre-auth infinite loop / remote DoS.

Description

attribute_enumerate() in src/libradius/radius_message.c:247-271 accepts RADIUS attributes whose length byte is smaller than sizeof(rattr_t) (2). For length == 0:

  • data->len = next->length - sizeof(rattr_t) underflows to (size_t)-2
  • this->left -= next->length is left -= 0 — counter never decreases
  • this->next += next->length is next += 0 — pointer never advances

The enumerator returns the same bogus attribute every iteration, hanging the caller's while (enumerate(...)) loop.

The DAE receive callback in eap_radius_dae.c calls request->verify(..., NULL, secret, ...) before dispatching on the RADIUS code. For code == Access-Request, verify() skips the Response-Authenticator MD5 check and walks the attribute enumerator to find Message-Authenticator — so the zero-length attribute traps the parser before the shared secret is checked. The attack is unauthenticated.

One UDP packet pegs a charon worker thread at 100% CPU forever. Repeat N times to exhaust all N worker threads.

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

Usage

python3 poc.py --target <charon-host> --port 3799

Requirements

  • Target: strongSwan charon with eap-radius plugin loaded and dae.enable = yes (UDP/3799 listener)
  • Attacker: network reachability to UDP/3799, Python 3 (stdlib only)

References

  • https://www.johannes-moeller.dev/blog/cve-2026-35333-strongswan-libradius
  • https://github.com/strongswan/strongswan/commit/e067d24293
  • https://nvd.nist.gov/vuln/detail/CVE-2026-35333

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

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.

    927
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    555
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    360
  • 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.

    357
  • 5

    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.

    324
  • 6

    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.

    289

Explore all tools

Browse our collection of tools

View all tools →