Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted raw image with oversized dimensions
-
DeliveryApplication passes dimensions to ImageRaw::new on 32-bit target
-
Exploitbytes_per_row multiplication overflows 32-bit usize
-
ExecutionIncorrect stride value used for buffer operations
-
PersistOut-of-bounds memory read or write
-
ImpactLimited 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
AC:H reflects 32-bit platform requirement and application-specific image ingestion path; no confidentiality impact from stride miscalculation alone.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-77126
GHSA-gr3m-mw36-g475
NVD
CVE.org
EPSS
VulDB
Exploit-DB