CVE-2026-61626

Source
https://cve.org/CVERecord?id=CVE-2026-61626
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-61626.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-61626
Aliases
  • GHSA-5gf7-wjfm-vmvm
Downstream
Published
2026-10-30T14:52:21Z
Modified
2026-11-18T07:02:59Z
Severity
  • 7.3 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
libass: Out-of-bounds bit clears for negative Matroska ReadOrder values
Details

libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. From 0.17.4 until 0.17.5, libass event pruning does not guard negative Matroska ReadOrder values, allowing an attacker to clear arbitrarily many bits to zero at attacker-controlled positions near the NULL pointer. Exploitation requires a malicious Matroska stream loaded through ass_process_chunk, enabled read-order checking, and later pruning of the malicious events. Read-order checking is enabled by default unless ass_set_check_readorder is called with zero; pruning must occur explicitly through ass_prune_events or through automatic pruning previously enabled with ass_configure_prune. On common systems with arithmetic right shift, 32-bit int values, the upper address region reserved to the kernel, and matching binary/kernel architecture, the expected consequence is denial of service. More extensive exploitation on uncommon systems is theoretical and strongly constrained by the target addresses, bit-clearing-only mutation, and ASLR. This issue is fixed in version 0.17.5.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-787"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61626.json"
}
References

Affected packages

Git / github.com/libass/libass

Affected ranges

Type
GIT
Repo
https://github.com/libass/libass
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0.17.4"
                },
                {
                    "fixed":  "0.17.5"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "23da65a130bb8c5b2cf0c7df0dd7d424607f98f1"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "0.17.5",
            "range":  [
                {
                    "fixed":  "4a05d8127f525943ebf45fdc6497c9e665947f0d"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

0.*
0.17.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-61626.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "237450414948299887685732629177574810525",
                "144244498240427927305994064986372066730",
                "135524471659269082127825963390172472350",
                "57440087062946006152010265034674317575"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-61626-274d3e02",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libass/libass/commit/23da65a130bb8c5b2cf0c7df0dd7d424607f98f1",
        "target":  {
            "file":  "libass/ass.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "297664928099187939416970830411027002262",
            "length":  249
        },
        "id":  "CVE-2026-61626-c344f9e8",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libass/libass/commit/23da65a130bb8c5b2cf0c7df0dd7d424607f98f1",
        "target":  {
            "file":  "libass/ass.c",
            "function":  "clear_read_order_bit"
        }
    }
]
vanir_signatures_modified
"2026-11-18T07:02:59Z"