Code execution via signed I2C length conversion
Published Jun 29, 2022 · Updated May 12, 2026
Stack-based buffer overflow in Siemens RUGGEDCOM ROX before 2.17.1 allows remote attackers to execute arbitrary code through i2c md. The do_i2c_md function converts an unsigned length to a signed value, then passes the resulting oversized length to an I2C read targeting a 16-byte stack buffer. Code execution requires a driver that truncates the length and attacker control of the I2C device response; other affected paths can crash the appliance.
Summary
What happened
Stack-based buffer overflow in Siemens RUGGEDCOM ROX before 2.17.1 allows remote attackers to execute arbitrary code through i2c md. The do_i2c_md function converts an unsigned length to a signed value, then passes the resulting oversized length to an I2C read targeting a 16-byte stack buffer. Code execution requires a driver that truncates the length and attacker control of the I2C device response; other affected paths can crash the appliance.
The record
- CVE
- CVE-2022-34835
- Published
- Jun 29, 2022
- Updated
- May 12, 2026
- Vendor
- Siemens
- Product
- RUGGEDCOM ROX RX1500
- Classifications
- CWE-787
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 29, 2022CVE publishedPublication date reported by the CVE source.
- May 12, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <V2.17.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream i2c md crash triggerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo