Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-125180 — FFmpeg

Medium · CVSS 6.8EPSS 0.2% First seen November 09, 2026

One of 121 FFmpeg vulnerabilities published together by NVD.

Vulnerabilities

Research article

FFmpeg 8.1 through 9.0.2: EXIF parser memory exhaustion via overlapping IFD entries (CVE-2026-125180)

CVECVE-2026-125180
Vendor and productFFmpeg
PublishedNovember 12, 2026 07:11 UTC
Research cut-offNovember 12, 2026 05:56 UTC
UpdatedNovember 25, 2026 15:21 UTC
Sources reviewed3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10)

Update — November 25, 2026

Updates come from the CVE's records (NVD, CISA, GitHub, FIRST) as they change, newest first. The article below is as it was published on November 12, 2026.

Executive summary

CVE-2026-125180 is a resource-exhaustion flaw in the EXIF metadata parser in FFmpeg's libavcodec/exif.c, in which many directory entries pointing at overlapping data cause allocation to grow quadratically [1]. The CVE record lists affected versions as 8.1 or later and up to and including 9.0.2 [1]. The secondary scorer VulnCheck rates it CVSS 4.0 6.8 MEDIUM (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X) and CVSS 3.1 5.5 MEDIUM (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H) [1]. The reviewed sources describe the consequence as denial of service in applications that decode affected image files, with no confidentiality or integrity effect [1]. The record is still Awaiting Analysis, the pack contains no fixed version, and CISA's KEV catalog does not list the CVE as of 2026-11-12, which is not evidence that it has not been exploited [1][2]. The FIRST EPSS estimate is 0.0016 (0.17%) for exploitation activity in the next 30 days, which is a statistical estimate and not evidence of exploitation [3]. The most important immediate action is to identify every FFmpeg or libavcodec build that decodes untrusted images and to constrain its memory and runtime, while tracking the upstream fix for a version that the reviewed sources do not yet identify [1].

Key points

  • CVE-2026-125180 is a memory-exhaustion flaw (CWE-770) in FFmpeg's libavcodec EXIF parser that the record says allows denial of service through overlapping IFD entries in small crafted images [1].
  • The record states the affected range as 8.1 or later up to and including 9.0.2 [1]; no fixed version is established by the reviewed sources.
  • Secondary scores are CVSS 4.0 6.8 MEDIUM (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X) and CVSS 3.1 5.5 MEDIUM (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H), both scored by VulnCheck [1].
  • The record is Awaiting Analysis; the CVE is not in CISA KEV as of 2026-11-12, and the EPSS estimate is 0.0016 (0.17%), which is not evidence of exploitation [1][2][3].
  • Immediate action: restrict untrusted image decoding through FFmpeg, cap decoder memory and runtime, and isolate decoding workers, while tracking the upstream fix [1].

Vulnerability identification

FieldDetailSource
CVE IDCVE-2026-125180[1]
Vendor / projectFFmpeg project[1]
Product / componentFFmpeg libavcodec, EXIF parser in libavcodec/exif.c[1]
Affected platformNot established by the reviewed sources (the flaw is in a library, so exposure depends on each build and each application that links it)[1]
Published2026-11-09T19:16:53[1]
Last modified2026-11-10T21:46:26[1]
Record statusAwaiting Analysis; the NVD analysis (including NVD-assigned scoring) has not been completed in the reviewed record[1]
CWE classificationCWE-770, Allocation of Resources Without Limits or Throttling: the software allocates resources without a bound or rate limit that would stop a single input from consuming excessive resources[1]
CVSS 4.06.8 MEDIUM; vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X; scored by disclosure@vulncheck.com (Secondary)[1]
CVSS 3.15.5 MEDIUM; vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H; scored by disclosure@vulncheck.com (Secondary)[1]
NVD-assigned scoreNot present in the reviewed record[1]
Related referencesA FFmpeg pull request, a commit, a tagged source line in the n9.0.2 tree, the FFmpeg repository, and a VulnCheck advisory are listed in the record; their contents were not included in the pack beyond their presence in the reference list[1]
Bug or patch identifiersNone established by the reviewed sources[1]

