CVE-2026-54909: CWE-20: Improper Input Validation in pion stun
pion/stun is a Go implementation of STUN. Prior to 3.1.3, XORMappedAddress.GetFromAs can panic while parsing a malformed short XOR-MAPPED-ADDRESS attribute in STUN or ICE Binding-response parsing paths, allowing remote denial of service. This issue is fixed in version 3.1.3.
AI Analysis
Technical Summary
The vulnerability CVE-2026-54909 affects pion/stun versions before 3.1.3. It involves improper input validation (CWE-20) in the XORMappedAddress.GetFromAs function. When processing a malformed short XOR-MAPPED-ADDRESS attribute in STUN or ICE Binding-response messages, the function can panic, causing a denial of service. This vulnerability allows an unauthenticated remote attacker to cause a crash of the affected software. The issue has been resolved in version 3.1.3.
Potential Impact
An attacker can cause a denial of service by sending a malformed short XOR-MAPPED-ADDRESS attribute in STUN or ICE Binding-response messages, which triggers a panic in the vulnerable function. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Upgrade to pion/stun version 3.1.3 or later, where this issue has been fixed. No other mitigation is indicated.
CVE-2026-54909: CWE-20: Improper Input Validation in pion stun
Description
pion/stun is a Go implementation of STUN. Prior to 3.1.3, XORMappedAddress.GetFromAs can panic while parsing a malformed short XOR-MAPPED-ADDRESS attribute in STUN or ICE Binding-response parsing paths, allowing remote denial of service. This issue is fixed in version 3.1.3.
CVSS v3.1
Score 5.3medium
Affected software
pion
stun
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-54909 affects pion/stun versions before 3.1.3. It involves improper input validation (CWE-20) in the XORMappedAddress.GetFromAs function. When processing a malformed short XOR-MAPPED-ADDRESS attribute in STUN or ICE Binding-response messages, the function can panic, causing a denial of service. This vulnerability allows an unauthenticated remote attacker to cause a crash of the affected software. The issue has been resolved in version 3.1.3.
Potential Impact
An attacker can cause a denial of service by sending a malformed short XOR-MAPPED-ADDRESS attribute in STUN or ICE Binding-response messages, which triggers a panic in the vulnerable function. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Upgrade to pion/stun version 3.1.3 or later, where this issue has been fixed. No other mitigation is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-16T13:49:33.556Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a6d22c5bf32cb7a34714852
Added to database: 07/31/2026, 22:33:41 UTC
Last enriched: 08/08/2026, 14:28:21 UTC
Last updated: 09/14/2026, 22:01:35 UTC
Views: 63
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.