Home › CVE › Vulnerabilities
CVE-2026-125243 — FFmpeg
One of 121 FFmpeg vulnerabilities published together by NVD.
VulnerabilitiesResearch article
FFmpeg JPEG-LS decoder through 9.0.2 can leak uninitialized heap memory via 16-bit interleaved images
| CVE | CVE-2026-125243 |
|---|---|
| Vendor and product | FFmpeg |
| Published | November 12, 2026 07:20 UTC |
| Research cut-off | November 12, 2026 07:12 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10) |
Executive summary
CVE-2026-125243 is an uninitialized memory disclosure flaw in the JPEG-LS decoder function ffjpeglsdecodepicture() in libavcodec/jpeglsdec.c, affecting FFmpeg through 9.0.2 [1]. The record describes a mismatch in which 16-bit line-interleaved JPEG-LS scans are decoded as 8-bit samples, so GRAY16 output frames can contain leftover heap memory [1]. The only CVSS scores in the pack are secondary scores from VulnCheck: CVSS 4.0 4.8 MEDIUM (vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/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 3.3 LOW (vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N) [1]. Exploitation requires a local position, no privileges, and a user or processing step that decodes the attacker-supplied file, and the impact is limited to confidentiality [1]. The record is still Awaiting Analysis, the CISA KEV catalog did not list the CVE as of 2026-11-12, and the FIRST EPSS estimate is 0.0012 [1, 2, 3]. Neither the absence from KEV nor the low EPSS value shows that the flaw has not been exploited. The most important immediate action is to inventory every FFmpeg build and every application that embeds libavcodec, identify those at or below 9.0.2, and restrict decoding of untrusted JPEG-LS input until a vendor-fixed build is confirmed [1].
Key points
- CVE-2026-125243 is an uninitialized memory disclosure in FFmpeg's JPEG-LS picture decoder, affecting versions through 9.0.2 [1].
- The secondary CVSS scores are 4.0 4.8 MEDIUM and 3.1 3.3 LOW, both reflecting a local, unauthenticated, confidentiality-only issue [1].
- The record is Awaiting Analysis and no vendor fixed version is established in the pack [1].
- CISA KEV did not list the CVE as of 2026-11-12, and the EPSS estimate is 0.0012; neither proves non-exploitation [2, 3].
- Most urgent action: inventory FFmpeg and embedded libavcodec at or below 9.0.2 and restrict untrusted JPEG-LS input and output sharing [1].
Vulnerability identification
The table below lists the identifiers, dates, scores and classifications from the reviewed sources. Where a field is not in the pack, it is marked accordingly.
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-125243 | S1 |
| Vendor | FFmpeg project | S1 |
| Product and component | FFmpeg, libavcodec, function ffjpeglsdecodepicture() in libavcodec/jpeglsdec.c | S1 |
| Affected platform | Not established by the reviewed sources | Not established by the reviewed sources |
| Published | 2026-11-09T19:17:02 | S1 |
| Last modified | 2026-11-10T21:46:31 | S1 |
| Record status | Awaiting Analysis | S1 |
| CWE | CWE-908 (Use of Uninitialized Resource) | S1 |
| CVSS 4.0 | 4.8 MEDIUM; vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/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) | S1 |
| CVSS 3.1 | 3.3 LOW; vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N; scored by disclosure@vulncheck.com (Secondary) | S1 |
| EPSS | 0.0012 (0.12%), percentile 0.0181, dated 2026-11-10 | S3 |
| CISA KEV | Not listed as of 2026-11-12 | S2 |
| Related references | The record links a pull request, a commit, a version-tagged source line and a third-party advisory. The pack does not establish which, if any, is the fix. | S1 |
The record has no NVD-assigned CVSS score in the pack; both scores are secondary scores from VulnCheck, and the 4.0 and 3.1 scores use different metric definitions, so they are not directly comparable [1]. The CWE mapping is to CWE-908, which is a weakness class for reading a resource before it has been set to a defined value [1]. The CWE assignment indicates the classification the record uses; it does not explain the specific code error, which the sources do not describe (see Root cause analysis).
Technical background
FFmpeg is an open-source multimedia framework. Its libavcodec library contains the codec implementations that decode and encode audio and video streams [1]. JPEG-LS is a lossless and near-lossless image compression format standardized for continuous-tone images. Within a JPEG-LS file, the scan header carries an interleave mode field, which the record refers to as the ILV byte. In general JPEG-LS practice, this field selects whether multi-component data is stored without interleaving, by line, or by sample; this description of the field is general format background and is not drawn from the pack [1].
The record states that the decoder function ffjpeglsdecodepicture() handles the picture decoding for this format and that it treats 16-bit line-interleaved scans as 8-bit samples [1]. Two properties therefore matter. First, the sample depth used to read and place decoded values must match the depth declared by the image. Second, the output buffer that receives decoded pixels must be fully written, or its unwritten portion must be cleared, before the frame is handed to a caller or a consumer [1]. The pack does not describe the buffer allocation code, so the exact mechanism that connects these two properties is an analyst assessment (see Root cause analysis).
Terms used below: a heap is the region of process memory used for dynamically allocated buffers. Uninitialized memory is memory that has been allocated but not yet assigned a known value, so it may still contain data from earlier use. A GRAY16 frame is a grayscale picture with 16 bits per pixel, which is the pixel format named in the record [1].
Vulnerability description
The security property affected is confidentiality. The record describes a disclosure of memory contents that were not written by the decoder for the current frame [1]. The flawed component is the JPEG-LS picture decoding function in libavcodec, and the trigger is the handling of 16-bit line-interleaved scans [1].
What an attacker can cause, according to the record, is that decoded GRAY16 frames expose leftover heap memory. The record does not state what data in that memory would be exposed, how much could be read per attempt, or whether the exposed bytes can be controlled by the attacker [1].
Conditions that must exist for the flaw to matter, as described or implied by the record: the software must be a vulnerable FFmpeg version (through 9.0.2), the decoder for JPEG-LS must process the attacker-supplied file, and the resulting frame must be made available to a person or process that can read it [1]. The CVSS vectors also indicate that the attack is local, requires no privileges, and in the 4.0 vector requires passive user interaction, while the 3.1 vector requires user interaction; these are scoring assumptions, not confirmed attack steps [1].
What the sources do not establish: the record does not show remote code execution, memory corruption that changes control flow, a write primitive, or any loss of integrity or availability. The CVSS 4.0 vector sets integrity, availability and subsequent-system impacts to none, and the 3.1 vector sets integrity and availability to none [1]. The record also does not establish that the disclosed data is secret in a particular deployment.
Root cause analysis
Confirmed: the record classifies the weakness as CWE-908 and describes a decoding path that handles 16-bit interleaved scans with 8-bit sample handling, leaving heap memory in decoded GRAY16 frames unset [1].
Not established by the reviewed sources: the exact lines of code, the buffer size calculation, the allocation call, and the point at which the uninitialized bytes are read. The record references a source line in the version-tagged jpeglsdec.c and a pull request, but the pack does not reproduce their contents, so the precise location is not established by the reviewed sources [1].
Analyst assessment: the most plausible explanation is that the decoder sizes or fills the output frame for 8-bit samples while the interleaved 16-bit path writes fewer bytes than the frame exposes, or writes samples in an order that leaves some bytes untouched. A pre-allocated frame buffer that is not zero-initialized would then retain prior heap contents in the unwritten region. This is consistent with the CWE-908 classification and the description, but it is an inference and has not been confirmed by a source in the pack [1].
Why existing controls may fail: a sample-depth mismatch is a type and format-consistency check that is easy to miss when a decoder supports several bit depths and interleave modes. Buffer allocation that does not zero memory is a common performance choice, and it is safe only if every byte of the output is always written. The pack gives no evidence about which safeguards FFmpeg applies to frame allocation in this path [1].
Technical mechanics
The following numbered flow is Illustrative. It describes the mechanism as the record and the CWE classification suggest, not a traced execution path.
- The application passes an attacker-supplied JPEG-LS file to libavcodec, either directly or through a higher-level FFmpeg tool or library call [S1, Illustrative].
- The container and scan headers are parsed, and the decoder reads the interleave mode from the scan header, which is the ILV field in the record [1].
- For a single-component image with interleave mode 1, the decoder selects a processing path that the record describes as treating 16-bit line-interleaved data as 8-bit samples [1].
- The output frame is prepared as a GRAY16 picture, which uses two bytes per pixel [S1, Analyst assessment on the buffer shape].
- Decoded samples are written into the frame. Because the sample depth used on this path does not match the data depth, not every byte of the frame is written with a decoded value [S1, Analyst assessment].
- The unwritten bytes keep whatever the heap held when the buffer was obtained [S1, Analyst assessment].
- The frame is returned to the caller. A caller that saves, displays, transcodes or forwards the frame can make the leftover bytes visible to whoever receives that output [S1, Illustrative].
Controls that should have prevented this: a strict match between the declared bit depth and the sample width used during decoding; zero-initialization of newly allocated frame buffers or explicit clearing of unwritten regions; and tests that check every output byte for the 16-bit interleaved case. The pack does not state which of these controls exist or are missing in the vulnerable code [1].
Authentication and authorization checks: none are described in the record for this decoding path. The attack requires only the ability to supply input to the decoder [1].
Attack surface and exploitation prerequisites
| Prerequisite | Assessment | Source |
|---|---|---|
| Network access | Not indicated by the CVSS vectors, which set the attack vector to local | S1 |
| Adjacent network | Not indicated by the vectors | S1 |
| Local access | Indicated by the CVSS AV:L metric; scoring assumption, not confirmed by a source describing an attack path | S1 |
| Physical access | Not indicated | S1 |
| Authentication | None required per the PR:N metric in both vectors | S1 |
| Privilege level | No privileges per the PR:N metric; scoring assumption | S1 |
| User interaction | Passive (UI:P) in CVSS 4.0; required (UI:R) in CVSS 3.1; the pack does not say which action is needed | S1 |
| Configuration | The record does not state a non-default configuration; whether the JPEG-LS decoder is enabled in a given build is not established by the reviewed sources | S1 |
| Input | A crafted single-component JPEG-LS file with interleave mode 1 is described as the trigger | S1 |
| Attacker position | Any position that can supply a file to a vulnerable decoder; the pack names no specific service or interface | Not established by the reviewed sources |
| Environmental dependencies | Heap contents that are not overwritten are needed for meaningful data exposure; the record does not describe what data is typically present | S1 |
Do not infer real exploitability from the CVSS vectors alone. The vectors describe scoring assumptions. The record does not provide a tested exploit path, a list of affected applications, or a description of the receiving interface where the output would be exposed.
Exploitation scenarios and attack lifecycle
No source in the pack documents exploitation of this CVE in the wild, and no source documents a proof of concept. The scenarios below are Illustrative and are included for defensive planning.
Scenario 1 (Illustrative): a multi-user build server or media-processing service decodes uploaded images with FFmpeg as part of thumbnail generation. An external submitter supplies a crafted JPEG-LS file. The service stores the resulting GRAY16 output, and a different user later downloads or views it, which could reveal heap fragments from earlier processing. Defensive opportunities: restrict which formats the service accepts, run decoding in an isolated worker, and log the decoder format and dimensions for each job.
Scenario 2 (Illustrative): a local user on a shared workstation runs FFmpeg on a file received from another party. The output file contains residual memory, which the local user or a synchronized folder then exposes to a wider audience. Defensive opportunities: restrict FFmpeg use on untrusted media to sandboxed environments and monitor for unusual decoding of JPEG-LS content.
In both scenarios the attacker's gain is limited to information disclosure, as the CVSS vectors and record suggest. No chain to code execution, privilege escalation or lateral movement is documented by the sources [1].
Impact analysis
| Area | Technically demonstrated by sources | Plausible downstream consequence (Analyst assessment) | Source |
|---|---|---|---|
| Confidentiality | Disclosure of leftover heap memory in decoded GRAY16 frames [1] | Exposure of any data that previously resided in that heap region, depending on the workload; the record does not define the data | S1 |
| Integrity | Not established; the vectors set integrity impact to none [1] | None established | S1 |
| Availability | Not established; the vectors set availability impact to none [1] | None established | S1 |
| Authentication | Not established; no authentication bypass is described [1] | None established | S1 |
| Authorization and privilege boundaries | Not established; the vectors set privilege requirements to none [1] | If a shared process or service mixes data from different users, a cross-user boundary could be affected; this depends on deployment | S1 |
| Data and privacy | Not established beyond the general confidentiality statement [1] | If the exposed heap contains personal data, privacy obligations may apply; this depends on the workload | S1 |
| Business operations | Not established | Not established by the reviewed sources | Not established by the reviewed sources |
| Regulatory or contractual | Not established | Not established by the reviewed sources | Not established by the reviewed sources |
Affected products and versions
| Vendor | Product or component | Affected versions | Platform or deployment | Fixed version | Source and qualification |
|---|---|---|---|---|---|
| FFmpeg | FFmpeg, libavcodec JPEG-LS decoder | Through 9.0.2 (affected ≤ 9.0.2), as published by the CNA in the CVE record | Not established by the reviewed sources | Not established by the reviewed sources | S1; the version range is from the CVE record, and the record is Awaiting Analysis |
The pack does not provide a lower bound for the affected range, so the earliest affected version is not established by the reviewed sources. Distribution packages, forks and applications that embed libavcodec may carry different versions or backports; the reviewed sources do not list any of them, so their status is not established. The record's source line references point to the 9.0.2 tag, but the pack does not confirm whether the affected code is identical in other branches [1].
Exploitation and threat intelligence status
Confirmed exploitation in the wild: not established by the reviewed sources.
CISA KEV: the catalog did not list CVE-2026-125243 as of 2026-11-12. The source notes that this is not evidence that the CVE has not been exploited [2].
Public proof of concept: not established by the reviewed sources. The record references a third-party advisory, but the pack does not state that it contains exploit code [1].
Threat actors, campaigns and sectors: not established by the reviewed sources; no source attributes activity.
EPSS: the estimated probability of exploitation activity in the next 30 days is 0.0012 (0.12%), percentile 0.0181, dated 2026-11-10. EPSS is a statistical model estimate and is not evidence of exploitation [3].
The current evidence therefore supports theoretical exploitability for an information disclosure only. The absence of KEV listing and of public exploit references in the pack is not proof that exploitation has not occurred.
Indicators of compromise
Not established by the reviewed sources. The pack contains no file hashes, file names, domains, IP addresses, URLs for malicious content, process names, command lines or log events associated with this CVE. Any indicator should be validated before blocking, and indicators in this area would be specific to the attacker's input file, which the sources do not describe.
Detection and exposure assessment
Asset inventory. Identify every host, container image and application package that includes FFmpeg or libavcodec. Include statically linked binaries, which a package manager may not report.
Version check on a host where the ffmpeg command-line tool is installed. Prerequisite: the tool is on the PATH. Command: ffmpeg -version. Expected output: a version banner that shows the FFmpeg version and the libavcodec library version. Limitation: a version at or below 9.0.2 is consistent with the affected range but is not proof of exploitability. Distribution builds may backport fixes without changing the upstream version string, so the vendor's package changelog should be checked as well.
Decoder availability check. Prerequisite: the same tool. Command: ffmpeg -decoders. Expected output: a list of decoders that includes an entry for JPEG-LS. Limitation: presence of the decoder indicates that the vulnerable code path is compiled in; it does not show that the application decodes untrusted input.
Application inventory. For each application that links libavcodec, identify whether it accepts JPEG-LS input from external sources. This is a configuration and workflow review, not a scanner result.
Authenticated vulnerability scanning: the pack does not identify a scanner signature or plugin for CVE-2026-125243. Check whether your scanner has added one before relying on it, and treat a negative result as incomplete unless the scanner's coverage of embedded libraries is confirmed.
Telemetry: review application logs for JPEG-LS decoding of external inputs, since the pack gives no specific log event. Record the file origin and the decoder format where the application already logs it.
Immediate mitigation
Each measure below is Analyst assessment derived from the record's description. None is stated by a source as a vendor-recommended mitigation, so each should be checked against the vendor's guidance once it is published.
- Restrict untrusted JPEG-LS input. Reject or block uploads with JPEG-LS content at the upload gateway or in the application's format allowlist. Protects against the described trigger. Limitation: format identification must be reliable, and file-content checks may be needed beyond extensions. Side effect: legitimate JPEG-LS images will be refused. Verification: submit a test file of an allowed format and confirm the rejection of a JPEG-LS file in a staging environment.
- Isolate decoding. Run FFmpeg decoding of untrusted media in a separate, unprivileged, short-lived process or container with no access to unrelated data. Protects against the disclosure of other process memory or data in the same service. Limitation: isolation does not remove the disclosure within the decoder's own output. Side effect: performance cost and added operational complexity. Verification: confirm the worker runs under a non-privileged account and that its filesystem and network scope are limited.
- Restrict output sharing. Do not return decoded GRAY16 output from JPEG-LS inputs to other users or systems until the vendor fix is confirmed. Protects against cross-user exposure of residual memory. Limitation: relies on the application's ability to identify the output source. Side effect: a service interruption for affected workflows.
- Increase monitoring of decoder jobs that process JPEG-LS inputs, recording the source, user and time. Protects against unnoticed large-scale use; it does not prevent exploitation. Verification: confirm that the log entries appear for a test job.
- Restrict local access on shared systems, so that users who should not see one another's processing results cannot run FFmpeg on untrusted files. Limitation: local users with existing access remain a concern.
Permanent remediation
Vendor-confirmed fix: not established by the reviewed sources. The pack does not name a fixed FFmpeg release, a vendor advisory identifier or a patch identifier. The record lists a pull request and a commit, but the pack does not confirm either as the fix or the release that includes it [1].
Recommended remediation (recommended hardening, not a vendor fix): when a fixed release is published, update FFmpeg and every embedded libavcodec to that release, rebuild statically linked applications, and update distribution packages through the vendor's channel. Until then, keep the mitigations above in place.
Upgrade prerequisites: confirm the build configuration, library dependencies and any custom patches or forks that the release may conflict with. Take a configuration backup and record the current ffmpeg -version output before the change. Plan a rollback path, which for a package-managed installation is reinstalling the prior package version from the local cache or the repository snapshot.
Restart requirements: any long-running service that loads libavcodec must be restarted after the library update, since the old library remains loaded in running processes. The pack does not give a restart requirement from the vendor.
Workarounds and compensating controls
No vendor-supported workaround is documented in the reviewed sources. The mitigations in the Immediate mitigation section are compensating controls and are not equivalent to a fixed release. They reduce the chance that an attacker's input reaches the decoder or that residual output reaches a user, but they do not correct the decoding path. Their residual risk is that any remaining path that accepts JPEG-LS input would still expose residual heap data, and that an isolated worker can still return the leaked bytes in its output.
Validation and verification
No validation step can be completed until a vendor-fixed release is identified. Once it is, use the following checklist, which relies on read-only checks and authorized testing only:
- Record the installed FFmpeg version with ffmpeg -version on each host, and compare it against the fixed release the vendor identifies.
- Confirm the package manager reports the fixed package version, and that statically linked binaries have been rebuilt.
- Confirm the application restarted, and that the running process uses the updated library.
- Rerun the decoder availability check and confirm the application's JPEG-LS handling still matches its intended policy.
- Re-run an authenticated scan that includes the vendor's detection content, if one exists, and treat a single clean result as partial evidence only.
- Confirm that the compensating controls remain in place until the upgrade has been verified across all hosts.
- Review decoder job logs for a sample period after the change.
- Record the evidence, the owner, the date and any exceptions, and keep the record with the change ticket. Do not conclude that a system is secure from a single check.
Incident response
If exploitation is suspected, follow the organization's incident response plan. The pack gives no indicators, so suspicion must rest on the application's own logs, such as unusual JPEG-LS jobs from external sources or a user reporting unexpected content in decoded images.
Triage and scope: identify every host and application that decoded JPEG-LS input from untrusted sources during the exposure window, using the logs described in the detection section.
Containment: restrict the affected workflow and isolate the worker, without deleting its files.
Evidence preservation: preserve the input files, the decoded outputs, the application and system logs, and the FFmpeg binary and version. Do not rebuild or overwrite the host before collection.
Investigation: determine whether decoded outputs were shared with other users or systems, and what data the affected application processes.
Credentials and secrets: rotate credentials only if the investigation shows that the application's heap could have held them and that the output was exposed. The pack does not show this.
Eradication and recovery: update to the vendor-fixed release once identified, verify it, and restore the workflow with monitoring.
Notification: legal and contractual obligations depend on the data involved and are not established by the reviewed sources.
Lessons learned: document the exposure window, the decision points and the time to fix.
Security hardening and prevention
Specific to this flaw: add decoder tests that cover 16-bit line-interleaved JPEG-LS scans and verify that every byte of the output frame is either written by the decoder or explicitly cleared. Require that bit depth declared by the image matches the sample width used by the decoder, and fail the decode when they differ.
Secure development (defence-in-depth, broader measures): require code review for changes to decoder output buffers, and add fuzzing of image decoders with sanitizers that detect uninitialized reads, such as MemorySanitizer, in continuous integration. These are general recommendations and are not from the pack.
Least privilege and isolation (defence-in-depth): run media decoders as unprivileged workers with no access to unrelated data and short lifetimes.
Attack-surface reduction: disable decoders that are not needed by your applications, and maintain an allowlist of input formats.
Patch and vulnerability management: track the FFmpeg version and the embedded libavcodec version in your software inventory, and set a target window for applying the vendor fix once it is published.
Logging and monitoring: log the format, source and user for each decode job.
Risk assessment
Technical severity: the secondary CVSS 4.0 score is 4.8 MEDIUM and the 3.1 score is 3.3 LOW, both reflecting a local, unauthenticated, information-disclosure-only issue [1]. The record is Awaiting Analysis, so NVD has not yet completed its own analysis [1].
Exposure and asset criticality: depends on whether your systems decode untrusted JPEG-LS input and whether their outputs cross trust boundaries. The pack contains no data about your environment.
Exploit prerequisites and attacker opportunity: the input must reach a vulnerable decoder. No source confirms an exploit path or a public proof of concept [1, 3].
Evidence of exploitation: not established by the reviewed sources; not in KEV as of 2026-11-12 [2].
Potential business impact: information disclosure of residual memory, with the magnitude depending on the data processed by the affected workflow. Not established by the reviewed sources.
Existing controls and residual risk: unknown without an inventory and workflow review.
Recommended priority (Analyst assessment, organization-specific and not a CVSS score): treat as a medium-priority item for systems that decode untrusted media and as a low-priority item for systems that process only trusted files. Raise the priority if the investigation shows that decoded output reaches other users, or if a vendor fix is published and your exposure is confirmed. The assumptions are that the vulnerable version is deployed and that the decoder accepts external input.
Conclusion
The flaw is an uninitialized memory disclosure in FFmpeg's JPEG-LS picture decoder, where 16-bit line-interleaved scans are decoded with 8-bit sample handling, leaving residual heap data in GRAY16 output frames [1]. Teams that run FFmpeg or embed libavcodec on untrusted media should act first by inventorying affected versions through 9.0.2 and by restricting untrusted JPEG-LS input and its output sharing [1]. The permanent fix is a vendor-released version that is not yet identified in the pack. Closing the issue requires the vendor's fixed release and advisory, a verified update across all inventory entries, and evidence that the decoder rejects or correctly handles the affected input [1, 2].
Remediation checklist
- Inventory every host, container image and application package that includes FFmpeg or libavcodec, and record the version reported by ffmpeg -version against the affected range through 9.0.2 [1].
- Identify each application that decodes JPEG-LS input from external or untrusted sources, using the application's own configuration and workflow records [1].
- Restrict untrusted JPEG-LS input at the upload gateway or application format allowlist, and verify the rejection with a test file in staging [1].
- Move decoding of untrusted media into unprivileged, short-lived isolated workers, and confirm their user account and filesystem scope [1].
- Stop returning decoded GRAY16 output from JPEG-LS inputs to other users or systems until a vendor fix is verified [1].
- Enable or review logging of decoder jobs that record source, user, format and time, and verify with a test job that the entries appear [1].
- Monitor the vendor and the CVE record for a fixed release and advisory, since none is established in the pack [1].
- When a fixed release is published, update FFmpeg and every embedded libavcodec, rebuild statically linked binaries, and restart services that load the library [1].
- Verify the fix by confirming the installed version, the restarted process, and the decoder availability check, and record evidence and owners [1].
- Add decoder regression tests for 16-bit line-interleaved JPEG-LS scans that check every output byte is written or cleared [Analyst assessment; no source in the pack].
Evidence gaps
- Vendor-confirmed fixed version, advisory or patch identifier: the pack does not state which FFmpeg release, if any, fixes the issue; settle by reviewing the vendor's release notes and advisory once published.
- Lower bound of the affected range: the pack gives only through 9.0.2; settle by vendor version history or the vendor's advisory.
- Root cause at code level: the pack does not reproduce the code; settle by reviewing the referenced source lines, pull request and commit contents.
- Affected platforms and downstream builds: no platform list or distribution backport information is in the pack; settle with vendor and distribution advisories.
- NVD analysis: the record is Awaiting Analysis and carries only secondary CVSS scores; settle when NVD publishes its own analysis.
- Exploitation evidence and proof of concept: none is established; settle by monitoring the CISA KEV catalog, vendor advisories and reputable threat intelligence reports.
- Indicators of compromise: none in the pack; settle only if a source publishes indicators, which must be validated before use.
- Data at risk and business impact in your environment: depends on local workloads and is not established by the pack.
- Vendor-recommended mitigations or workarounds: none are stated in the pack; settle with vendor guidance.
References
- CVE-2026-125243 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125243. Accessed 2026-11-12.
- 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.
- EPSS score for CVE-2026-125243. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125243. Accessed 2026-11-12.
Summary
FFmpeg through 9.0.2 contains an uninitialized memory disclosure vulnerability in ff_jpegls_decode_picture() in libavcodec/jpeglsdec.c, which decodes 16-bit line-interleaved JPEG-LS scans as 8-bit samples. Attackers can supply a crafted single-component JPEG-LS image with the ILV byte set to 1, causing decoded GRAY16 frames to expose leftover heap memory.
Severity breakdown
Medium · 4.8
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
- low on confidentiality, none on integrity and availability
- Impact on other systems
- none
Weakness
- CWE-908: Use of Uninitialized Resource
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| FFmpeg | ≤ 9.0.2 | — |
References by type
Patches and fixed releases
Other references
Affected
- FFmpeg
Frequently asked questions
What is CVE-2026-125243?
CVE-2026-125243 is an uninitialized memory disclosure flaw in the JPEG-LS decoder function ffjpeglsdecodepicture() in libavcodec/jpeglsdec.c, affecting FFmpeg through 9.0.2. The record describes a mismatch in which 16-bit line-interleaved JPEG-LS scans are decoded as 8-bit samples, so GRAY16 output frames can contain leftover heap memory. Weakness type: Use of Uninitialized Resource (CWE-908).
How severe is CVE-2026-125243?
CVE-2026-125243 has a CVSS 4.0 base score of 4.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-125243 being exploited?
Not as far as is known: CVE-2026-125243 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-125243?
FFmpeg ≤ 9.0.2.
How do I fix CVE-2026-125243?
Inventory every host, container image and application package that includes FFmpeg or libavcodec, and record the version reported by ffmpeg -version against the affected range through 9.0.2. Identify each application that decodes JPEG-LS input from external or untrusted sources, using the application's own configuration and workflow records. Restrict untrusted JPEG-LS input at the upload gateway or application format allowlist, and verify the rejection with a test file in staging.