The two CVSS scores come from a secondary scorer rather than from NVD, and both are base scores with no environmental or threat metrics applied. The CVSS 4.0 vector marks user interaction as passive (UI:P), whereas the CVSS 3.1 vector marks it as required (UI:R). Both scores are rated MEDIUM, and they differ in how they describe the availability impact.

Technical background

EXIF (Exchangeable Image File Format) is a metadata standard that stores camera settings, orientation, thumbnails and similar information inside image files. Its structure is based on TIFF (Tagged Image File Format). Within the metadata, an IFD (Image File Directory) is a table of entries; each entry names a tag and points to a value, which may be stored inline or at an offset elsewhere in the file. A parser must read the entry count, validate each offset and length against the buffer, and allocate or reference memory for each value. The reviewed sources describe the affected metadata as appearing in TIFF, JPEG, PNG and WebP images [1]. These are common image containers, and an application that accepts uploaded images or decodes files from external sources may process such metadata without any explicit step by the user.

FFmpeg is an open-source multimedia framework. libavcodec is its codec library, which decodes and encodes audio and video streams. The reviewed sources place the flaw in the EXIF parser in libavcodec [1]. Applications that embed libavcodec, or call the ffmpeg command-line tool, inherit the behaviour of that parser.

Key terms used in this article: DoS (denial of service) is an outcome that makes a service slow or unavailable. A memory-exhaustion flaw is one in which an input causes a program to consume excessive memory. CVSS (Common Vulnerability Scoring System) provides base severity scores. NVD (National Vulnerability Database) is the US government vulnerability database operated by NIST. KEV (Known Exploited Vulnerabilities) is the CISA catalog of vulnerabilities with reported exploitation. EPSS (Exploit Prediction Scoring System) is a FIRST model that estimates the probability of exploitation activity in the next 30 days.

Vulnerability description

The CVE record states that FFmpeg versions in the range 8.1 through 9.0.2 contain a memory exhaustion flaw in the EXIF parser. The record says that a small crafted EXIF block, with many directory entries referring to overlapping data, can drive memory allocation to a quadratic scale and cause denial of service in decoding applications [1].

Security property affected: availability. The reviewed sources describe no confidentiality or integrity effect [1]. The CVSS vectors likewise set confidentiality and integrity impact to none and availability impact to high [1].

Component and function: the EXIF parsing code in libavcodec/exif.c. The record links to a specific line in the n9.0.2 source tree, but the pack does not contain the code at that line, so the exact function is not established by the reviewed sources [1].

What an attacker can cause: excessive memory consumption and resulting denial of service in a process that decodes the crafted image [1]. The description does not state that the attacker can read data, write data, execute code or escalate privileges, and the reviewed sources do not establish any of these outcomes.

Conditions for the flaw to matter: the software must be an affected FFmpeg version, the process must parse EXIF metadata from an input file, and the input must reach that parser. Whether default builds, particular container paths or particular applications reach the parser is not established by the reviewed sources.

What the evidence does not establish: remote code execution, data disclosure, a confirmed exploit, the affected behaviour on specific operating systems, and the exact memory amplification factor.

Root cause analysis

Confirmed: the CVE record classifies the weakness as CWE-770, allocation of resources without limits or throttling, and describes overlapping IFD entries as the trigger for quadratic allocation [1]. The record therefore confirms that the parser does not enforce an adequate bound on the total work or memory it performs for one metadata block.

Analyst assessment: the description implies that the parser processes each directory entry and allocates or copies data for it, without a cumulative budget across entries and without detecting that many entries reference the same or overlapping ranges. If each entry requires work proportional to the number of entries already processed, the total cost grows quadratically with entry count, which matches the record's description. This is an inference from the CWE mapping and the description, not a statement made in the sources.

Why existing controls may fail: the parser reads a small input, so the input size alone does not reveal the amplification. Checks that validate each offset individually can pass when every entry is individually valid, while the aggregate cost remains large. This is also an inference.

Not established by the reviewed sources: the exact code path, the specific validation missing from the code, and the content of the upstream commit that the record references. The root cause should be confirmed from the upstream change and the advisory once available.

