CVE-2026-90593
7.3embedded-graphics · embedded-graphics
The embedded-graphics library contains an integer overflow vulnerability in the ImageRaw::draw_sub_image function, which can be triggered remotely via a manipulated width argument.
Executive summary
A critical integer overflow vulnerability in the embedded-graphics library allows remote attackers to trigger memory errors, potentially impacting system stability.
Vulnerability
This vulnerability is an integer overflow (CWE-190) located in the ImageRaw::draw_sub_image function within src/image/image_raw.rs, which can be exploited by an unauthenticated remote attacker.
Business impact
Successful exploitation of this integer overflow can lead to unexpected program behavior or memory corruption, potentially resulting in a denial of service for embedded systems relying on this library. With a CVSS score of 7.3, this high-severity flaw poses a significant risk to devices that process untrusted image data, as it may cause system crashes or instability in critical operational environments.
Remediation
Immediate Action: As no official patch is currently available, users should monitor the official project repository for a fix and avoid processing untrusted image data using the affected versions of embedded-graphics.
Proactive Monitoring: Implement input validation routines to sanitize image width parameters before they are passed to the draw_sub_image function to prevent overflow conditions.
Compensating Controls: Deploy strict boundary checks in the application code surrounding image rendering logic to ensure that provided dimensions do not exceed expected memory limits.
Exploitation status
Public Exploit Available: Unknown.
Analyst recommendation
Given the high CVSS score and the current lack of a vendor-provided patch, organizations utilizing embedded-graphics should prioritize code-level mitigations and restrict the input sources that feed into the vulnerable draw_sub_image function. Transitioning to a secure version or implementing robust manual input validation is essential to maintaining the integrity and availability of affected systems until an upstream fix is released.
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief high section
Sources
Originally found and disclosed by Default01 (VulDB User), with VulDB CNA Team (coordinator), per the CVE Program record.
- VDB-403175 | embedded-graphics image_raw.rs draw_sub_image integer overflow Vulnerability database entry
- VDB-403175 | CTI Indicators (IOB, IOC, IOA)
- CVE-2026-90593 | CVE Analysis and Report Third-party advisory
- Submit #913787 | embedded-graphics <= 0.8.1 Buffer Overflow Third-party advisory
- Issue tracker
- github.com