Command injectionin Apache Thrift.
No public exploit found; not on exploited lists.
The Apache Thrift Go client library exposed the potential during code generation for command injection due to using an external formatting tool. Affected Apache Thrift 0.9.3 and older, Fixed in Apache Thrift 0.10.0.
- Upgrade Apache Thrift to 0.10.0 or later.
- Upgrade github.com/apache/thrift (Go) to 0.10.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 10 Jun 2016CVE ID reserved by apache.
- 12 Feb 2018Published in the CVE List.
- 16 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Thrift vulnerabilities
- www.securityfocus.com vdb-entry, x_refsource_BID
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- issues.apache.org x_refsource_CONFIRM
- mail-archives.apache.org mailing-list, x_refsource_MLIST
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- lists.apache.org mailing-list, x_refsource_MLIST
Patchminder. CVE-2016-5397: Command injection in Apache Thrift. https://patchminder.com/cve/cve-2016-5397/ (accessed 5 December 2026).