Description
GPAC through 26.07.0 contains a type confusion vulnerability in PointSet2D_Draw() that allows attackers to crash the application by casting the PointSet2D color field to M_Color without checking the node tag. Attackers can craft an XMT/BIFS scene placing an incompatible node in the color field, causing an invalid pointer dereference and denial of service when processed by MP4Box.
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/4074 ↗
- https://github.com/gpac/gpac/commit/bdfe7c2ad1a4d57cbce17302249f0a1320f2ed9f ↗
- https://github.com/gpac/gpac/blob/v26.07.0/src/compositor/mpeg4_geometry_2d.c#L701-L716 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/227/227_PointSet2D_Draw_compositor_mpeg4_geometry_2d_c_719.xmt ↗
- https://github.com/gpac/gpac ↗
- https://www.vulncheck.com/advisories/gpac-through-26.07.0-type-confusion-in-pointset2d-draw ↗