Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-40562

A Segmentation fault caused by a floating point exception exists in Gpac through 1.0.1 using mp4box via the naludmx_enqueue_or_dispatch function in reframe_nalu.c, which causes a denial of service.

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

Source evidence

CVE-2021-40562

core-osv · Original source

Published 12 Jan 2022, 22:15 UTC

A Segmentation fault caused by a floating point exception exists in Gpac through 1.0.1 using mp4box via the naludmx_enqueue_or_dispatch function in reframe_nalu.c, which causes a denial of service.

osv:CVE-2021-40562
Complete source record
{
  "id": "cd5a2a7450ca5ae5ae6b5a2ee7c880ade5eb8ee5e17aaf3c85e2171723697d66",
  "url": "https://osv.dev/vulnerability/CVE-2021-40562",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-40562",
    "summary": "A Segmentation fault caused by a floating point exception exists in Gpac through 1.0.1 using mp4box via the naludmx_enqueue_or_dispatch function in reframe_nalu.c, which causes a denial of service.",
    "evidence": "osv:CVE-2021-40562",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-40562",
      "aliases": [
        "CVE-2021-40562"
      ],
      "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": "0"
                },
                {
                  "last_affected": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
                },
                {
                  "fixed": "5dd71c7201a3e5cf40732d585bfb21c906c171d3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.0.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5dd71c7201a3e5cf40732d585bfb21c906c171d3"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.0.1",
            "v0.7.1",
            "v0.7.0",
            "v0.6.0",
            "v0.5.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40562.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-40562-808dadcc",
                "digest": {
                  "length": 4834,
                  "function_hash": "222909125538054554142696760066351192249"
                },
                "source": "https://github.com/gpac/gpac/commit/5dd71c7201a3e5cf40732d585bfb21c906c171d3",
                "target": {
                  "file": "src/filters/reframe_nalu.c",
                  "function": "naludmx_create_avc_decoder_config"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-40562-861a6994",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "111753558529549020020712736279529203355",
                    "312475701619028868588341076389345054319",
                    "210095339424249211427502420724033199260",
                    "306106039706621833680095253597863398070",
                    "83200840015914086248955994616472368455",
                    "125570266520436794753878286141420955597"
                  ]
                },
                "source": "https://github.com/gpac/gpac/commit/5dd71c7201a3e5cf40732d585bfb21c906c171d3",
                "target": {
                  "file": "src/filters/reframe_nalu.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:08:47Z"
          }
        }
      ],
      "modified": "2026-10-20T14:08:47.154463380Z",
      "provider": "osv",
      "references": [
        "https://github.com/gpac/gpac/issues/1901",
        "https://www.debian.org/security/2023/dsa-5411",
        "https://github.com/gpac/gpac/commit/5dd71c7201a3e5cf40732d585bfb21c906c171d3"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-40562",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388573,
  "published_at": "2022-01-12T22:15:07.76+00:00"
}