Technical mechanics

The following numbered flow is an Illustrative model based on the CVE description and the CWE mapping. It is not a verified trace of the FFmpeg code.

  1. An application receives an image in a supported container (TIFF, JPEG, PNG or WebP) from a file upload, a file share, a message or another input path [1].
  2. The decoding pipeline identifies the metadata block and passes it to the EXIF parser in libavcodec [1].
  3. The parser reads the IFD entry count from the block. Illustrative: in a correct parser, the entry count would be bounded against the block size and against a maximum number of entries.
  4. For each entry, the parser reads a tag, a type, a count and an offset, and derives the size of the referenced value. Overlapping entries reference the same bytes, so the parser may repeat work or allocation for data it has already handled [1].
  5. Illustrative: because each new entry adds allocation and processing proportional to the number of previously processed entries, the total work grows quadratically rather than linearly [1][Analyst assessment].
  6. Memory use rises until the process is slowed, exhausts its memory limit or is terminated, which the record describes as denial of service [1].
  7. The control that should have prevented this is a cumulative bound on entries, total allocation and total processed bytes for each metadata block, together with rejection of metadata that exceeds those bounds. The reviewed sources do not state which bound the upstream fix introduces [1].

Attack surface and exploitation prerequisites

PrerequisiteAssessmentBasis
Network accessNot established by the reviewed sources as a direct network service. The CVSS 3.1 and 4.0 vectors both set the attack vector to local (AV:L), which describes the attacker position as local to the scored component [1].Vector only; not verified by the record narrative
Adjacent-network accessNot applicable under the scored vectors (AV:A is not present) [1]Vector
Local or physical accessThe vectors indicate local access (AV:L) [1]. The record describes crafted image files, so delivery of the file to the processing host or application is the practical requirement. Whether delivery is remote through an application that accepts uploads is not established.Vector, plus record narrative
AuthenticationNone required according to the PR:N component in both vectors [1]Vector
Privilege levelNo privileges required according to both vectors [1]Vector
User interactionCVSS 3.1 sets UI:R, meaning a user action is required. CVSS 4.0 sets UI:P, which the scorer assigned to a passive interaction. Whether a user must open or view the image is not established by the reviewed sources [1].Vector; scorers disagree in framing
Required configurationNot established by the reviewed sources. The EXIF parser must be reached by the decoding path in an affected build [1].Record narrative, not configuration detail
Attacker position and interfacesAny interface that feeds images to the affected decoder (for example a file upload, a thumbnail generator or a media-processing service). The reviewed sources do not name specific product interfaces.Not established by the reviewed sources
Dependencies and limitationsAffected FFmpeg versions must be deployed, and the input must reach the EXIF parser. Distribution packages may differ from upstream version numbers, and backports may change exposure. Not established by the reviewed sources.Analyst assessment on backports

The CVSS vectors describe the scored case in general terms, and they cannot establish that a given deployment is exploitable. The record narrative and the vector disagree in their emphasis on delivery, so each deployment must be assessed against its own input paths.

Exploitation scenarios and attack lifecycle

No source in the pack documents an exploitation chain, a campaign or an attacker. The scenarios below are Illustrative and describe defensive points only.

Scenario A (Illustrative): an internet-facing service accepts user-uploaded images and generates thumbnails with an FFmpeg-based pipeline. An attacker uploads a small crafted image. The EXIF parser consumes excessive memory, the worker process is killed or stalls, and the service delays or drops other requests. Defensive opportunities: limit input metadata size before decoding, cap worker memory and runtime, isolate decoding in a separate process, and alert on repeated worker restarts.

Scenario B (Illustrative): a batch job on an internal host processes images from a shared folder that an external party can write to. A crafted file stalls the job and blocks a queue. Defensive opportunities: verify the source of files before processing, enforce per-file time and memory limits, and monitor queue depth.

Scenario C (Illustrative): a developer or analyst opens a crafted image in a desktop or command-line workflow that uses an affected build, causing a crash or a long hang. Defensive opportunities: upgrade development tooling and restrict the use of untrusted files outside sandboxes.

