CVE-2021-30019

Source
https://cve.org/CVERecord?id=CVE-2021-30019
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30019.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-30019
Downstream
Published
2021-04-19T20:15:14Z
Modified
2026-08-07T16:50:21Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the adts_dmx_process function in filters/reframe_adts.c in GPAC 1.0.1, a crafted file may cause ctx->hdr.frame_size to be smaller than ctx->hdr.hdr_size, resulting in size to be a negative number and a heap overflow in the memcpy.

References

Affected packages

Git / github.com/gpac/gpac

Affected ranges

Type
GIT
Repo
https://github.com/gpac/gpac
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:gpac:gpac:1.0.1:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "1.0.1"
        },
        {
            "last_affected":  "1.0.1"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.0.1
v1.*
v1.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30019.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "227599067399516482075011625574724207137",
            "length":  7358
        },
        "id":  "CVE-2021-30019-471ca0eb",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/gpac/gpac/commit/22774aa9e62f586319c8f107f5bae950fed900bc",
        "target":  {
            "file":  "src/filters/reframe_adts.c",
            "function":  "adts_dmx_process"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "197185477795747438075566840701096839964",
                "133582088252870862700942709230991040706",
                "111509101733101854599458563419876650348"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-30019-657131c2",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/gpac/gpac/commit/22774aa9e62f586319c8f107f5bae950fed900bc",
        "target":  {
            "file":  "src/filters/reframe_adts.c"
        }
    }
]
vanir_signatures_modified
"2026-08-07T16:50:21Z"