Home / Postfix / Postfix / CVE-2017-10140
CVE-2017-10140: is it exploited, and which versions of Postfix are affected and fixed?
CVE-2017-10140 is a vulnerability in Postfix. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: postfix before 2.11.10, postfix from 3.0.0 before 3.0.10, postfix from 3.1.0 before 3.1.6 and 1 more (NVD). Fixed in 2.11.10, 3.0.10, 3.1.6 and 3.2.2 (NVD). Severity: High (7.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:33 UTC.
What is CVE-2017-10140?
Postfix before 2.11.10, 3.0.x before 3.0.10, 3.1.x before 3.1.6, and 3.2.x before 3.2.2 might allow local users to gain privileges by leveraging undocumented functionality in Berkeley DB 2.x and later, related to reading settings from DB_CONFIG in the current directory.
From the CVE record by mitre, last updated August 5, 2024, 17:33 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| postfix | postfix | before 2.11.10 | application |
| postfix | postfix | from 3.0.0 before 3.0.10 | application |
| postfix | postfix | from 3.1.0 before 3.1.6 | application |
| postfix | postfix | from 3.2.0 before 3.2.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:59 UTC.
How severe is CVE-2017-10140?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-10140 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.55% probability of exploitation activity in the next 30 days, percentile 47.3 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- [oss-sec] 20170611 Berkeley DB reads DB_CONFIG from cwd mailing-list, x_refsource_MLIST
- RHSA-2019:0366 vendor-advisory, x_refsource_REDHAT
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISC
- http://www.postfix.org/announcements/postfix-3.2.2.html x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- June 21, 2017
- Published
- April 16, 2018, 16:00 UTC
- CVE record updated
- August 5, 2024, 17:33 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:59 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:33 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Postfix?
- May 4, 2026CVE-2026-43964 Postfix: off-by-one Error
- Dec 24, 2023CVE-2023-51764 Postfix: data authenticity not verified
- Apr 24, 2020CVE-2020-12063 Postfix: n/a disputed
- Oct 1, 2014CVE-2012-0811 Postfix: SQL injection
- May 13, 2011CVE-2011-1720 Postfix: memory corruption (buffer overflow)
- Mar 16, 2011CVE-2011-0411 Postfix: n/a
- Sep 21, 2009CVE-2009-2939 Postfix: link following (a symlink lets an attacker reach other files)
- Nov 6, 2008CVE-2008-4977 Postfix: link following (a symlink lets an attacker reach other files) disputed
Questions about CVE-2017-10140
Is CVE-2017-10140 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 0.55% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Postfix are affected by CVE-2017-10140?
postfix before 2.11.10, postfix from 3.0.0 before 3.0.10, postfix from 3.1.0 before 3.1.6 and postfix from 3.2.0 before 3.2.2, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2017-10140?
2.11.10, 3.0.10, 3.1.6 and 3.2.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-10140?
High (7.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-10140?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.