The reviewed sources do not establish any post-exploitation outcome beyond denial of service [1].

Impact analysis

AreaTechnically demonstrated (per record)Plausible downstream consequence (analyst assessment)
ConfidentialityNone stated; vectors set C:N [1]None expected from this flaw alone; not established by sources
IntegrityNone stated; vectors set I:N [1]None expected from this flaw alone; not established by sources
AvailabilityDenial of service in decoding applications through memory exhaustion [1]Interrupted media processing, delayed queues, restarted workers, possible impact on co-hosted services that share memory
Authentication and authorizationNot affected per the record; no privilege checks described [1]None established
Privilege boundariesNot described [1]Co-located processes may be affected if memory pressure is shared
Data and privacyNot described [1]None established; a denial of service does not by itself disclose data
Business operationsDenial of service in decoding applications [1]Service degradation for image-processing workflows that depend on FFmpeg
Regulatory or contractual obligationsNot established by the reviewed sourcesDepends on service-level commitments; must be assessed by the organization

Affected products and versions

VendorProduct / componentAffected versionsPlatformFixed versionSource and qualification
FFmpeglibavcodec, EXIF parser8.1 or later and up to and including 9.0.2, as stated in the CVE record [1]Not established by the reviewed sourcesNot established by the reviewed sources[1]; the CVE record is in Awaiting Analysis, so the range is the vendor-published CVE statement, not a confirmed fixed-version list
Distributions and bundled buildsPackaged libavcodec or ffmpeg binariesNot established by the reviewed sourcesVariousNot established by the reviewed sourcesNo distribution advisory is in the pack
Downstream applicationsApplications that embed libavcodecNot established by the reviewed sourcesVariousNot established by the reviewed sourcesNo application list is in the pack

The reviewed sources do not establish whether versions outside the stated range are affected, whether a fixed version exists, or which upstream release contains the fix. The reference to the n9.0.2 tag identifies a source line in that release, but the pack does not show that the line is patched. Versions must not be assumed safe because they fall outside the range; the range is the only range published in the pack, and it has not been independently verified against the upstream repository.

Exploitation and threat intelligence status

EvidenceStatusDate and reliability
Confirmed exploitation in the wildNot established by the reviewed sourcesNot applicable
CISA KEV listingNot listed as of 2026-11-12 in the complete catalog read for the pack [2]Absence from KEV is not evidence that exploitation has not occurred [2]
EPSS estimate0.0016 (0.17%) probability of exploitation activity in the next 30 days; percentile 0.0573 [3]Dated 2026-11-10; a statistical model estimate and not evidence of exploitation [3]
Public proof of conceptNot established by the reviewed sources; the record lists a pull request, a commit and a vendor-neutral advisory from VulnCheck, but their contents were not reviewed for exploit material [1]Reference presence only
Threat actors, campaigns or sectorsNot established by the reviewed sourcesNot applicable

The distinction between a proof of concept, confirmed exploitation and theoretical exploitability matters here. The record and the vectors support theoretical exploitability for denial of service. The reviewed sources do not show public exploit code or in-the-wild use. Because the record is Awaiting Analysis, these conclusions may change as NVD and the vendor complete their work.

Indicators of compromise

The reviewed sources provide no file hashes, file names, domains, IP addresses, URLs, process names, command lines or log events associated with exploitation of this CVE [1][2][3]. Indicators must not be invented. Any future indicator must be validated against the organization's own telemetry before it is blocked, because indicators go stale quickly.

The record describes the crafted input as a small EXIF block inside an image. That description is a characteristic of the input, not an indicator, and it cannot by itself identify malicious files among legitimate images. Detection of a sample file would require a controlled analysis environment and an authorized process; this article does not provide such a procedure.

Detection and exposure assessment

Step 1: asset inventory. Identify every host, container image and application that contains FFmpeg or libavcodec. Software bills of materials and package manager records are the primary sources. Record the installed version and whether it lies within the range in the CVE record [1].

