CVE-2021-45259
Medium · 5.5CVSS
5.5
EPSS
0.7%
Published
Dec 22, 2021
CISA due date
—
Cloudanix analysis
A bug in media-processing software can make the program crash when it tries to handle certain specially crafted files, temporarily stopping any work that depends on that program.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Invalid pointer reference in gf_svg_node_del causes segmentation fault and application crash via memory corruption.
Why it matters to the business
Application becomes unavailable when processing untrusted media files, leading to denial of service for users and workflows relying on the software; low EPSS and no KEV listing indicate limited observed exploitation despite public exploit availability after 1764 days.
How an attack unfolds
An attacker crafts a malformed file that reaches gf_svg_node_del with an invalid pointer; when a user opens the file locally the dereference triggers a crash. Public exploit code exists but no named threat actors or ransomware campaigns are associated.
How to fix it
Upgrade to a maintained release of gpac that resolves the pointer handling issue in gf_svg_node_del; where an upgrade path is unavailable, restrict processing of untrusted files and run the application under a sandbox or least-privilege user context.
How to confirm the fix worked
Confirm the installed gpac version is newer than 1.1.0 and test with known-triggering malformed files to verify absence of the crash; review build logs or package manifests for the corrected gf_svg_node_del implementation.
Typical attack path
- Identify or create a malformed SVG or media file that triggers gf_svg_node_del
- Deliver the file to the target via email, web download, or shared storage
- Victim opens the file with the affected gpac binary
- Invalid pointer dereference occurs resulting in immediate segmentation fault and crash
How to detect it
Review application crash logs and core dumps for references to gf_svg_node_del; correlate local file-open events with sudden gpac process termination on systems where the software is installed.
- gf_svg_node_del
- segmentation fault.*gpac
- SIGSEGV.*gpac
What your security team should do
- Prioritize upgrade of all gpac installations to the latest stable release
- Block or sandbox execution of gpac against untrusted inputs until patched
- Monitor upstream gpac commits and package repositories for explicit fixes addressing CVE-2021-45259
The record
An Invalid pointer reference vulnerability exists in gpac 1.1.0 via the gf_svg_node_del function, which causes a segmentation fault and application crash.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | gpac | 0 | No fix |
| Ubuntu:20.04:LTS | gpac | 0 | No fix |
| Ubuntu:22.04:LTS | gpac | 0 | No fix |
| Ubuntu:24.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:24.04:LTS | gpac | 0 | No fix |
Related vulnerabilities
- CVE-2023-4679 A use after free vulnerability exists in GPAC version 2.3-DEV-revrelease, specifically in… Also affects gpac
- CVE-2023-46931 GPAC 2.3-DEV-rev605-gfc9e29089-master contains a heap-buffer-overflow in… Also affects gpac
- CVE-2021-46311 A NULL pointer dereference vulnerability exists in GPAC v1.1.0 via the function… Also affects gpac
- CVE-2021-46313 The binary MP4Box in GPAC v1.0.1 was discovered to contain a segmentation fault via the… Also affects gpac
- CVE-2021-46234 A NULL pointer dereference vulnerability exists in GPAC v1.1.0 via the function… Also affects gpac
- CVE-2021-46238 GPAC v1.1.0 was discovered to contain a stack overflow via the function gf_node_get_name… Also affects gpac
- CVE-2021-46240 A NULL pointer dereference vulnerability exists in GPAC v1.1.0 via the function… Also affects gpac
- CVE-2021-46239 The binary MP4Box in GPAC v1.1.0 was discovered to contain an invalid free vulnerability… Also affects gpac