unixODBC: Insecure buffer copy in SQLWriteFileDSN function in odbcinst/SQLWriteFileDSN.c
Published Feb 26, 2018
9.8
CRITICALCVSS 3.0
EPSS 3.02%
Description
The SQLWriteFileDSN function in odbcinst/SQLWriteFileDSN.c in unixODBC 2.3.5 has strncpy arguments in the wrong order, which allows attackers to cause a denial of service or possibly have unspecified other impact.
Affected products
No data.
No data.
Red Hat Enterprise Linux 7
unixODBC-0:2.3.1-14.el7
Fixed · RHSA-2019:2336
Red Hat Enterprise Linux 7.6 Extended Update Support
unixODBC-0:2.3.1-14.el7_6
Fixed · RHSA-2020:4999
Red Hat Enterprise Linux 5
unixODBC
Will not fix
Red Hat Enterprise Linux 5
unixODBC64
Will not fix
Red Hat Enterprise Linux 6
unixODBC
Will not fix
Red Hat Enterprise Linux 8
unixODBC
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | unixODBC-0:2.3.1-14.el7 | Fixed | RHSA-2019:2336 |
| Red Hat Enterprise Linux 7.6 Extended Update Support | unixODBC-0:2.3.1-14.el7_6 | Fixed | RHSA-2020:4999 |
| Red Hat Enterprise Linux 5 | unixODBC | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | unixODBC64 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | unixODBC | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | unixODBC | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.02% (0.03024) | 87.00th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.20% (0.03196) | 86.41th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.40% (0.00405) | 73.96th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.40% (0.00405) | 73.07th | v3 (v2023.03.01) |
| Oct 16, 2023 | 0.40% (0.00405) | 70.77th | v3 (v2023.03.01) |
| Aug 29, 2023 | 0.43% (0.00433) | 71.37th | v3 (v2023.03.01) |
| Jul 20, 2023 | 0.41% (0.00410) | 70.44th | v3 (v2023.03.01) |
| Mar 27, 2023 | 0.42% (0.00422) | 70.22th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.43% (0.00428) | 70.42th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Sep 2, 2022 | 0.95% (0.00954) | 34.50th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00954) | 32.50th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00954) | 16.28th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.04% (0.01036) | 27.56th | v1 |
| Jan 6, 2022 | 1.04% (0.01036) | 26.95th | v1 |
| Sep 1, 2021 | 1.04% (0.01036) | 62.47th | v1 |
| Apr 14, 2021 | 1.04% (0.01036) | 0.00th | v1 |
References (7)
- http://www.securityfocus.com/bid/103193 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2019:2336 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-7485 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1549636 Issue Tracking
- https://github.com/lurcher/unixODBC/commit/45ef78e037f578b15fc58938a3a3251655e71d6f#diff-d52750c7ba4e594410438569d8e2963aL24 x_refsource_MISCPatch
- https://nvd.nist.gov/vuln/detail/CVE-2018-7485
- https://www.cve.org/CVERecord?id=CVE-2018-7485
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/103193 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2019:2336 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2018-7485 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1549636 | Issue Tracking | |
| https://github.com/lurcher/unixODBC/commit/45ef78e037f578b15fc58938a3a3251655e71d6f#diff-d52750c7ba4e594410438569d8e2963aL24 | x_refsource_MISCPatch | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-7485 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-7485 |
Change history (0)
No recorded changes yet.