CVE-2021-40607

Source
https://cve.org/CVERecord?id=CVE-2021-40607
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40607.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-40607
Downstream
Published
2022-06-28T13:15:09Z
Modified
2026-08-18T14:06:54Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The schm_box_size function in GPAC 1.0.1 allows attackers to cause a denial of service via a crafted file in the MP4Box command.

References

Affected packages

Git / github.com/gpac/gpac

Affected ranges

Type
GIT
Repo
https://github.com/gpac/gpac
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "2.0.0"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

v0.*
v0.5.2
v0.6.0
v0.9.0
v0.9.0-preview
v1.*
v1.0.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40607.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "331609225902553284938660782849123559724",
            "length":  2924
        },
        "id":  "CVE-2021-40607-00ec9c94",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/gpac/gpac/commit/418db4149af78773815b5f6a7030a120037ba140",
        "target":  {
            "file":  "src/utils/os_config_init.c",
            "function":  "gf_cfg_init"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "253854454906731252594870579307233588965",
                "179864446493625039430457959093405636565",
                "157047988769606476955262936216865999399",
                "25205688373900634743508465492002274847"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-40607-84a001c2",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/gpac/gpac/commit/418db4149af78773815b5f6a7030a120037ba140",
        "target":  {
            "file":  "src/utils/os_config_init.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "116287927203832314234354772323596679187",
            "length":  1136
        },
        "id":  "CVE-2021-40607-abddd526",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/gpac/gpac/commit/418db4149af78773815b5f6a7030a120037ba140",
        "target":  {
            "file":  "applications/mp4client/main.c",
            "function":  "PrintUsage"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "110287411499135302499254568127786275886",
                "196881605958314966606044579045527764763",
                "211928352066196418331258856473204866912",
                "280195963159516847825224043850516008460"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-40607-dde39a3b",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/gpac/gpac/commit/418db4149af78773815b5f6a7030a120037ba140",
        "target":  {
            "file":  "applications/mp4client/main.c"
        }
    }
]
vanir_signatures_modified
"2026-08-18T14:06:54Z"