Skip to main content

GPAC EUVDEUVD-2026-139652

| CVE-2026-140037 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-11-30 disclosure@vulncheck.com GHSA-v3x6-cw75-x57m
7.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted SDP file or RTSP DESCRIBE response
  2. Exploit
    Victim's GPAC parses oversized rtpmap payload type
  3. Execution
    sprintf overflows 10-byte stack buffer in SDP_IsDynamicPayload()
  4. Impact
    GPAC process crashes (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires GPAC to parse attacker-controlled SDP data containing an a=rtpmap line whose payload type is out of range (including negative values that format to more than 10 characters). The two concrete delivery paths named in the sources are opening a crafted SDP file (e.g., via MP4Box) or GPAC acting as an RTSP client that receives a malicious DESCRIBE response. Limiting factors: passive user interaction is required (UI:P) - the victim must open the file or initiate the RTSP session; the impact is confined to availability (process crash / denial of service) with no confidentiality or integrity effect and no demonstrated code execution; and only versions through 26.07.0 are affected, the issue being fixed by commit 496ac94c5f06a3d05e0d05c0fa6876b47530484a.

Impact

This is a memory-safety denial-of-service flaw in GPAC's SDP parser, and the signals converge on moderate - not critical - priority. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) and score of 7.1 reflect an availability-only impact: confidentiality and integrity are explicitly N, so there is no indication of code execution despite the stack-buffer-overflow class (CWE-121). The commit evidence confirms the mechanism: a 10-byte stack buffer filled via sprintf("%d", PayloadType) can be overrun by an out-of-range (including negative) payload type, and the fix enlarges the buffer to 11 and switches to snprintf("%u"). Exploitation is not autonomous - UI:P means a victim must process attacker-supplied input (open a crafted SDP file or initiate an RTSP session against a malicious server). On exploitation status there is a public PoC reference exists; it is not verified as working exploit code, there is no CISA KEV listing, and no EPSS score was provided, so there is no evidence of widespread or automated exploitation. The vuln.today Decision label is this_week, consistent with a patch-this-week rather than emergency posture. No EPSS value was supplied, which limits confidence in exploitation-probability estimates.

Exploit ScenarioDerived

An attacker hosts a malicious RTSP server (or distributes a crafted .sdp file) whose media description contains an a=rtpmap line with an out-of-range or negative payload type. When a victim opens the file in a GPAC tool such as MP4Box, or when GPAC acts as an RTSP client and receives the crafted DESCRIBE response, SDP_IsDynamicPayload() formats the oversized value into a 10-byte stack buffer and overflows it, crashing the process. A public PoC SDP reference exists but is not verified as working exploit code, and the confirmed impact is denial of service only.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

Denial of service in GPAC through 26.07.0, where the SDP parser's SDP_IsDynamicPayload() routine formats an a=rtpmap payload type into a fixed 10-byte stack buffer, so out-of-range payload values (including negative numbers that render as 11 or more characters) overflow the buffer and crash the process. Targets are GPAC builds up to and including 26.07.0 used to open crafted SDP files (for example through MP4Box) or acting as an RTSP client that receives a malicious DESCRIBE response; unauthenticated remote delivery is possible but requires the victim to open the file or initiate the session. Impact is availability-only (process crash) with no demonstrated code execution, exploitation is not confirmed in the wild, and a public PoC reference exists; it is not verified as working exploit code.

RemediationAI

Apply the upstream fix in commit 496ac94c5f06a3d05e0d05c0fa6876b47530484a (https://github.com/gpac/gpac/commit/496ac94c5f06a3d05e0d05c0fa6876b47530484a), which resizes the stack buffer from 10 to 11 bytes and switches sprintf to snprintf with a %u conversion; this is an upstream commit-level fix, so a tagged GPAC release containing it was not independently confirmed at time of analysis - verify the commit is present in the build you deploy, or rebuild from a source revision that includes it. Where an immediate rebuild is not possible, remove exposure of the SDP parsing path: avoid feeding untrusted .sdp files to MP4Box or other GPAC tools, and do not point GPAC's RTSP client at untrusted or attacker-controllable RTSP servers, since a malicious DESCRIBE response reaches the same code; the trade-off is loss of functionality for legitimate SDP-driven workflows rather than a complete fix. Builds compiled with streaming support disabled (the GPAC_DISABLE_STREAMING configuration used to guard the SDP unit tests) do not exercise this parser, at the cost of losing RTP/RTSP/SDP streaming features entirely. Track https://github.com/gpac/gpac/issues/4081 and the advisory at https://www.vulncheck.com/advisories/gpac-through-26.07.0-stack-based-buffer-overflow-via-sdp-isdynamicpayload for updated fixed-release information.

Affected VersionsENISA

GPAC 0 ≤26.07.0

Affected Packages

euvd gpac no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GPAC's src/ietf/sdp.c implements SDP (Session Description Protocol) parsing for its streaming stack. When resolving whether an RTP payload type is a dynamic one, SDP_IsDynamicPayload() converts the numeric payload type from the media line and its a=rtpmap attribute into text using sprintf() into a stack buffer declared as char buf[10]. Because a 32-bit payload type can render as ten decimal digits plus a terminating NUL, and because signed out-of-range or negative values such as -2147483648 or -1 (printed as 4294967295) render even longer, the conversion writes past the end of the buffer - the classic CWE-121 stack-based buffer overflow pattern. The upstream fix (commit 496ac94c5f06a3d05e0d05c0fa6876b47530484a) enlarges the buffer to 11 bytes with the explicit comment 'u32 decimal digits and terminating NUL' and replaces sprintf with snprintf(buf, sizeof(buf), "%u", ...), and adds unit tests covering malformed rtpmap payloads from issue #4081 including '10999999999N99999999999'd', '-2147483648' and '-1'. The flaw is reachable both through a crafted SDP file parsed locally and through a malicious RTSP DESCRIBE response handled by GPAC's RTSP client, so any deployment that ingests SDP from untrusted sources exercises the vulnerable path.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

SDP can arrive over the network via an RTSP response (AV:N) with no privileges, but the victim must open the file or start the session (UI:R); impact is availability-only crash, so C:N/I:N/A:H.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

GPAC through 26.07.0 contains a stack-based buffer overflow in SDP_IsDynamicPayload() in src/ietf/sdp.c that allows attackers to overflow a 10-byte stack buffer via out-of-range rtpmap payload types. Attackers can supply a crafted SDP file or malicious RTSP DESCRIBE response with an oversized a=rtpmap payload type to crash GPAC, causing denial of service.

Technical POC Analysis

Evidence caveat up front: the supplied artifact is a fuzzer regression input, not a patch.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

GPAC media processing software versions up to 26.07.0 contain a high-severity denial-of-service flaw that can crash applications when parsing malicious SDP data, potentially disrupting media workflows that rely on GPAC. Teams using GPAC for automated or client-facing media handling may face service interruptions, but the risk is contained to availability and requires user interaction or an initiated session.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting GPAC processing to trusted SDP and RTSP sources, validating payload types before parsing, isolating GPAC processes in sandboxed environments, and monitoring for crashes.

Threat Intelligence Overview

EPSS Score
0.6%
Top 52% exploitable
Prevalence
Medium
GPAC/MP4Box is a common open-source multimedia toolkit, not universally deployed
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

57
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy