A Segmentation fault casued by heap use after free vulnerability exists in Gpac through 1.0.1 via the mpgviddmxprocess function in reframempgvid.c when using mp4box, which causes a denial of service.
[
    {
        "source": "https://github.com/gpac/gpac/commit/96047e0e6166407c40cc19f4e94fb35cd7624391",
        "signature_version": "v1",
        "digest": {
            "function_hash": "305625114589442320355981792635002388920",
            "length": 11396.0
        },
        "target": {
            "function": "mpgviddmx_process",
            "file": "src/filters/reframe_mpgvid.c"
        },
        "id": "CVE-2021-40566-16fd738c",
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "source": "https://github.com/gpac/gpac/commit/96047e0e6166407c40cc19f4e94fb35cd7624391",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "142280585278956617665387756210879740676",
                "309955364860874559081365588692130465606",
                "319703081384836031728711344227518151867",
                "132175666893138713923828993571759094939",
                "219797106537938709166819118999313962213",
                "177739104687371892988919439237520125235",
                "309457119218059962258650711748561420964",
                "153648196953304188186569535124420753986",
                "26889089776504112179443594280174170776",
                "72127980592832060232464495774616836053",
                "31585927435235774083642036324626797114",
                "90318461109913242838715139466237489602",
                "331574364385427865901560108678239943714",
                "220943766762355409706527633548157077924",
                "177739104687371892988919439237520125235",
                "309457119218059962258650711748561420964",
                "153648196953304188186569535124420753986",
                "26889089776504112179443594280174170776"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "src/filters/reframe_mpgvid.c"
        },
        "id": "CVE-2021-40566-2b29b787",
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "source": "https://github.com/gpac/gpac/commit/96047e0e6166407c40cc19f4e94fb35cd7624391",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "269966444420398294272664563764939806933",
                "144984144068439176208980274542536662297",
                "209682731660002428161403518721492660025",
                "143647077360532050751765031233056589362"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "src/filters/dec_xvid.c"
        },
        "id": "CVE-2021-40566-7f3cb7f1",
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "source": "https://github.com/gpac/gpac/commit/96047e0e6166407c40cc19f4e94fb35cd7624391",
        "signature_version": "v1",
        "digest": {
            "function_hash": "283974345856270385246024446578108681975",
            "length": 2820.0
        },
        "target": {
            "function": "xviddec_configure_pid",
            "file": "src/filters/dec_xvid.c"
        },
        "id": "CVE-2021-40566-d0557a92",
        "deprecated": false,
        "signature_type": "Function"
    }
]