Stack-based Buffer Overflow Affecting gpac/gpac package, versions [,26.02.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.25% (17th 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 IDSNYK-UNMANAGED-GPACGPAC-15683820
  • published18 Mar 2026
  • disclosed15 Mar 2026
  • creditUnknown

Introduced: 15 Mar 2026

CVE-2026-4185  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade gpac/gpac to version 26.02.0 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the swf_def_bits_jpeg() function in the MP4Box component when processing the szName argument. An attacker can execute arbitrary code or cause a denial of service by supplying a specially crafted input.

CVSS Base Scores

version 4.0
version 3.1