Step 2: version check for the command-line tool. The standard ffmpeg command reports its version. Prerequisite: the binary is on the PATH and the user has permission to run it. Command: ffmpeg -version. Expected output: a banner that starts with the ffmpeg name and gives the version or build string. Limitation: the banner may show a distribution build string rather than an upstream number, and a distribution may have backported a fix. Interpret the result with the distribution advisory. This command is standard tooling and is not drawn from a source.

Step 3: library version check on Debian-based systems. Prerequisite: the package database is present. Command: dpkg -l with a package name pattern for libavcodec, for example dpkg -l 'libavcodec*'. Expected output: installed package names and versions. Limitation: the same package name may carry a version that differs from the upstream FFmpeg number, so compare against the distribution's security tracker. This is standard tooling and is not drawn from a source.

Step 4: configuration and input-path review. For each affected application, determine whether it decodes images that come from untrusted or external sources, including uploads, shared folders, email attachments and message attachments. The record does not give a configuration-specific test, so this review relies on the record narrative and the attack prerequisites above [1].

Step 5: authenticated vulnerability scanning. The pack contains no scanner signature or plugin reference for this CVE. Scanning results must be checked against the version range, and a scanner finding is an inventory signal, not proof of exploitability.

Step 6: log and telemetry review. Look for worker processes that repeatedly restart, exceed memory limits or time out during image decoding. The pack does not name specific log sources or event IDs for this CVE, so use the logs of the application that runs FFmpeg, and record the baseline before any change.

A version match is not proof that the flaw is reachable, and the absence of a version match does not prove that a deployment is safe if it uses a vendored or patched build that the inventory did not detect.

Immediate mitigation

The measures below are not vendor-confirmed mitigations. They are Analyst assessments that follow from the CVE description and the CWE classification, and each must be checked for operational fit.

  1. Restrict untrusted image input to FFmpeg-based decoding. Route uploads through a pipeline that decodes only after validation. Protects against remote delivery of crafted files through application inputs. Limitation: it does not remove the flaw from the library. Side effects: upload rejection for some legitimate images. Verification: confirm in configuration that the decode step is reached only through the validated path, and test with benign images from the approved set.
  1. Cap the memory and runtime of the decoding worker. On Linux, use an address-space limit (for example ulimit -v in the service unit) or a cgroup memory limit, and a per-job timeout. Protects against a single input consuming host memory. Limitation: it limits impact but does not stop the process from being denied service. Side effects: large legitimate images may fail. Verification: confirm the limit in the service configuration and check the effective limit in the process status of the running worker.
  1. Isolate decoding in a separate, restartable process or container so that a stall or crash does not take down unrelated services. Limitation: this contains the availability effect and does not change the vulnerable code. Side effects: added latency. Verification: confirm that the parent service survives a worker restart in a staging test with benign input.
  1. Strip or reject EXIF metadata before decoding where the pipeline does not need it. Limitation: this removes orientation or colour data that some applications use, and the image formats in the record are not all handled identically by every pipeline. Verification: confirm the pre-processing step runs and that a sample of processed images keeps the required fields.
  1. Increase monitoring of worker restarts, memory spikes and queue backlog on image-processing hosts. Limitation: this detects impact, not the input. Verification: confirm alerts fire on a controlled test of a restart event.
  1. Restrict who can place files into shared folders that feed decoding jobs. Limitation: it reduces delivery paths but does not address uploads from authorized users. Verification: confirm the access control list on the folder.

Permanent remediation

Confirmed fix: none established by the reviewed sources. The CVE record does not state a fixed version, and the pack contains no FFmpeg release note or vendor advisory describing a fix.

Recommended action: track the FFmpeg project release notes and the upstream commit referenced in the record for the change that addresses the EXIF parser. Once a fixed release is identified, upgrade to that release or later, rebuild any statically or vendored libavcodec, and redeploy dependent applications. Confirm the fixed version in the official FFmpeg advisory or the release notes before treating any release as fixed. Until then, the record's range should be treated as the affected set.

Distribution packages: apply the distribution's security update when published and confirm its changelog names this CVE or the upstream commit. No distribution advisory is in the pack.

Restart and reload: whether a service restart is required after an upgrade depends on how the application loads libavcodec. Not established by the reviewed sources; determine it per application, and restart all processes that have the old library loaded.

