{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.0.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
            },
            {
              "fixed": "8986422c21fbd9a7bf6561cae65aae42077447e8"
            }
          ],
          "repo": "https://github.com/gpac/gpac",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Buffer overflow in the tenc_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file, related invalid IV sizes.",
  "id": "CVE-2021-31254",
  "modified": "2026-03-13T21:54:21.552038726Z",
  "published": "2021-04-19T19:15:18.077Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/gpac/gpac/commit/8986422c21fbd9a7bf6561cae65aae42077447e8"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/gpac/gpac/issues/1703"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}