Critical Security Update for libtasn1: Denial of Service Vulnerability

libtasn1 Updated 10 Jul 2026

Summary

08/07/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:36728: Low: libtasn1 security update. Affects libtasn1 versions < 4.13-6.el8_10. Fixed in 4.13-6.el8_10. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

libtasn1 is a library that provides functionalities for parsing Abstract Syntax Notation One (ASN.1) and managing structures, as well as encoding and decoding using Distinguished Encoding Rules (DER). It is widely used in various applications for handling data structures in a standardized format. However, it has been identified to have a vulnerability that could lead to a Denial of Service (DoS) attack, affecting the stability and availability of applications relying on this library.

Vulnerability Detail

The vulnerability identified as CVE-2025-13151 is a stack-based buffer overflow in the function asn1_expend_octet_string within libtasn1. This flaw can be exploited by an attacker to cause a Denial of Service, potentially crashing the application or making it unresponsive. The vulnerability arises from improper handling of input data, which can lead to excessive memory usage and stack overflow, thereby compromising the application's integrity and availability.

How To Fix

Minimum fixed version

4.13-6.el8_10

This is the first release that contains the fix.

sudo dnf update libtasn1

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

Workaround

As a temporary workaround, you can limit the input size to the asn1_expend_octet_string function to prevent the overflow. However, this is not a permanent solution and updating the package is strongly recommended.

Conclusion

The libtasn1 library has a critical vulnerability that can lead to Denial of Service attacks. It is crucial to update to the latest patched version to ensure the security and stability of applications using this library. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the integrity of your software.

See every vulnerability recorded for libtasn1 →

Share this vulnerability

FAQ

CVE-2025-13151 is a security vulnerability in libtasn1 that allows for a Denial of Service attack due to a stack-based buffer overflow.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.

The vulnerability can lead to application crashes or unresponsiveness, affecting the availability and stability of services relying on libtasn1.

Yes, a patch is available in version 4.13-6.el8_10 of libtasn1 and its related packages.

If immediate updates are not possible, consider implementing input size limitations as a temporary workaround until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for libtasn1.

How To Fix

Minimum fixed version

4.13-6.el8_10

This is the first release that contains the fix.

sudo dnf update libtasn1

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