CVE-2024-25770
Medium · 4.3CVSS
4.3
EPSS
0.6%
Published
Feb 26, 2024
CISA due date
—
Cloudanix analysis
A flaw in a library used for handling animation files can cause programs to use up more and more memory until they stop working.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A memory leak occurs in the listaction.c file of libming's action compiler, causing allocated memory to not be freed during processing of certain inputs.
Why it matters to the business
Applications relying on libming for SWF file handling may experience gradual memory exhaustion, potentially leading to service disruptions in media or animation processing pipelines.
How an attack unfolds
An attacker supplies a malicious input file to a libming-dependent application, triggering repeated allocations without deallocation in the action compiler, exhausting system memory over time.
How to fix it
Update to a version of libming that resolves the memory leak in listaction.c. Monitor upstream repositories for patches and apply them promptly.
How to confirm the fix worked
Review memory usage patterns during input processing and verify that memory is properly released after operations complete. Test with known triggering inputs if available.
Typical attack path
- Identify a target application using vulnerable libming
- Craft input that exercises the listaction code path
- Submit input repeatedly to induce leak
- Monitor for memory exhaustion and denial of service
How to detect it
Look for processes using libming that exhibit steadily increasing memory usage without corresponding input volume. Examine logs for repeated processing of similar files.
What your security team should do
- Assess usage of libming in the environment
- Prioritize updates if available
- Implement input validation or sandboxing for untrusted files
- Monitor for unusual memory consumption
The record
libming 0.4.8 contains a memory leak vulnerability in /libming/src/actioncompiler/listaction.c.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:16.04:LTS | ming | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | ming | 0 | No fix |
Related vulnerabilities
- CVE-2024-24148 A memory leak issue discovered in parseSWF_FREECHARACTER in libming v0.4.8 allows… Also affects ming
- CVE-2026-109278 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the… CWE-401
- CVE-2026-109270 ImageMagick before 7.1.2-32 contains a memory leak vulnerability in the -process option… CWE-401
- CVE-2026-109262 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the SVG… CWE-401
- CVE-2026-109263 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the YUV… CWE-401
- CVE-2026-109261 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the GIF… CWE-401
- CVE-2026-109260 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the PNG… CWE-401
- CVE-2026-104874 Multidict is an implementation of a multidict data structure. CWE-401