CVE-2025-6663

Source
https://cve.org/CVERecord?id=CVE-2025-6663
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6663.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-6663
Downstream
Published
2025-07-07T14:58:01Z
Modified
2026-10-22T07:12:02Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
GStreamer H266 Codec Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
Details

GStreamer H266 Codec Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.

The specific flaw exists within the parsing of H266 sei messages. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27381.

Database specific
{
    "cna_assigner":  "zdi",
    "cwe_ids":  [
        "CWE-121"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6663.json"
}
References

Affected packages

Git / gitlab.freedesktop.org/tpm/gstreamer

Affected ranges

Type
GIT
Repo
https://gitlab.freedesktop.org/tpm/gstreamer
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "97fec43422c4b62d569957d721c899bdaaa9da61"
                },
                {
                    "last_affected":  "97fec43422c4b62d569957d721c899bdaaa9da61"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "fixed":  "eedd01ac3dfeb60e36a44bb61a6d0418454e8416"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

Other
97fec43422c4b62d569957d721c899bdaaa9da61

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6663.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "59396683329592101066390449792267569397",
            "length":  1309
        },
        "id":  "CVE-2025-6663-16ee0d02",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://gitlab.freedesktop.org/tpm/gstreamer@eedd01ac3dfeb60e36a44bb61a6d0418454e8416",
        "target":  {
            "file":  "subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth266parser.c",
            "function":  "gst_h266_parser_parse_subpic_level_info"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "322408239375824235697640610182103157177",
                "329466281688453152582059337400564552111",
                "168822257613181838628534821740698720000",
                "84112443985815107248594045212452426335"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2025-6663-32998ece",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://gitlab.freedesktop.org/tpm/gstreamer@eedd01ac3dfeb60e36a44bb61a6d0418454e8416",
        "target":  {
            "file":  "subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth266parser.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "282721078568479293220300600191289648421",
                "207950569463079125622255997821643194131",
                "122461571103047695134343158452303403193",
                "61310300654916042450068896710544154369",
                "300671058316152478926398899082983972055",
                "254139904553242124958572292244909832683",
                "161270349155485064805213336790063386020",
                "5487045547213773508244965838854026915",
                "305777191737961159622308043516693816406"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2025-6663-86225344",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://gitlab.freedesktop.org/tpm/gstreamer@eedd01ac3dfeb60e36a44bb61a6d0418454e8416",
        "target":  {
            "file":  "subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth266parser.h"
        }
    }
]
vanir_signatures_modified
"2026-10-22T07:12:02Z"