CVE-2016-7406 is a format string vulnerability in Dropbear SSH before 2016.74 that can let a remote attacker run code as root when a username containing "%" exists on the device, or run code as the dbclient user when scripts pass untrusted input. NVD scores it 9.8, and SICK fixed it in MARSIC300 firmware 1EU4 220310.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
10.2%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2016-7406 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Dropbear SSH (server and dbclient) | cpe:2.3:a:dropbear_ssh_project:dropbear_ssh:*:*:*:*:*:*:*:* | up to and including 2016.73 (fixed in 2016.74, 21 July 2016) |
| SICK MARSIC300 | — | firmware before 1EU4_220310 (fixed in 1EU4 220310, per SICK PSIRT SCA-2022-0007) |
What does this mean for affected devices?
CVE-2016-7406 is a format string flaw in Dropbear's message printing, which NVD classes as CWE-20 and describes as letting remote attackers "execute arbitrary code via format string specifiers in the (1) username or (2) host argument" (NVD). NVD's Primary score is 9.8 under CVSS v3.0, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, and its configuration covers Dropbear up to and including 2016.73.
Dropbear's own CHANGES file narrows the server case. The 2016.74 entry, dated 21 July 2016, says that "if specific usernames including "%" symbols can be created on a system (validated by getpwnam())" an attacker "could run arbitrary code as root when connecting to Dropbear server". On the client side, "a dbclient user who can control username or host arguments could potentially run arbitrary code as the dbclient user", which matters when scripts or web pages pass untrusted input to dbclient. The fix is Dropbear changeset b66a483f3dcb, which the CVE assignment on oss-security cites alongside three other 2016.74 fixes, CVE-2016-7407 to CVE-2016-7409. For most firmware, the account list is fixed at build time, so the server path depends on whether any account name holds a %; a web UI that builds dbclient commands from form fields is the other path to check.
A device vendor confirms the exposure. SICK PSIRT advisory SCA-2022-0007, published 2022-04-21, says the vulnerabilities in the SICK MARSIC300 "are caused by the third-party library Dropbear, which is used by the SICK MARSIC300 to provide SSH communication" and could lead to remote code execution. Its CSAF record lists MARSIC300 firmware before 1EU4_220310 as affected and 1EU4 220310 as fixed, for this CVE and CVE-2016-7407 (dropbearconvert), both scored 9.8 by SICK. The six-year gap between the Dropbear fix and the device advisory is typical for an SSH server compiled into firmware.
Distributions backported the patch, so version strings mislead: the Debian tracker lists wheezy fixed at 2012.55-1.3+deb7u1 (DLA-634-1) and jessie at 2014.65-1+deb8u1. This CVE is not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13, CISA KEV), and FIRST EPSS gives it 0.102, the 95.8th percentile, in its 2026-11-15 dataset (FIRST EPSS).
Our Dropbear SSH vulnerabilities in embedded firmware guide ranks this CVE with the other pre-2017 server bugs and shows how to read the Dropbear version from an image. The input handling fix guide covers the general fix for format strings: pass untrusted text as an argument, never as the format.
Evidence
- Format string in username or host argument; NVD Primary CVSS 3.0 9.8; CWE-20; CPE through 2016.73. — NVD
- 2016.74 (21 July 2016): usernames with % validated by getpwnam() allow root code execution on the server; dbclient user code execution with controlled username/host arguments. — Dropbear CHANGES
- CVE assignment for Dropbear 2016.74 fixes: CVE-2016-7406 (format string, changeset b66a483f3dcb) plus CVE-2016-7407 to CVE-2016-7409. — oss-security
- MARSIC300 uses Dropbear for SSH; firmware before 1EU4_220310 affected, 1EU4 220310 fixed; CVE-2016-7406 and CVE-2016-7407, CVSS 9.8; published 2022-04-21. — SICK PSIRT SCA-2022-0007
- Debian wheezy fixed 2012.55-1.3+deb7u1 (DLA-634-1), jessie 2014.65-1+deb8u1. — Debian Security Tracker
- Not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13). — CISA KEV
- EPSS 0.10217 (95.8th percentile), dataset 2026-11-15, read 2026-11-16. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Can any attacker exploit CVE-2016-7406 on a Dropbear server?
Only under a condition. Dropbear's change log says root code execution on the server needs usernames containing "%" that can be created on the system and pass getpwnam(). On the client side, dbclient is exposed when a script or web page passes untrusted username or host input to it (per Dropbear CHANGES).
Which Dropbear version fixes CVE-2016-7406?
Dropbear 2016.74, released 21 July 2016, fixes it; NVD lists versions up to and including 2016.73 as affected. Debian backported the fix to older packages such as 2014.65-1+deb8u1 for jessie (per NVD, Dropbear CHANGES and the Debian tracker).
Which devices are affected by CVE-2016-7406?
SICK PSIRT SCA-2022-0007 lists the SICK MARSIC300 with firmware before 1EU4_220310 and names Dropbear as the SSH library behind the flaw; firmware 1EU4 220310 fixes it (per SICK PSIRT).
Is CVE-2016-7406 in the CISA KEV catalog?
No, it is not listed as of 2026-11-16 (catalog version 2026.11.13). FIRST EPSS gives it 0.102, the 95.8th percentile, in the 2026-11-15 dataset (per CISA KEV and FIRST EPSS).
Questions about this page?