Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2026-21096: Heap-Based Buffer Overflow in Samsung libimagecodec.quram.so JPEG Decoder

Published Sep 9, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.2Critical · v4
EPSS0.80%54th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Samsung Electronics
IdentifiersCVE-2026-21096CWE-122 · Heap-based Buffer Overflow

CVE-2026-21096 is a heap-based buffer overflow in the JPEG decoder of Samsung's libimagecodec.quram.so, affecting versions before Samsung Mobile Security Release September 2026 Release 1. Improper handling of JPEG image data can overflow heap memory during decoding, enabling remote arbitrary code execution.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can allow an attacker to execute arbitrary code in the context of the vulnerable image-decoding component. The reported CVSS v4 metrics indicate high confidentiality, integrity, and availability impact to the vulnerable system.

Mitigation

If you can’t patch tonight, do this now.

Apply Samsung's September 2026 Security Maintenance Release 1 or a later release. No workaround is specified.

Remediation

Patch, then assume compromise.

Update affected Samsung Galaxy devices to SMR September 2026 Release 1 or a later Samsung security release containing the fix.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
CVE-2026-21096The supplied repository contains three files: an MIT LICENSE, a README describing CVE-2026-21096, and a standalone Python payload generator. gen_payload.py uses Pillow to create a patterned 4096-by-4096 JPEG, locates its baseline SOF0 marker, and changes only the declared width to 65535. It writes the resulting file and prints an example Ltn invocation; it neither loads the Samsung library nor executes that invocation. The README attributes the crash to unchecked signed 32-bit allocation and initialization arithmetic in the LTN decoding path, leading to an undersized allocation and an invalid oversized memory write. It reports deterministic crashes on an unpatched Galaxy device and negative controls using iterRows=16 or inPreferredConfig=4. This is a crash-oriented malformed-file PoC, not a remote-code-execution implementation or a vulnerability scanner. There is no networking, exfiltration, persistence, heap grooming, or control-flow hijacking in the supplied code. The temporary-file deletion is normal generator cleanup, not evidence of a fake exploit. The README discusses potential remote impact, but the supplied implementation supports only file generation and a documented local reproduction workflow. The README is truncated, and the referenced decoder harness is absent from the listed files, so the complete reproduction workflow and vulnerability claims cannot be independently verified from this material. Repository URL, git reference, and archive size were not supplied; the empty strings and zero are placeholders for unavailable metadata.Xen0nize · Disclosed Oct 5, 2026 · python · file · localPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Samsung ElectronicsAndroidoperating_system
FAQ

Frequently asked questions

Is CVE-2026-21096 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2026-21096 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-21096?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-21096, the earliest disclosed Oct 5, 2026.
Is there a patch for CVE-2026-21096?
Update affected Samsung Galaxy devices to SMR September 2026 Release 1 or a later Samsung security release containing the fix.
What products are affected by CVE-2026-21096?
Samsung Electronics Android.
How severe is CVE-2026-21096?
CVE-2026-21096 has a CVSS v4 score of 9.2 (Critical) and an EPSS score of 0.80% (54th percentile) as of Sep 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.