Skip to main content
Vulnerability Database/CVE-2026-95116

CVE-2026-95116: libming Denial of Service Vulnerability

CVE-2026-95116 is a denial of service vulnerability in libming library that enables remote attackers to crash applications through the readtag_file function. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-95116 Overview

CVE-2026-95116 is a denial-of-service vulnerability affecting libming through version 0.4.8. The flaw resides in the readtag_file() function within src/blocks/fromswf.c. A remote attacker can trigger uncontrolled resource consumption [CWE-400] by supplying a crafted SWF file, causing the application to exhaust available resources and become unresponsive. The vulnerability requires no authentication or user interaction and is exploitable over the network when libming processes attacker-supplied input.

Critical Impact

Remote attackers can crash applications or services that use libming to parse untrusted SWF files, disrupting availability without authentication.

Affected Products

  • libming through version 0.4.8
  • Applications embedding libming for SWF parsing
  • Downstream distributions packaging vulnerable libming releases

Discovery Timeline

  • 2026-10-08 - CVE-2026-95116 published to the National Vulnerability Database
  • 2026-10-10 - Last updated in NVD database

Technical Details for CVE-2026-95116

Vulnerability Analysis

The vulnerability is categorized as uncontrolled resource consumption [CWE-400] within libming, an open-source library for generating and parsing Adobe Flash (SWF) files. The defect lives in readtag_file() inside src/blocks/fromswf.c, which parses tag records from an SWF stream. When the function processes a malformed or adversarially sized tag, it fails to bound resource allocation or iteration, driving memory or CPU usage to unsustainable levels.

Because libming is linked by command-line utilities and server-side tooling that convert or inspect Flash content, any workflow accepting untrusted SWF input inherits the exposure. A single crafted file can halt processing pipelines, impacting availability of batch converters, web services, and forensic tooling.

Root Cause

The root cause is missing or insufficient validation of tag metadata read from the SWF file prior to resource allocation and loop execution in readtag_file(). Without upper bounds on the parsed length and record counts, attacker-controlled values dictate how much memory or processing time the function consumes.

Attack Vector

Exploitation requires an attacker to deliver a crafted SWF file to a service, utility, or user that invokes libming's readtag_file(). The attack vector is network-reachable when the parsing occurs on a server endpoint. No privileges or user interaction are required to trigger the denial of service. Technical details are tracked in the upstream GitHub Issue #449 Discussion.

Detection Methods for CVE-2026-95116

Indicators of Compromise

  • Process crashes or hangs in utilities or services that call libming when parsing SWF files
  • Sudden spikes in memory or CPU consumption tied to SWF processing workloads
  • Repeated submissions of malformed .swf files from the same source IP or user

Detection Strategies

  • Monitor for abnormal termination of libming-linked binaries such as swftophp or custom converters
  • Inspect SWF uploads for malformed tag headers prior to passing them to libming
  • Correlate failed parsing attempts with resource utilization anomalies on affected hosts

Monitoring Recommendations

  • Enable per-process memory and CPU ceilings for services invoking libming and alert on breaches
  • Log all SWF ingestion events with source identifiers and file hashes for post-incident review
  • Alert on repeated non-zero exit codes from parsers handling user-supplied Flash content

How to Mitigate CVE-2026-95116

Immediate Actions Required

  • Inventory all applications and build pipelines that link against libming 0.4.8 or earlier
  • Restrict or disable SWF ingestion from untrusted sources until a fix is deployed
  • Execute libming-based parsers under resource limits and sandbox isolation to contain crashes

Patch Information

No official patched release is referenced in the advisory data at the time of publication. Track the upstream GitHub Issue #449 Discussion for fix availability and apply vendor updates from downstream Linux distributions once published.

Workarounds

  • Reject SWF files above a conservative maximum size before invoking libming
  • Run SWF parsing in isolated containers with strict cgroups memory and CPU quotas
  • Replace libming-based processing with maintained alternatives where feasible
  • Validate SWF tag structure with a lightweight pre-parser before passing input to readtag_file()
bash
# Configuration example: constrain libming-based parsers with systemd resource limits
systemd-run --scope \
  -p MemoryMax=256M \
  -p CPUQuota=50% \
  -p TasksMax=64 \
  /usr/bin/swftophp /path/to/untrusted.swf

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.