Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-31262

The AV1_DuplicateConfig 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-31262
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:43 UTC · Revision 1

Source evidence

CVE-2021-31262

core-osv · Original source

Published 19 Apr 2021, 19:15 UTC

The AV1_DuplicateConfig 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-31262
Complete source record
{
  "id": "e37dcad1668284ea591d2876b33938d47425b15564c0a393f6601ed12af0da75",
  "url": "https://osv.dev/vulnerability/CVE-2021-31262",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-31262",
    "summary": "The AV1_DuplicateConfig 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-31262",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-31262",
      "aliases": [
        "CVE-2021-31262"
      ],
      "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": "b2eab95e07cb5819375a50358d4806a8813b6e50"
                }
              ],
              "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": "b2eab95e07cb5819375a50358d4806a8813b6e50"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0.1",
            "v1.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31262.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-31262-9465b1e5",
                "digest": {
                  "length": 588,
                  "function_hash": "171931667066792198187769673904747214801"
                },
                "source": "https://github.com/gpac/gpac/commit/b2eab95e07cb5819375a50358d4806a8813b6e50",
                "target": {
                  "file": "src/isomedia/avc_ext.c",
                  "function": "gf_isom_av1_config_get"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-31262-9abf0d0f",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "247291634588424697610810039131654530737",
                    "176422099514206979543335388140707586494",
                    "269046133183686191219941028400761561449",
                    "134675652138491522443615927889994225586",
                    "18987815954972589176828380458224583412",
                    "37626700537071308498154276675350427352",
                    "65518661638453303631968316198865381232",
                    "133082178978553006112709492197247875131",
                    "101460720550159445199736183118792473044",
                    "37268567774305733487798192174292745485",
                    "70188106941334248530586398048017413348",
                    "130452226677282913404296419475473502135"
                  ]
                },
                "source": "https://github.com/gpac/gpac/commit/b2eab95e07cb5819375a50358d4806a8813b6e50",
                "target": {
                  "file": "src/isomedia/avc_ext.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-31262-f1361b3e",
                "digest": {
                  "length": 886,
                  "function_hash": "285958518593166966163525496266564232464"
                },
                "source": "https://github.com/gpac/gpac/commit/b2eab95e07cb5819375a50358d4806a8813b6e50",
                "target": {
                  "file": "src/isomedia/avc_ext.c",
                  "function": "AV1_RewriteESDescriptorEx"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:22:37Z"
          }
        }
      ],
      "modified": "2026-10-20T14:22:37.306063362Z",
      "provider": "osv",
      "references": [
        "https://github.com/gpac/gpac/commit/b2eab95e07cb5819375a50358d4806a8813b6e50",
        "https://github.com/gpac/gpac/issues/1738"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-31262",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388847,
  "published_at": "2021-04-19T19:15:18.577+00:00"
}