# CVE-2016-5397

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-02-12 · Modified: 2024-09-16
- Aliases: UBUNTU-CVE-2016-5397, DEBIAN-CVE-2016-5397, GHSA-r4m4-pmvw-m6j5, CGA-49j2-jmjh-5h8j, CGA-4r3h-wqv6-p8r5, CGA-723c-w8h7-wx7q, CGA-75mh-jff9-rg9r, CGA-7vj3-2rv7-7hfr, CGA-89vh-4hqf-3hm8, CGA-8p7v-863g-fv9w, CGA-998v-77pc-qjhc, CGA-9j3w-mmpv-wmv4, CGA-f52c-vwqm-qq89, CGA-gr74-586m-8jhj, CGA-hqww-w69m-c563, CGA-jvpj-mqv7-7vf8, CGA-m9q8-687r-792x, CGA-mmqf-ccvc-4g6r, CGA-p97r-m5rg-p6w6, CGA-pfph-fg93-9x27, CGA-ph35-8765-75fr, CGA-q4qq-9cqf-2564, CGA-w5qf-xf22-g366
- Record: https://cvemate.com/vulnerability/CVE-2016-5397 · JSON: https://cvemate.com/vulnerability/CVE-2016-5397/json

## Description

```text
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.
```

## Signals

- CVSS: 9 high (v2.0, NVD) AV:N/AC:L/Au:S/C:C/I:C/A:C
- EPSS: 6.873%, percentile 94.224%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache thrift: versions prior to 0.10.0
- apache thrift: ≤ 0.9.3
- chainguard cadence (Chainguard): \< 1.4.0-r3 \| \< 1.3.6-r0
- chainguard cadence-cassandra-tool (Chainguard): \< 1.4.0-r3
- chainguard cadence-fips (Chainguard): \< 1.4.0-r3 \| \< 1.3.6-r0
- chainguard cadence-fips-cassandra-tool (Chainguard): \< 1.4.0-r3
- chainguard cadence-fips-server (Chainguard): \< 1.4.0-r3
- chainguard cadence-fips-sql-tool (Chainguard): \< 1.4.0-r3
- chainguard cadence-server (Chainguard): \< 1.4.0-r3
- chainguard cadence-sql-tool (Chainguard): \< 1.4.0-r3
- debian thrift (Debian): \< 0.11.0-3
- ubuntu thrift-compiler (Ubuntu): All versions (No fix recorded)
- github.com/apache thrift (Go): \< 0.10.0

## References

- <http://www.securityfocus.com/bid/103025>
- <https://access.redhat.com/errata/RHSA-2018:2669>
- <https://issues.apache.org/jira/browse/THRIFT-3893>
- <http://mail-archives.apache.org/mod_mbox/thrift-user/201701.mbox/raw/%3CCANyrgvc3W%3DMJ9S-hMZecPNzxkyfgNmuSgVfW2hdDSz5ke%2BOPhQ%40mail.gmail.com%3E>
- <https://access.redhat.com/errata/RHSA-2019:3140>
- <https://lists.apache.org/thread.html/r4d3f1d3e333d9c2b2f6e6ae8ed8750d4de03410ac294bcd12c7eefa3%40%3Ccommits.cassandra.apache.org%3E>
- <https://ubuntu.com/security/CVE-2016-5397>
- <https://github.com/apache/thrift/commit/2007783e874d524a46b818598a45078448ecc53e>
- <https://www.cve.org/CVERecord?id=CVE-2016-5397>
- <https://security-tracker.debian.org/tracker/CVE-2016-5397>
- <https://nvd.nist.gov/vuln/detail/CVE-2016-5397>
- <https://lists.apache.org/thread.html/r4d3f1d3e333d9c2b2f6e6ae8ed8750d4de03410ac294bcd12c7eefa3@%3Ccommits.cassandra.apache.org%3E>
- <https://web.archive.org/web/20210124141102/http://www.securityfocus.com/bid/103025>

---

Data as of 2026-12-05T08:25:38.513Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
