Skip to main content
EPSS 0.4%top 69%

CVE-2026-54909: CWE-20: Improper Input Validation in pion stun

0
Medium
Published: 07/31/2026 (07/31/2026, 22:03:53 UTC)
Source: CVE Database V5
Vendor/Project: pion
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

pion

stun

Affected versions
<3.1.3
github.com/pion/stun
pkg:golang/github.com/pion/stun
Affected versions
<3.1.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 14:28:21 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses