{"id":"CVE-2017-3226","aliases":["DEBIAN-CVE-2017-3226","EUVD-2017-12347","GHSA-wg74-j96c-c2wj","UBUNTU-CVE-2017-3226"],"status":"published","title":"Das U-Boot's AES-CBC encryption feature improperly handles an error condition and may allow attacks against the underlying cryptographic implementation and allow an attacker to decrypt the data","description":"Das U-Boot is a device bootloader that can read its configuration from an AES encrypted file. Devices that make use of Das U-Boot's AES-CBC encryption feature using environment encryption (i.e., setting the configuration parameter CONFIG_ENV_AES=y) read environment variables from disk as the encrypted disk image is processed. An attacker with physical access to the device can manipulate the encrypted environment data to include a crafted two-byte sequence which triggers an error in environment variable parsing. This error condition is improperly handled by Das U-Boot, resulting in an immediate process termination with a debugging message.","severity":{"version":"3.0","score":6.4,"vector":"CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00266,"percentile":0.18652,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-310","CWE-329"],"published":"2018-07-24T15:00:00Z","modified":"2026-10-24T10:30:22Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2023.01+dfsg-2","2023.01+dfsg-2+deb12u1","2023.01+dfsg-2+deb12u2","2023.01+dfsg-2+deb12u3","2023.04+dfsg-1","2023.04~rc2+dfsg-1","2023.04~rc5+dfsg-1","2023.07+dfsg-1","2023.07~rc4+dfsg-1","2023.07~rc5+dfsg-1","2024.01+dfsg-1","2024.01+dfsg-2","2024.01+dfsg-3","2024.01+dfsg-4","2024.01+dfsg-5","2024.01+dfsg-6","2024.01+dfsg-7","2024.01~rc6+dfsg-1","2024.01~rc6+dfsg-2","2025.01-1","2025.01-2","2025.01-3","2025.01-3.1","2025.01-3.2"]},{"source":"osv","ecosystem":"Debian:13","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2025.01-3","2025.01-3+deb13u1","2025.01-3.1","2025.01-3.2"]},{"source":"osv","ecosystem":"Debian:14","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2025.01-3","2025.01-3.1","2025.01-3.2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"u-boot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2015.04+dfsg1-2ubuntu1","2015.10+dfsg1-2","2015.10+dfsg1-3","2015.10+dfsg1-4","2016.01+dfsg1-1","2016.01+dfsg1-1ubuntu1","2016.01+dfsg1-2ubuntu1","2016.01+dfsg1-2ubuntu2","2016.01+dfsg1-2ubuntu3","2016.01+dfsg1-2ubuntu5","2016.01+dfsg1-2ubuntu5+esm1","2016.01+dfsg1-2ubuntu5+esm2"]}],"products":[{"vendor":"das","product":"u-boot"},{"vendor":"denx","product":"u-boot"},{"vendor":"denx software engineering","product":"u-boot"}],"references":[{"url":"http://www.securityfocus.com/bid/100675","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://www.kb.cert.org/vuls/id/166743","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","Third Party Advisory","US Government Resource","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-3226"},{"url":"https://github.com/advisories/GHSA-wg74-j96c-c2wj"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-3226","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-3226","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-3226","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-3226","title":"Das U-Boot's AES-CBC encryption feature improperly handles an error condition and may allow attacks against the underlying cryptographic implementation and allow an attacker to decrypt the data","description":"Das U-Boot is a device bootloader that can read its configuration from an AES encrypted file. Devices that make use of Das U-Boot's AES-CBC encryption feature using environment encryption (i.e., setting the configuration parameter CONFIG_ENV_AES=y) read environment variables from disk as the encrypted disk image is processed. An attacker with physical access to the device can manipulate the encrypted environment data to include a crafted two-byte sequence which triggers an error in environment variable parsing. This error condition is improperly handled by Das U-Boot, resulting in an immediate process termination with a debugging message.","status":"published","published":"2018-07-24T15:00:00Z","modified":"2024-08-05T14:16:28.456Z","cwes":["CWE-329"],"updated_at":"2026-11-02T14:33:16.232024Z"}],"euvd":[{"id":"EUVD-2017-12347","description":"Das U-Boot is a device bootloader that can read its configuration from an AES encrypted file. Devices that make use of Das U-Boot's AES-CBC encryption feature using environment encryption (i.e., setting the configuration parameter CONFIG_ENV_AES=y) read environment variables from disk as the encrypted disk image is processed. An attacker with physical access to the device can manipulate the encrypted environment data to include a crafted two-byte sequence which triggers an error in environment variable parsing. This error condition is improperly handled by Das U-Boot, resulting in an immediate process termination with a debugging message.","status":"published","published":"2018-07-24T15:00:00Z","modified":"2024-08-05T14:16:28Z","updated_at":"2026-11-03T02:39:18.505086Z"}],"ghsa":[{"id":"GHSA-wg74-j96c-c2wj","title":"Das U-Boot is a device bootloader that can read its configuration from an AES encrypted file....","description":"Das U-Boot is a device bootloader that can read its configuration from an AES encrypted file. Devices that make use of Das U-Boot's AES-CBC encryption feature using environment encryption (i.e., setting the configuration parameter CONFIG_ENV_AES=y) read environment variables from disk as the encrypted disk image is processed. An attacker with physical access to the device can manipulate the encrypted environment data to include a crafted two-byte sequence which triggers an error in environment variable parsing. This error condition is improperly handled by Das U-Boot, resulting in an immediate process termination with a debugging message.","status":"published","published":"2022-05-13T01:36:41Z","modified":"2023-02-01T05:09:01Z","cvss":[{"version":"3.0","score":6.4,"vector":"CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T14:50:54.417127Z"}],"nvd":[{"id":"CVE-2017-3226","description":"Das U-Boot is a device bootloader that can read its configuration from an AES encrypted file. Devices that make use of Das U-Boot's AES-CBC encryption feature using environment encryption (i.e., setting the configuration parameter CONFIG_ENV_AES=y) read environment variables from disk as the encrypted disk image is processed. An attacker with physical access to the device can manipulate the encrypted environment data to include a crafted two-byte sequence which triggers an error in environment variable parsing. This error condition is improperly handled by Das U-Boot, resulting in an immediate process termination with a debugging message.","status":"published","published":"2018-07-24T15:29:00.983Z","modified":"2026-06-17T01:17:46.343Z","cvss":[{"version":"3.0","score":6.4,"vector":"CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-329","CWE-310"],"updated_at":"2026-11-02T14:04:18.679411Z"}],"osv":[{"id":"CVE-2017-3226","description":"Das U-Boot is a device bootloader that can read its configuration from an AES encrypted file. Devices that make use of Das U-Boot's AES-CBC encryption feature using environment encryption (i.e., setting the configuration parameter CONFIG_ENV_AES=y) read environment variables from disk as the encrypted disk image is processed. An attacker with physical access to the device can manipulate the encrypted environment data to include a crafted two-byte sequence which triggers an error in environment variable parsing. This error condition is improperly handled by Das U-Boot, resulting in an immediate process termination with a debugging message.","status":"published","published":"2018-07-24T15:29:00.983Z","modified":"2026-10-24T10:30:22.320473831Z","cvss":[{"version":"3.0","score":6.4,"vector":"CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:05.486486Z"},{"id":"DEBIAN-CVE-2017-3226","description":"Das U-Boot is a device bootloader that can read its configuration from an AES encrypted file. Devices that make use of Das U-Boot's AES-CBC encryption feature using environment encryption (i.e., setting the configuration parameter CONFIG_ENV_AES=y) read environment variables from disk as the encrypted disk image is processed. An attacker with physical access to the device can manipulate the encrypted environment data to include a crafted two-byte sequence which triggers an error in environment variable parsing. This error condition is improperly handled by Das U-Boot, resulting in an immediate process termination with a debugging message.","status":"published","published":"2018-07-24T15:29:00.983Z","modified":"2026-09-01T20:03:47.940841802Z","cvss":[{"version":"3.0","score":6.4,"vector":"CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:29.100767Z"},{"id":"UBUNTU-CVE-2017-3226","description":"Das U-Boot is a device bootloader that can read its configuration from an AES encrypted file. Devices that make use of Das U-Boot's AES-CBC encryption feature using environment encryption (i.e., setting the configuration parameter CONFIG_ENV_AES=y) read environment variables from disk as the encrypted disk image is processed. An attacker with physical access to the device can manipulate the encrypted environment data to include a crafted two-byte sequence which triggers an error in environment variable parsing. This error condition is improperly handled by Das U-Boot, resulting in an immediate process termination with a debugging message.","status":"published","published":"2018-07-24T15:29:00Z","modified":"2026-10-17T12:53:19.619430491Z","cvss":[{"version":"3.0","score":6.4,"vector":"CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:14.977781Z"}]}}
