CVE-2024-12778 Denial of Service in aimhubio/aim

High 7.5 Published Updated

Attackers can cause denial of service in Aim by requesting excessive metrics, blocking the single-threaded web server.

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

What is CVE-2024-12778?

CVE-2024-12778 is a high-severity denial of service vulnerability in aimhubio/aim, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability in aimhubio/aim version 3.25.0 allows for a denial of service (DoS) attack. The issue arises when a large number of tracked metrics are retrieved simultaneously from the Aim web API, causing the web server to become unresponsive. The root cause is the lack of a limit on the number of metrics that can be requested per call, combined with the server's single-threaded nature, leading to excessive resource consumption and blocking of the server.

Weakness: CWE-770

Which versions are affected by CVE-2024-12778?

3 open source packages ship an affected version, including aim. It affects 1 product.

PackageAffectedFixed in
aim PyPIAll versions to 3.25.0None
aim PyPIAll versions to 3.25.0None
aim PyPIAll versions to 3.25.0None

Products include Aimstack Aim.

How do I fix CVE-2024-12778?

No fix has been published for CVE-2024-12778 yet. Limit exposure of the affected software until one is available.

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-12778 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12778 exists.

Sources

Also known as GHSA-35p3-6j45-prwm, PYSEC-2026-1080.

Is CVE-2024-12778 in your software?

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

Check your SBOMs for free