Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-31260

The MergeTrack function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.

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

Source evidence

CVE-2021-31260

core-osv · Original source

Published 19 Apr 2021, 19:15 UTC

The MergeTrack function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.

osv:CVE-2021-31260
Complete source record
{
  "id": "37d7815c13ebbcb3bd15dd327ffafb01a88ea8eb3cc3f39de014ee1a1e522cee",
  "url": "https://osv.dev/vulnerability/CVE-2021-31260",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-31260",
    "summary": "The MergeTrack function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.",
    "evidence": "osv:CVE-2021-31260",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-31260",
      "aliases": [
        "CVE-2021-31260"
      ],
      "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": "df8fffd839fe5ae9acd82d26fd48280a397411d9"
                }
              ],
              "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": "df8fffd839fe5ae9acd82d26fd48280a397411d9"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0.1",
            "v1.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31260.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-31260-8e0aaebf",
                "digest": {
                  "length": 22043,
                  "function_hash": "335491776138243062977214169613928195094"
                },
                "source": "https://github.com/gpac/gpac/commit/df8fffd839fe5ae9acd82d26fd48280a397411d9",
                "target": {
                  "file": "src/isomedia/track.c",
                  "function": "MergeTrack"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-31260-f75fbcb0",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "332524135913515548166291284936394020187",
                    "66684748315246422794487471379988225715",
                    "234592134305524906353216475174714363829",
                    "334297824493727778064126337640881454041",
                    "16557750565410202671477080845639013702",
                    "273942870660085098662702133124770611172",
                    "207848608037353933314262012198414753929",
                    "26276709931456932890240036060274974909",
                    "144833264415557562291566183312048777532",
                    "85215393866482497898822514383938464333",
                    "273162639093632930735207659276392843815"
                  ]
                },
                "source": "https://github.com/gpac/gpac/commit/df8fffd839fe5ae9acd82d26fd48280a397411d9",
                "target": {
                  "file": "src/isomedia/track.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:22:35Z"
          }
        }
      ],
      "modified": "2026-10-20T14:22:35.298800119Z",
      "provider": "osv",
      "references": [
        "https://github.com/gpac/gpac/commit/df8fffd839fe5ae9acd82d26fd48280a397411d9",
        "https://github.com/gpac/gpac/issues/1736"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-31260",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388854,
  "published_at": "2021-04-19T19:15:18.437+00:00"
}