Skip to main content

embedded-graphics CVE-2026-90596

| EUVDEUVD-2026-77126 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-09-13 VulDB GHSA-gr3m-mw36-g475
6.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted raw image with oversized dimensions
  2. Delivery
    Application passes dimensions to ImageRaw::new on 32-bit target
  3. Exploit
    bytes_per_row multiplication overflows 32-bit usize
  4. Execution
    Incorrect stride value used for buffer operations
  5. Persist
    Out-of-bounds memory read or write
  6. Impact
    Limited integrity and availability impact

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following: (1) the target application is compiled for a 32-bit architecture where usize is 32 bits wide (e.g., ARM Cortex-M, ESP32 in 32-bit mode, RISC-V RV32) - 64-bit targets are entirely unaffected; (2) the application uses the ImageRaw::new API with image dimensions that are at least partially attacker-controlled; (3) the attacker can deliver image data to the device through any channel the application exposes (network socket, Bluetooth, serial interface, file). Authentication requirements are not confirmed from available data independently of the CVSS PR:N vector. The flaw is scoped specifically to raw image construction via bytes_per_row and does not affect other embedded-graphics rendering APIs that do not invoke this calculation.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 6.9 and characterizes the flaw as unauthenticated remote-network exploitable with low complexity, but several factors constrain real-world risk well below that framing. The overflow is strictly platform-gated to 32-bit builds - any application compiled for a 64-bit target is entirely unaffected, immediately excluding the majority of server and desktop deployments. Exploitation further requires the application to pass attacker-controlled image dimensions into ImageRaw::new, a condition that depends on how the consuming application sources its image data; a device that only processes locally trusted images is not meaningfully exposed. No KEV listing exists, no EPSS data was provided, and no public exploit code has been published, making this no-public-exploit-identified-at-time-of-analysis. Even a mid-sized industrial operator in rybnik deploying 32-bit embedded IoT devices that accept image data over a network should classify this as a near-term patch priority rather than an emergency, given the architectural scoping and absence of confirmed exploitation. The AC:L in the vendor-supplied CVSS 4.0 vector appears to understate real complexity by ignoring the 32-bit platform requirement.

Exploit ScenarioDerived

An attacker delivers a crafted raw image payload - with width and color depth values whose stride product overflows 32-bit usize - to a networked embedded device (such as a display controller or IoT hub) running the vulnerable library on a 32-bit MCU. When the device application passes these dimensions to ImageRaw::new, bytes_per_row computes a truncated, incorrect stride, causing subsequent pixel access to operate outside the intended buffer. No public exploit code exists, so exploitation currently requires manual construction of a specifically dimensioned malformed image payload and knowledge of the target device's image ingestion path.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 13, 2026

Integer overflow in the embedded-graphics Rust library (versions through 0.8.2) affects the bytes_per_row calculation inside ImageRaw::new on 32-bit compilation targets, causing incorrect buffer stride values that can lead to out-of-bounds memory access when processing crafted image data. The flaw was disclosed through GitHub issue #820, but the project had not responded with a fix at time of reporting. No public exploit code or active exploitation has been identified at time of analysis; remote reachability depends entirely on whether the consuming application ingests network-sourced image data.

RemediationAI

No vendor-released patch has been identified at time of analysis. Developers should monitor GitHub issue #820 at https://github.com/embedded-graphics/embedded-graphics/issues/820 and the upstream repository for a patched release, then pin the dependency once a fix is tagged. As an immediate workaround, consuming applications should validate image dimensions before constructing ImageRaw values - specifically, reject any width-times-bytes-per-pixel product that would exceed 2^32 bytes on 32-bit targets. Migrating builds to 64-bit targets (where usize is 64 bits) eliminates the overflow condition entirely at the platform level. Developers can also enable Rust's runtime overflow checks in release builds by adding overflow-checks = true to the Cargo profile, which will cause the process to panic rather than silently wrap - useful for catching the condition during integration testing even without a code fix.

Affected VersionsENISA

embedded-graphics 0.8.1
embedded-graphics 0.8.0
embedded-graphics 0.8.2

Affected Packages

euvd embedded_graphics no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

embedded-graphics is a Rust no-std 2D graphics library designed for resource-constrained embedded microcontrollers such as ARM Cortex-M and RISC-V RV32 devices. The vulnerability lies in src/image/image_raw.rs within the bytes_per_row helper invoked by ImageRaw::new, which computes the byte stride for a raw pixel buffer by multiplying image width by bytes-per-pixel. On 32-bit platforms, this multiplication operates on usize (a 32-bit type), and sufficiently large dimension values cause the product to wrap around (CWE-190 Integer Overflow), yielding a silently truncated - and incorrect - stride. Subsequent buffer allocation or pixel-access operations use this wrong stride value, potentially reaching memory outside the intended buffer region. The overflow condition is architecture-specific: on 64-bit targets, usize is 64 bits wide and the overflow cannot occur. The affected CPE is cpe:2.3:a:n/a:embedded-graphics:*:*:*:*:*:*:*:* covering all versions through 0.8.2.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.8 MEDIUM

AC:H reflects 32-bit platform requirement and application-specific image ingestion path; no confidentiality impact from stride miscalculation alone.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A weakness has been identified in embedded-graphics up to 0.8.2 on 32-bit. Impacted is the function ImageRaw::new/bytes_per_row of the file src/image/image_raw.rs. This manipulation causes integer overflow. The attack is possible to be carried out remotely. Upgrading the affected component is recommended. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Low
niche embedded Rust library targeting hobbyist and industrial MCU projects
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy