LiveActive security incident?Get immediate response
CVE Record

CVE-2026-21413: A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality of LibRaw Com...

A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality of LibRaw Commit 0b56545 and Commit d20315b. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

LibRaw has a critical memory corruption flaw triggered by a malicious image file. Software that uses the affected LibRaw commits to process untrusted image uploads or files could be exposed. The source bundle does not show confirmed active exploitation, but the potential impact includes confidentiality, integrity, and availability loss.

Executive priority

Treat as urgent for systems that ingest images from customers, partners, or the internet. Prioritize patch verification and exposure reduction before routine maintenance windows for externally reachable processing workflows.

Technical view

CVE-2026-21413 is a heap-based buffer overflow in LibRaw's lossless_jpeg_load_raw functionality, associated with CWE-129 and CWE-787. The bundle lists affected LibRaw commits 0b56545 and d20315b. CVSS 3.1 is 9.8 with network, low-complexity, unauthenticated impact ratings.

Likely exposure

Highest exposure is in services, pipelines, or desktop tools that parse user-supplied RAW or JPEG-derived files through LibRaw. Indirect exposure may exist through image processing products bundling LibRaw, but the bundle names only LibRaw and Red Hat advisory references.

Exploitation context

The sources say an attacker can provide a specially crafted malicious file to trigger the vulnerability. KEV is false in the bundle, and no cited source here confirms active exploitation or public weaponization.

Researcher notes

Evidence supports a critical LibRaw heap overflow, but the bundle does not provide fixed upstream versions or exploit-in-the-wild confirmation. Avoid expanding affected products beyond LibRaw and referenced Red Hat packages without vendor confirmation.

Mitigation direction

  • Apply relevant vendor updates from Red Hat advisories where applicable.
  • Check LibRaw upstream and product vendors for fixed versions or backports.
  • Restrict processing of untrusted image files until updates are applied.
  • Isolate image conversion services with least privilege and sandboxing.
  • Monitor vendor advisories for corrected package versions.

Validation and detection

  • Inventory direct and bundled LibRaw usage across applications and containers.
  • Check whether deployed builds match commits 0b56545 or d20315b.
  • Review SBOMs and package manifests for LibRaw dependencies.
  • Prioritize systems accepting external image uploads or automated file ingestion.
  • Confirm Red Hat errata applicability to installed packages.
Prepared
Confidence
medium
Sources
11

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-129: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-787: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-21413 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
3ADP providers
16Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9talos
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H1.65.9redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2026-21413Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
redhat-SADPLibRaw: LibRaw: Arbitrary code execution via heap-based buffer overflow in lossless JPEG loading
other:Red Hat severity ratingcvssV3_1
  • 2026-04-07T15:01:55.132Z: Reported to Red Hat.
  • 2026-04-07T13:49:29.784Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LibRawLibRawCommit 0b56545, Commit d20315bListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-129 · source CWE mapping

Improper Validation of Array Index

Improper Validation of Array Index represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-787 · source CWE mapping

Out-of-bounds Write

Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.