{"schema_version":"1.7.3","id":"GHSA-f26w-gh5m-qq77","published":"2025-06-09T20:29:40Z","modified":"2026-02-04T04:39:17.512231Z","aliases":["CVE-2025-49140","GO-2025-3748"],"related":["CGA-2w33-3pvq-h8gp"],"summary":"Pion Interceptor's improper RTP padding handling allows remote crash for SFU users (DoS)","details":"### Impact\nPion Interceptor versions v0.1.36 through v0.1.38 contain a bug in a RTP packet factory that can be exploited to trigger a panic with Pion based SFU via crafted RTP packets, This only affect users that use pion/interceptor.\n\n### Patches\n\nUpgrade to v0.1.39 or later, which includes PR [#338](https://github.com/pion/interceptor/pull/338) which validates that: `padLen > 0 && padLen <= payloadLength` and return error  on overflow, avoiding panic.\n\nIf upgrading is not possible, apply the patch from the pull request manually or drop packets whose P-bit is set but whose padLen is zero or larger than the remaining payload.\n\n### Workarounds\nAt the application layer, reject any RTP packet where:\n```\nhasPadding (P-bit field) == true  &&  (padLen == 0 || padLen > packetLen – headerLen)\n```\n\nbefore passing it to Pion’s packet factories.\n\n### References\nCommit fixing the bug: https://github.com/pion/interceptor/commit/fa5b35ea867389cec33a9c82fffbd459ca8958e5\nPull request: https://github.com/pion/interceptor/pull/338\nIssue: https://github.com/pion/webrtc/issues/3148","affected":[{"package":{"name":"github.com/pion/interceptor","ecosystem":"Go","purl":"pkg:golang/github.com/pion/interceptor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.36"},{"fixed":"0.1.39"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-f26w-gh5m-qq77/GHSA-f26w-gh5m-qq77.json"}}],"references":[{"type":"WEB","url":"https://github.com/pion/interceptor/security/advisories/GHSA-f26w-gh5m-qq77"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49140"},{"type":"WEB","url":"https://github.com/pion/webrtc/issues/3148"},{"type":"WEB","url":"https://github.com/pion/interceptor/pull/338"},{"type":"WEB","url":"https://github.com/pion/interceptor/commit/fa5b35ea867389cec33a9c82fffbd459ca8958e5"},{"type":"PACKAGE","url":"https://github.com/pion/interceptor"}],"database_specific":{"cwe_ids":["CWE-770"],"github_reviewed":true,"github_reviewed_at":"2025-06-09T20:29:40Z","nvd_published_at":"2025-06-09T22:15:22Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}