Allocation of Resources Without Limits or Throttling Affecting github.com/pion/interceptor/internal/rtpbuffer package, versions >=0.1.36 <0.1.39


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMPIONINTERCEPTORINTERNALRTPBUFFER-10336039
  • published10 Jun 2025
  • disclosed9 Jun 2025
  • creditKostya Vasilyev

Introduced: 9 Jun 2025

NewCVE-2025-49140  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade github.com/pion/interceptor/internal/rtpbuffer to version 0.1.39 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through handling of RTP packets in the NewPacket function of packet_factory.go. An attacker can trigger a panic in the system by sending malformed RTP packets containing a padding size that exceeds the payload size.

Workaround

At the application layer, reject any RTP packet where: hasPadding (P-bit field) == true && (padLen == 0 || padLen > packetLen – headerLen) before passing it to Pion’s packet factories.

CVSS Base Scores

version 4.0
version 3.1