Backup and rollback: take a configuration backup and record the current binary or package version before upgrade. Schedule the change in a maintenance window for image-processing services, and test the rollback path in staging.

Workarounds and compensating controls

The mitigations in the previous section are compensating controls. They reduce exposure and impact, but they do not change the vulnerable parser code, and the residual risk is that a crafted input still causes denial of service on any affected build that reaches the parser. Workarounds are not equivalent to a permanent fix because they depend on correct deployment and on the assumption that every input path is covered. Residual risk should be accepted only with a documented owner and an end date tied to the upgrade.

Validation and verification

  1. Confirm the installed FFmpeg version or distribution build string on each host and container, using the commands in the detection section, and record the result with the date and owner.
  2. Confirm that every application that embeds libavcodec has been rebuilt or updated and that its running processes load the updated library. Check the loaded library version in the running process, using the platform's standard tools, rather than relying on the package database alone.
  3. Confirm that the mitigation settings are still in place: the decode path, the memory and runtime limits, and the isolation boundary.
  4. Run the vendor or distribution test suite where one is published, or a regression test with benign images in a staging environment. Do not use crafted exploit inputs; the aim is to confirm stable behaviour under normal load.
  5. Review logs and service health for at least one full operational cycle after the change, looking for worker restarts, memory spikes and queue backlog.
  6. Re-run the authenticated scan and confirm the finding is closed for each host. A closed scan finding is not, by itself, proof that the system is secure.
  7. Record evidence, owner, date and exceptions. Exceptions must name a compensating control and an expiry date.

Incident response

If worker restarts, memory exhaustion or repeated decoding timeouts are observed on image-processing hosts, treat the event as a possible instance of this flaw until the cause is established.

  1. Triage and scope: identify the affected hosts, applications and input sources, and establish the FFmpeg version in use.
  2. Containment: restrict the input source, apply the memory and runtime limits, and isolate the affected worker. Do not delete files or logs during containment.
  3. Evidence preservation: copy the relevant service logs, worker logs, queue state and the offending input files to a protected location, with hashes recorded, and follow the organization's incident response plan.
  4. Log and endpoint investigation: review the time sequence of worker restarts and the inputs processed before each event. Look for repeated submissions from the same source.
  5. Credential rotation: not warranted by this flaw alone, because the record describes no confidentiality or integrity effect. Rotate credentials only if other evidence shows compromise.
  6. Eradication and patching: upgrade to a fixed version once identified and confirmed, and remove the input path if it is not needed.
  7. Recovery and monitoring: restore service, and monitor restart and memory metrics for at least one operational cycle.
  8. Notification and reporting: assess obligations based on the service and contracts involved. Not established by the reviewed sources; this depends on the organization.
  9. Lessons learned: document the input path, the detection gap and the time to patch.

Security hardening and prevention

The measures below relate to this flaw and are labelled either as flaw-specific or as defence-in-depth.

Flaw-specific: enforce cumulative bounds on metadata entries, total allocation and total processed bytes in any parser that handles untrusted image metadata. Add regression tests that feed the parser metadata blocks with large numbers of overlapping entries and assert bounded resource use. Confirm that the fix covers every supported container (TIFF, JPEG, PNG and WebP) named in the record [1].

Flaw-specific: where an application uses FFmpeg to decode uploads, set explicit limits on input size, decode time and memory in the service configuration, and record these values in the change management system.

Defence in depth: run media decoding in a sandboxed, least-privilege process with no access to secrets. Keep a software bill of materials that records the libavcodec version for every image. Monitor decoding worker health as a service-level indicator. Review dependency update processes so that library updates reach vendored copies.

Defence in depth: include malformed-input fuzzing of metadata parsers in the development pipeline, as a general practice for media libraries, and track its results against fixed versions.

Risk assessment

Technical severity: the secondary scores are MEDIUM (CVSS 4.0 6.8, CVSS 3.1 5.5). Both reflect a high availability impact and no confidentiality or integrity impact, with local attack vector and no privileges required [1]. These scores do not account for an organization's exposure.

