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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | unixODBC +1 | 2.3.1-14.el7 | RHSA-2019:2336 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7.6 EUS | unixODBC +1 | 2.3.1-14.el7_6 | RHSA-2020:4999 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | unixODBC | 2.3.6-7.9.1 | SUSE-SU-2018:1832-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | unixODBC | 2.3.6-7.9.1 | SUSE-SU-2018:1832-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | unixODBC | 2.3.9-3.4 | openSUSE-SU-2024:11483-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | unixODBC +1 | 2.3.1-14.amzn2 | ALAS2-2019-1354 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | unixODBC +1 | 2.3.1-14.0.1.el7 | ELSA-2019-2336 |
Advisories 7
- WID-SEC-2022-0517 Red Hat Enterprise Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2020:4999 Red Hat Security Advisory: unixODBC security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2019:2336 Red Hat Security Advisory: unixODBC security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- openSUSE-SU-2024:11483-1 libodbc2-2.3.9-3.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1832-1 Security update for unixODBC SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2019-1354 Moderate: unixODBC security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Nov 7, 2019
- ELSA-2019-2336 Moderate: unixODBC security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 13, 2019