Denial of Service Vulnerability in libass: Out-of-Bounds Read Risk

libass Updated 02 Oct 2025

Summary

03/03/2017
N/A
Yes i
High
7.5

ALPINE-CVE-2016-7969: The wrap_lines_smart function in ass_render.c in libass before 0.13.4 allows remote attackers to cause a denial of service (out-of-bounds read) via unspecified vectors, related to "0/3 line wrapping equalization.". Affects libass versions < 0.13.4-r0. Fixed in 0.13.4-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

libass is a portable subtitle renderer that is widely used in multimedia applications to display subtitles in various formats. It is known for its high-quality rendering capabilities and support for advanced subtitle features. However, prior to version 0.13.4, libass contained a vulnerability that could allow remote attackers to exploit the library, leading to potential denial of service conditions.

Vulnerability Detail

The vulnerability, identified as CVE-2016-7969, resides in the wrap_lines_smart function within ass_render.c of libass versions prior to 0.13.4. It allows remote attackers to trigger an out-of-bounds read, which can lead to a denial of service. This issue arises from improper handling of line wrapping, specifically during the equalization of line wrapping conditions. Attackers can exploit this vulnerability through unspecified vectors, potentially causing applications that rely on libass to crash or behave unexpectedly.

How To Fix

Minimum fixed version

0.13.4-r0

This is the first release that contains the fix.

sudo apk add --upgrade libass

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If an immediate update is not feasible, consider disabling the use of libass in your application or restricting access to the functionality that utilizes this library until the update can be applied. Additionally, ensure that your application has proper input validation to mitigate potential exploitation.

Conclusion

CVE-2016-7969 represents a significant vulnerability in libass that can lead to denial of service through an out-of-bounds read. It is crucial for users and developers to update to the patched version to ensure the security and stability of their applications. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for libass →

Share this vulnerability

FAQ

CVE-2016-7969 is a vulnerability in libass that allows remote attackers to cause a denial of service through an out-of-bounds read.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to application crashes or unexpected behavior, impacting user experience and system stability.

Yes, updating libass to version 0.13.4 or later will patch the vulnerability.

The CVSS score for CVE-2016-7969 is 7.5, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for libass.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

0.13.4-r0

This is the first release that contains the fix.

sudo apk add --upgrade libass

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback