{"id":"UBUNTU-CVE-2025-7797","details":"A vulnerability was found in GPAC up to 2.4. It has been rated as problematic. Affected by this issue is the function gf_dash_download_init_segment of the file src/media_tools/dash_client.c. The manipulation of the argument base_init_url leads to null pointer dereference. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The patch is identified as 153ea314b6b053db17164f8bc3c7e1e460938eaa. It is recommended to apply a patch to fix this issue.","modified":"2026-04-22T16:16:59.238697Z","published":"2025-07-18T18:15:00Z","upstream":["CVE-2025-7797"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-7797"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-7797"},{"type":"REPORT","url":"https://github.com/gpac/gpac/commit/153ea314b6b053db17164f8bc3c7e1e460938eaa"},{"type":"REPORT","url":"https://drive.google.com/file/d/1Z-C6RajpZ40ujo1iGNt3_mG855mPbs1Q/view?usp=share_link"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.316862"},{"type":"REPORT","url":"https://vuldb.com/?id.316862"},{"type":"REPORT","url":"https://vuldb.com/?submit.616664"}],"affected":[{"package":{"name":"gpac","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/gpac@0.5.0+svn4288~dfsg1-4ubuntu1+esm2?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0+svn4288~dfsg1-1ubuntu1","0.5.0+svn4288~dfsg1-4","0.5.0+svn4288~dfsg1-4ubuntu1","0.5.0+svn4288~dfsg1-4ubuntu1+esm1","0.5.0+svn4288~dfsg1-4ubuntu1+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5.0+svn4288~dfsg1-4ubuntu1+esm2","binary_name":"gpac"},{"binary_version":"0.5.0+svn4288~dfsg1-4ubuntu1+esm2","binary_name":"gpac-modules-base"},{"binary_version":"0.5.0+svn4288~dfsg1-4ubuntu1+esm2","binary_name":"libgpac2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7797.json"}},{"package":{"name":"gpac","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/gpac@0.5.2-426-gc5ad4e4+dfsg5-1ubuntu0.1+esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-426-gc5ad4e4+dfsg5-1build1","0.5.2-426-gc5ad4e4+dfsg5-1ubuntu0.1","0.5.2-426-gc5ad4e4+dfsg5-1ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5.2-426-gc5ad4e4+dfsg5-1ubuntu0.1+esm2","binary_name":"gpac"},{"binary_version":"0.5.2-426-gc5ad4e4+dfsg5-1ubuntu0.1+esm2","binary_name":"gpac-modules-base"},{"binary_version":"0.5.2-426-gc5ad4e4+dfsg5-1ubuntu0.1+esm2","binary_name":"libgpac4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7797.json"}},{"package":{"name":"gpac","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/gpac@0.5.2-426-gc5ad4e4+dfsg5-3ubuntu0.1+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-426-gc5ad4e4+dfsg5-3","0.5.2-426-gc5ad4e4+dfsg5-3ubuntu0.1","0.5.2-426-gc5ad4e4+dfsg5-3ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5.2-426-gc5ad4e4+dfsg5-3ubuntu0.1+esm1","binary_name":"gpac"},{"binary_version":"0.5.2-426-gc5ad4e4+dfsg5-3ubuntu0.1+esm1","binary_name":"gpac-modules-base"},{"binary_version":"0.5.2-426-gc5ad4e4+dfsg5-3ubuntu0.1+esm1","binary_name":"libgpac4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7797.json"}},{"package":{"name":"gpac","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/gpac@0.5.2-426-gc5ad4e4+dfsg5-5ubuntu0.1~esm2?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-426-gc5ad4e4+dfsg5-4ubuntu1","0.5.2-426-gc5ad4e4+dfsg5-5","0.5.2-426-gc5ad4e4+dfsg5-5ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5.2-426-gc5ad4e4+dfsg5-5ubuntu0.1~esm2","binary_name":"gpac"},{"binary_version":"0.5.2-426-gc5ad4e4+dfsg5-5ubuntu0.1~esm2","binary_name":"gpac-modules-base"},{"binary_version":"0.5.2-426-gc5ad4e4+dfsg5-5ubuntu0.1~esm2","binary_name":"libgpac4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7797.json"}},{"package":{"name":"gpac","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/gpac@2.0.0+dfsg1-2ubuntu0.1~esm2?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.1+dfsg1-4","1.0.1+dfsg1-5","2.0.0+dfsg1-2","2.0.0+dfsg1-2ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0+dfsg1-2ubuntu0.1~esm2","binary_name":"gpac"},{"binary_version":"2.0.0+dfsg1-2ubuntu0.1~esm2","binary_name":"gpac-modules-base"},{"binary_version":"2.0.0+dfsg1-2ubuntu0.1~esm2","binary_name":"libgpac11"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7797.json"}},{"package":{"name":"gpac","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/gpac@2.2.1+dfsg1-3.1ubuntu0.1~esm2?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+dfsg1-3","2.2.1+dfsg1-3.1","2.2.1+dfsg1-3.1build1","2.2.1+dfsg1-3.1build2","2.2.1+dfsg1-3.1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.1+dfsg1-3.1ubuntu0.1~esm2","binary_name":"gpac"},{"binary_version":"2.2.1+dfsg1-3.1ubuntu0.1~esm2","binary_name":"gpac-modules-base"},{"binary_version":"2.2.1+dfsg1-3.1ubuntu0.1~esm2","binary_name":"libgpac12t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7797.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"},{"type":"Ubuntu","score":"medium"}]}