Denial of Service Vulnerability in libass Package

libass Updated 02 Oct 2025

Summary

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

ALPINE-CVE-2016-7972: The check_allocations function in libass/ass_shaper.c in libass before 0.13.4 allows remote attackers to cause a denial of service (memory allocation failure) via unspecified vectors. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

libass is a library for rendering subtitles, primarily used in video players and media applications. It provides advanced features for subtitle styling and positioning, making it a popular choice among developers. However, prior to version 0.13.4, libass contained a vulnerability that could lead to memory allocation failures, potentially affecting the stability of applications that rely on it.

Vulnerability Detail

The vulnerability identified as CVE-2016-7972 exists in the check_allocations function within libass/ass_shaper.c. This flaw allows remote attackers to exploit unspecified vectors, leading to a denial of service condition due to memory allocation failures. The vulnerability has a CVSS score of 7.5, indicating a high severity level, which could result in application crashes or unresponsive behavior, impacting user experience significantly.

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

As a temporary measure, if updating the package is not immediately feasible, consider implementing input validation to restrict the types of data processed by libass, thereby reducing the risk of triggering the vulnerability.

Conclusion

The CVE-2016-7972 vulnerability in the libass package poses a significant risk of denial of service due to memory allocation failures. It is crucial for developers and system administrators to update to the patched version to mitigate this risk and ensure the stability of their applications.

See every vulnerability recorded for libass →

Share this vulnerability

FAQ

CVE-2016-7972 is a vulnerability in the libass library that can lead to denial of service due to memory allocation failures.

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

The CVSS score of CVE-2016-7972 is 7.5, indicating a high severity level.

The vulnerability can cause applications that use libass to crash or become unresponsive, negatively affecting user experience.

Yes, the vulnerability is patched in libass version 0.13.4 and later. It is recommended to update to this version or higher.

Related vulnerabilities

Recent vulnerabilities recorded for libass.

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