CVE-2026-61627

Source
https://cve.org/CVERecord?id=CVE-2026-61627
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61627.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-61627
Aliases
  • GHSA-pjjp-65r7-ppgm
Downstream
DEBIAN (1)
OESA (3)
openSUSE (1)
UBUNTU (1)
Related
Published
2026-10-30T14:55:45Z
Modified
2026-11-11T17:27:07Z
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 read and write in wrap_lines_measure
Details

libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. Prior to 0.17.5, libass can overread and overwrite the glyph array in wrap_lines_measure while rendering malicious ASS content. In wrap modes other than two, a final line ending with a literal backslash-n sequence and otherwise consisting only of such sequences or spaces can remain after early trimming and make the line-measurement loops overshoot by one glyph. When the total text size exactly matches the allocated glyph-array capacity, the first loop reads an uninitialized 32-bit fixed-point pos.x value, although that value is not subsequently used. The second loop writes pos.x and pos.y beyond the array, zeroing the first and adding an attacker-controllable offset to the second. No actual exploitation beyond possible denial of service is known; broader exploitation is theoretical and constrained by the addresses, limited writes, and ASLR. This issue is fixed in version 0.17.5.

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

Affected packages

Git / github.com/libass/libass

Affected ranges

Type
GIT
Repo
https://github.com/libass/libass
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "0.17.5"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "f2ef59755292bc4bb950ef22710e18a5487c399d"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "0.17.5",
            "range": [
                {
                    "fixed": "4a05d8127f525943ebf45fdc6497c9e665947f0d"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

0.*
0.10.0
0.10.1
0.10.2
0.11.0
0.11.1
0.11.2
0.12.0
0.12.1
0.12.2
0.12.3
0.13.0
0.13.1
0.13.2
0.13.3
0.13.4
0.13.5
0.13.6
0.13.7
0.14.0
0.15.0
0.15.1
0.15.2
0.16.0
0.17.0
0.17.2
0.17.3
0.17.4
0.9.10
0.9.11
0.9.12
0.9.7
0.9.8
0.9.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61627.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "215944831659671935742181615511479289142",
            "length": 954
        },
        "id": "CVE-2026-61627-119ff8ef",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/libass/libass/commit/f2ef59755292bc4bb950ef22710e18a5487c399d",
        "target": {
            "file": "libass/ass_render.c",
            "function": "wrap_lines_measure"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "330355817470363690226908697769627135344",
                "158629052955063013379039863781244935848",
                "52326703801793466563407294388303092084",
                "204254946247831307678533255297989021220",
                "237275791575105818320024917800487361771",
                "34075731581037499807631967119975057043",
                "209964437957364968650732344459385009306",
                "325088255137534260582485841063371272187",
                "102342846727022074991919099043390311100",
                "301657068992472948373654158620715700448"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-61627-688e8e5c",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/libass/libass/commit/f2ef59755292bc4bb950ef22710e18a5487c399d",
        "target": {
            "file": "libass/ass_render.c"
        }
    }
]
vanir_signatures_modified
"2026-11-01T07:03:41Z"