CVE-2024-57722 Denial of service in n/a

High 7.5 Published Updated

An attacker can cause a denial of service in lunasvg by triggering an excessive memory allocation in the surface creation component.

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-57722?

CVE-2024-57722 is a high-severity denial of service vulnerability in n/a, published on 23 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

lunasvg v3.0.0 was discovered to contain a allocation-size-too-big bug via the component plutovg_surface_create.

Weakness: CWE-770

Which versions are affected by CVE-2024-57722?

1 open source package ship an affected version, including lunasvg. It affects 1 product.

PackageAffectedFixed in
lunasvg PyPIAll versions to 3.0.0None

Products include Sammycage Lunasvg.

How do I fix CVE-2024-57722?

No fix has been published for CVE-2024-57722 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-57722 being exploited?

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

Sources

Also known as GHSA-h996-qwxw-wv3x, PYSEC-2025-131.

Is CVE-2024-57722 in your software?

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

Check your SBOMs for free