
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-66877 is a stack-based buffer overflow vulnerability in the dcputchar function within decompile.c in libming version 0.4.8. The flaw was reported on December 3, 2025, via a GitHub issue and officially published as a CVE on December 29, 2025. It affects only libming 0.4.8 and is triggered during SWF file decompilation by the swftophp utility. The vulnerability carries a CVSS v3.1 base score of 7.5 (High), assessed by CISA-ADP (GitHub Issue, Red Hat CVE).
The root cause is a heap buffer overflow (reported as CWE-121 Stack-based Buffer Overflow by CISA-ADP, though the ASAN trace indicates a heap-buffer-overflow) in the dcputchar function at decompile.c:115. When libming processes a specially crafted SWF file, deeply nested decompilation calls (e.g., decompileIF → decompileActions → decompileAction) cause writes beyond the bounds of a 40,960-byte buffer allocated by dcinit via calloc. No authentication or user interaction is required — an attacker only needs to supply a malicious SWF file to an application using libming for processing. The vulnerability was discovered through fuzzing and a proof-of-concept SWF file is publicly available in the GitHub issue (GitHub Issue).
Successful exploitation results in a denial of service through application crash, as the out-of-bounds write corrupts heap memory and terminates the process. The vulnerability has high availability impact with no direct confidentiality or integrity impact. Systems or services that automatically process untrusted SWF files using libming 0.4.8 (e.g., media converters, web services) are at risk of repeated crashes and service unavailability (Red Hat CVE, GitHub Issue).
A proof-of-concept exploit (malicious SWF file) is publicly available on GitHub, submitted as part of the original bug report. There is no evidence of in-the-wild exploitation at this time, and no threat actor attribution has been made. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.018% (0.000180), indicating a very low probability of exploitation in the near term (GitHub Issue, Red Hat CVE).
IF/SWITCH blocks) designed to trigger excessive recursive decompilation calls in libming.swftophp locally../swftophp <poc_file>).swftophp (or any application using the library) processes the file, the dcputchar function at decompile.c:115 performs an out-of-bounds write past the end of a heap-allocated buffer, causing a crash (denial of service) (GitHub Issue).swftophp) when processing SWF files; ASAN reports referencing dcputchar in decompile.c:115.AddressSanitizer: heap-buffer-overflow ... in dcputchar..swf files in directories monitored by libming-based services, particularly files with abnormally large reported file sizes or deeply nested action blocks..swf files followed by service crashes or error responses (GitHub Issue).No official patch has been released by the libming project as of the time of this report. Recommended mitigations include: (1) restricting network or user access to applications that process untrusted SWF files using libming 0.4.8; (2) implementing input validation to reject malformed or oversized SWF files before they reach the library; (3) monitoring the libming GitHub repository for patch releases and applying them promptly; (4) considering alternative SWF processing libraries with active security maintenance. A Tenable Nessus plugin (ID 281676) is available for detection (Red Hat CVE, GitHub Issue).
Red Hat has acknowledged the vulnerability and published a CVE tracking page. The vulnerability was briefly noted on social media platforms including Mastodon (TheHackerWire) and Bluesky shortly after disclosure. Community reaction has been limited given the niche use of libming and the DoS-only impact. No major vendor statements or significant researcher commentary beyond the initial bug report have been identified (Red Hat CVE).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."