Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
gpac gpac
Default version status: unaffected
0 to ≤ 26.07.0affected
pkg:github/gpac/gpacReferences
- https://github.com/gpac/gpac/issues/4081 ↗
- https://github.com/gpac/gpac/commit/496ac94c5f06a3d05e0d05c0fa6876b47530484a ↗
- https://github.com/gpac/gpac/blob/v26.07.0/src/ietf/sdp.c#L437-L446 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/234/234_SDP_IsDynamicPayload_ietf_sdp_c_450.sdp ↗
- https://github.com/gpac/gpac ↗
- https://www.vulncheck.com/advisories/gpac-through-26.07.0-stack-based-buffer-overflow-via-sdp-isdynamicpayload ↗