Exposure and asset criticality: high where FFmpeg decodes uploads from external users or processes files on a shared pipeline that supports critical services. Lower where FFmpeg is installed but never receives untrusted images.

Prerequisites and attacker opportunity: the record describes a small crafted file. The reviewed sources do not establish whether the attack is reachable remotely through a given application. The EPSS estimate for the next 30 days is 0.0016 (0.17%), which is low relative to other vulnerabilities [3]. This is a model estimate, not evidence of activity.

Evidence of exploitation: none in the pack. The CVE is not listed in KEV as of 2026-11-12 [2].

Potential business impact: interrupted media-processing services and delayed queues. Confidentiality and integrity impact are not established [1].

Existing controls and residual risk: whether memory limits, isolation or input validation already exist is not known from the pack. Residual risk remains until a fixed version is deployed.

Analyst assessment of organization-specific priority, with stated assumptions and not the CVSS score: for organizations that process images from untrusted external sources with FFmpeg, treat remediation as high priority, starting with input-path restriction and resource limits, then upgrade once a fixed version is confirmed. For organizations where FFmpeg is present but does not process untrusted images, treat remediation as normal priority within the regular patch cycle, after the fixed version is confirmed. These assumptions are that the record remains accurate, that no fix is yet confirmed, and that the input paths are as described above.

Conclusion

CVE-2026-125180 is a memory-exhaustion flaw in the EXIF parser of FFmpeg's libavcodec, classified as CWE-770, that the record says can be triggered by a small crafted metadata block and can cause denial of service in decoding applications [1]. The affected range stated by the record is 8.1 through 9.0.2 [1]. The secondary scores are MEDIUM, and the scorer is VulnCheck rather than NVD [1]. Owners of systems that decode untrusted images with FFmpeg should act first: restrict untrusted input, cap decoder resources and isolate decoding. The permanent fix is an upgrade to an upstream release that contains the parser change, which the reviewed sources do not yet identify. The issue can be closed when the installed version on every affected host is confirmed as fixed by the vendor, the mitigation settings are verified, the scan finding is closed, and the evidence and exceptions are recorded.

Evidence gaps

Not established by the reviewed sources: a fixed FFmpeg version and the upstream release that contains it; the content and exact code change of the referenced commit and pull request; the exact vulnerable function and the missing validation; whether versions outside the stated range are affected; whether distribution packages are affected or fixed; the NVD analysis and any NVD-assigned score, which would come when the record leaves Awaiting Analysis; a vendor advisory or release note; any public proof of concept or exploit material; any indicator of compromise; and the list of downstream applications that embed libavcodec.

Remediation checklist

  1. Inventory every host, container and application that contains FFmpeg or libavcodec, and record the installed version against the stated range of 8.1 through 9.0.2 [1]; verify with ffmpeg -version and, on Debian-based systems, dpkg -l 'libavcodec*'.
  2. Identify which applications decode images from untrusted or external sources, including uploads and shared folders, because the record describes crafted images as the trigger [1].
  3. Route untrusted image decoding through a validated input path and reject images that fail validation before they reach FFmpeg, and confirm the routing in the service configuration [1].
  4. Set an address-space or cgroup memory limit and a per-job timeout on each FFmpeg decoding worker, and confirm the effective limit in the running process status (Analyst assessment, following from the CWE-770 classification [1]).
  5. Isolate decoding workers in separate restartable processes or containers so that a worker failure does not stop unrelated services, and verify that the parent survives a worker restart in staging [1].
  6. Enable alerts for decoding worker restarts, memory spikes and queue backlog on image-processing hosts, and confirm an alert fires during a controlled test [1].
  7. Track the FFmpeg project release notes and the upstream commit referenced in the CVE record, and identify the first release that contains the EXIF parser fix; the reviewed sources do not establish it [1].
  8. Upgrade affected FFmpeg and libavcodec installations to the confirmed fixed release, rebuild vendored copies and redeploy dependent applications, and restart all processes that loaded the old library [1].
  9. Apply distribution security updates when published and confirm the changelog names this CVE or the upstream change; no distribution advisory is in the pack [1].
  10. After upgrade, re-run authenticated scanning, confirm the loaded library version in running processes, and record evidence, owner, date and exceptions; a closed finding alone is not proof of security [1].

