Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-30199

In filters/reframe_latm.c in GPAC 1.0.1 there is a Null Pointer Dereference, when gf_filter_pck_get_data is called. The first arg pck may be null with a crafted mp4 file,which results in a crash.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-30199
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:43 UTC · Revision 1

Source evidence

CVE-2021-30199

core-osv · Original source

Published 19 Apr 2021, 20:15 UTC

In filters/reframe_latm.c in GPAC 1.0.1 there is a Null Pointer Dereference, when gf_filter_pck_get_data is called. The first arg pck may be null with a crafted mp4 file,which results in a crash.

osv:CVE-2021-30199
Complete source record
{
  "id": "fc416ca98e2e4b2e4b08fe34a503332fdb259a2d59f8b719041eb6f52df54b80",
  "url": "https://osv.dev/vulnerability/CVE-2021-30199",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-30199",
    "summary": "In filters/reframe_latm.c in GPAC 1.0.1 there is a Null Pointer Dereference, when gf_filter_pck_get_data is called. The first arg pck may be null with a crafted mp4 file,which results in a crash.",
    "evidence": "osv:CVE-2021-30199",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-30199",
      "aliases": [
        "CVE-2021-30199"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gpac/gpac",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
                },
                {
                  "last_affected": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
                },
                {
                  "fixed": "b2db2f99b4c30f96e17b9a14537c776da6cb5dca"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gpac:gpac:1.0.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0.1"
                      },
                      {
                        "last_affected": "1.0.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b2db2f99b4c30f96e17b9a14537c776da6cb5dca"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0.1",
            "v1.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30199.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-30199-5b485d5f",
                "digest": {
                  "length": 3034,
                  "function_hash": "322881962646193761510325288580375918980"
                },
                "source": "https://github.com/gpac/gpac/commit/b2db2f99b4c30f96e17b9a14537c776da6cb5dca",
                "target": {
                  "file": "src/filters/reframe_latm.c",
                  "function": "latm_dmx_process"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-30199-f14e6216",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "67582710314780463758571953239788679651",
                    "290015795950904442635474948029970013247",
                    "273375960481668448140498039584626171914",
                    "327052348851824933168734381584993964613",
                    "177691872155673446041301130712305766036",
                    "88248128088414560189744820890003820416",
                    "162038618548578233682791090979352532957",
                    "179112026165925033742743549772726948823",
                    "237535298546394459331137734534040221136",
                    "219513559262009853049938752600817905056",
                    "193299817810724375760158972926776532632"
                  ]
                },
                "source": "https://github.com/gpac/gpac/commit/b2db2f99b4c30f96e17b9a14537c776da6cb5dca",
                "target": {
                  "file": "src/filters/reframe_latm.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:22:34Z"
          }
        }
      ],
      "modified": "2026-10-20T14:22:34.107392824Z",
      "provider": "osv",
      "references": [
        "https://github.com/gpac/gpac/commit/b2db2f99b4c30f96e17b9a14537c776da6cb5dca",
        "https://github.com/gpac/gpac/issues/1728"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-30199",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388841,
  "published_at": "2021-04-19T20:15:14.707+00:00"
}