CVE-2024-12133 Libtasn1: inefficient der decoding in libtasn1 leading to potential remote dos

Medium 5.3 Published Updated

An attacker can cause a denial of service by sending a specially crafted certificate that triggers inefficient DER decoding in libtasn1.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-12133?

CVE-2024-12133 is a medium-severity denial of service vulnerability in Red Hat Discovery 1.14, published on 10 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw in libtasn1 causes inefficient handling of specific certificate data. When processing a large number of elements in a certificate, libtasn1 takes much longer than expected, which can slow down or even crash the system. This flaw allows an attacker to send a specially crafted certificate, causing a denial of service attack.

Weakness: CWE-407

Which versions are affected by CVE-2024-12133?

Linux distribution packages (40)
libtasn1 AlmaLinux:8All versions4.13-5.el8_10
libtasn1-devel AlmaLinux:8All versions4.13-5.el8_10
libtasn1-tools AlmaLinux:8All versions4.13-5.el8_10
libtasn1 AlmaLinux:9All versions4.16.0-9.el9
libtasn1-devel AlmaLinux:9All versions4.16.0-9.el9
libtasn1-tools AlmaLinux:9All versions4.16.0-9.el9
libtasn1-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:4.13-5.el8_10
libtasn1-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:4.13-5.el8_10
libtasn1-devel Red Hat:enterprise_linux:8::appstreamAll versions0:4.13-5.el8_10
libtasn1-tools Red Hat:enterprise_linux:8::appstreamAll versions0:4.13-5.el8_10
libtasn1-tools-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:4.13-5.el8_10
libtasn1 Red Hat:enterprise_linux:8::baseosAll versions0:4.13-5.el8_10
libtasn1-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:4.13-5.el8_10
libtasn1-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:4.13-5.el8_10
libtasn1-tools-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:4.13-5.el8_10
libtasn1-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:4.16.0-9.el9
libtasn1-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:4.16.0-9.el9
libtasn1-devel Red Hat:enterprise_linux:9::appstreamAll versions0:4.16.0-9.el9
libtasn1-tools Red Hat:enterprise_linux:9::appstreamAll versions0:4.16.0-9.el9
libtasn1-tools-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:4.16.0-9.el9
libtasn1 Red Hat:enterprise_linux:9::baseosAll versions0:4.16.0-9.el9
libtasn1-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:4.16.0-9.el9
libtasn1-debugsource Red Hat:enterprise_linux:9::baseosAll versions0:4.16.0-9.el9
libtasn1-tools-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:4.16.0-9.el9
libtasn1-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:4.16.0-8.el9_2.1
libtasn1-debugsource Red Hat:rhel_e4s:9.2::appstreamAll versions0:4.16.0-8.el9_2.1
libtasn1-devel Red Hat:rhel_e4s:9.2::appstreamAll versions0:4.16.0-8.el9_2.1
libtasn1-tools Red Hat:rhel_e4s:9.2::appstreamAll versions0:4.16.0-8.el9_2.1
libtasn1-tools-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:4.16.0-8.el9_2.1
libtasn1 Red Hat:rhel_e4s:9.2::baseosAll versions0:4.16.0-8.el9_2.1
libtasn1-debuginfo Red Hat:rhel_e4s:9.2::baseosAll versions0:4.16.0-8.el9_2.1
libtasn1-debugsource Red Hat:rhel_e4s:9.2::baseosAll versions0:4.16.0-8.el9_2.1
libtasn1-tools-debuginfo Red Hat:rhel_e4s:9.2::baseosAll versions0:4.16.0-8.el9_2.1
libtasn1-debuginfo Red Hat:rhel_eus:9.4::appstreamAll versions0:4.16.0-8.el9_4.1
libtasn1-debugsource Red Hat:rhel_eus:9.4::appstreamAll versions0:4.16.0-8.el9_4.1
libtasn1-devel Red Hat:rhel_eus:9.4::appstreamAll versions0:4.16.0-8.el9_4.1
libtasn1-tools Red Hat:rhel_eus:9.4::appstreamAll versions0:4.16.0-8.el9_4.1
libtasn1-tools-debuginfo Red Hat:rhel_eus:9.4::appstreamAll versions0:4.16.0-8.el9_4.1
libtasn1 Red Hat:rhel_eus:9.4::baseosAll versions0:4.16.0-8.el9_4.1
libtasn1-debuginfo Red Hat:rhel_eus:9.4::baseosAll versions0:4.16.0-8.el9_4.1

How do I fix CVE-2024-12133?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-12133 being exploited?

There is no known exploitation of CVE-2024-12133 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2024-12133, ALSA-2025:4049, ALSA-2025:7077, AZL-56705, AZL-56720, AZL-56758 and 24 more.

Is CVE-2024-12133 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free