Evidence gaps

  • A fixed FFmpeg version and the upstream release containing it are not established; the record gives only the affected range and the remediation must be confirmed from the FFmpeg release notes or vendor advisory [1].
  • The content of the referenced commit and pull request is not in the pack; confirming the root cause and the missing validation requires reviewing that upstream change [1].
  • The exact vulnerable function and code path are not established; the record references a source line but the pack does not contain it [1].
  • Whether versions outside 8.1 through 9.0.2 are affected is not established; the range comes only from the vendor CVE statement and has not been independently verified [1].
  • Distribution and downstream application exposure is not established; a distribution advisory and an application inventory would settle it.
  • NVD analysis and NVD-assigned scoring are absent because the record is Awaiting Analysis; they would appear when NVD completes its review [1].
  • No public proof-of-concept, exploit material or in-the-wild exploitation evidence is in the pack; the referenced advisory would need review to determine whether it contains exploit detail [1][2].
  • No indicators of compromise are given by any source; telemetry-based indicators would need vendor or responder reporting [1][2][3].
  • Preconditions for default builds and specific container formats (TIFF, JPEG, PNG and WebP) are not established as to whether each reaches the parser in typical configurations [1].

References

  1. CVE-2026-125180 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125180. Accessed 2026-11-12. CVE identity, record status and dates, official description paraphrased, CWE-770 classification, CVSS 4.0 and 3.1 scores, vectors and secondary scorer, affected range 8.1 through 9.0.2, reference list and the absence of a fixed version or NVD-assigned score.
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12. The CVE is not listed in the CISA KEV catalog as of 2026-11-12, and that absence is not evidence that exploitation has not occurred.
  3. EPSS score for CVE-2026-125180. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125180. Accessed 2026-11-12. FIRST EPSS estimate of 0.0016 (0.17%) with percentile 0.0573 for the next 30 days, dated 2026-11-10, described as a statistical estimate rather than evidence of exploitation.

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

FFmpeg 8.1 through 9.0.2 contains a memory exhaustion vulnerability in the libavcodec/exif.c parser that allows attackers to amplify allocations by pointing many IFD entries at overlapping payloads. Attackers can embed a small crafted EXIF block in TIFF, JPEG, PNG or WebP images to trigger quadratic memory allocation, causing denial of service in decoding applications.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 6.8 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker without an account can exploit this with local access if a user views or visits something.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
no
User action needed
yes, a user must view or visit something
Impact
high on availability, none on confidentiality and integrity
Impact on other systems
none

Vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 5.5 from the CNA (vulncheck.com): CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Affected and fixed versions

ProductAffected versionsFixed in
FFmpeg≥ 8.1, ≤ 9.0.2—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • FFmpeg

Frequently asked questions

What is CVE-2026-125180?

CVE-2026-125180 is a resource-exhaustion flaw in the EXIF metadata parser in FFmpeg's libavcodec/exif.c, in which many directory entries pointing at overlapping data cause allocation to grow quadratically. The CVE record lists affected versions as 8.1 or later and up to and including 9.0.2. Weakness type: Allocation of Resources Without Limits or Throttling (CWE-770).

How severe is CVE-2026-125180?

CVE-2026-125180 has a CVSS 4.0 base score of 6.8 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something.

Is CVE-2026-125180 being exploited?

Not as far as is known: CVE-2026-125180 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-125180?

FFmpeg ≥ 8.1, ≤ 9.0.2.

How do I fix CVE-2026-125180?

Inventory every host, container and application that contains FFmpeg or libavcodec, and record the installed version against the stated range of 8.1 through 9.0.2; verify with ffmpeg -version and, on Debian-based systems, dpkg -l 'libavcodec'. Identify which applications decode images from untrusted or external sources, including uploads and shared folders, because the record describes crafted images as the trigger. Route untrusted image decoding through a validated input path and reject images that fail validation before they reach FFmpeg, and confirm the routing in the service configuration.

Timeline & sources

References