CVE-2018-7409
In unixODBC before 2.3.5, there is a buffer overflow in the unicode_to_ansi_copy() function in...
In unixODBC before 2.3.5, there is a buffer overflow in the unicode_to_ansi_copy() function in DriverManager/__info.c.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
In unixODBC before 2.3.5, there is a buffer overflow in the unicode_to_ansi_copy() function in DriverManager/__info.c.
- Record
CVE-2018-7409- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
In unixODBC before 2.3.5, there is a buffer overflow in the unicode_to_ansi_copy() function in DriverManager/__info.c.
- Record
CVE-2018-7409- Updated
- 2026-11-02
EUVDEUVD-2018-19140 No score
In unixODBC before 2.3.5, there is a buffer overflow in the unicode_to_ansi_copy() function in DriverManager/__info.c.
- Record
EUVD-2018-19140- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2c46-qg5h-fq8x
9.8
In unixODBC before 2.3.5, there is a buffer overflow in the unicode_to_ansi_copy() function in...
In unixODBC before 2.3.5, there is a buffer overflow in the unicode_to_ansi_copy() function in DriverManager/__info.c.
- Record
GHSA-2c46-qg5h-fq8x- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSV
9.8
In unixODBC before 2.3.5, there is a buffer overflow in the unicode_to_ansi_copy() function in DriverManager/__info.c.
- Record
CVE-2018-7409- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-7409
9.8
In unixODBC before 2.3.5, there is a buffer overflow in the unicode_to_ansi_copy() function in DriverManager/__info.c.
- Record
DEBIAN-CVE-2018-7409- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSVRHSA-2019:2336
6.8
Red Hat Security Advisory: unixODBC security update
- Record
RHSA-2019:2336- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2020:4999
6.8
Red Hat Security Advisory: unixODBC security update
- Record
RHSA-2020:4999- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-7409
9.8
In unixODBC before 2.3.5, there is a buffer overflow in the unicode_to_ansi_copy() function in DriverManager/__info.c.
- Record
UBUNTU-CVE-2018-7409- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVCLSA-2023-1692110840 No score
Fix CVE(s): CVE-2018-7409
- SECURITY UPDATE: Fix buffer overflow
- debian/patch/CVE-2018-7409: fix unicode_to_ansi_copy(), don't include NUL-terminator in length in unicode_to_ansi_alloc(), make sure that the error handling doesn't overrun the buffer
- CVE-2018-7409
- Record
CLSA-2023-1692110840- Updated
- 2026-11-02
OSVMGASA-2018-0379 No score
Updated unixODBC packages fix security vulnerability
unixODBC before version 2.3.5 is vulnerable to a buffer overflow in the DriverManager/__info.c:unicode_to_ansi_copy() method. An attacker could exploit this to cause a denial of service or other unspecified impact (CVE-2018-7409).
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 (CVE-2018-7485).
- Record
MGASA-2018-0379- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11483-1 No score
libodbc2-2.3.9-3.4 on GA media
These are all security issues fixed in the libodbc2-2.3.9-3.4 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11483-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1832-1 No score
Security update for unixODBC
This update for unixODBC to version 2.3.6 fixes the following issues:
- CVE-2018-7409: Buffer overflow in unicode_to_ansi_copy() was fixed in 2.3.5 (bsc#1082290)
- CVE-2018-7485: Swapped arguments in SQLWriteFileDSN() in odbcinst/SQLWriteFileDSN.c (bsc#1082484)
Other fixes:
- Enabled --enable-fastvalidate option in configure (bsc#1044970)
- Record
SUSE-SU-2018:1832-1- Updated
- 2026-11-02
OSVUSN-6276-1 No score
unixodbc vulnerability
It was discovered that unixODBC incorrectly handled certain unicode to ansi copies. An attacker could possibly use this issue to cause a denial of service.
- Record
USN-6276-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libodbc1TuxCare:Ubuntu:16.04 |
before 2.3.1-4.1+tuxcare.els1 | 2.3.1-4.1+tuxcare.els1 |
odbcinstTuxCare:Ubuntu:16.04 |
before 2.3.1-4.1+tuxcare.els1 | 2.3.1-4.1+tuxcare.els1 |
odbcinst1debian2TuxCare:Ubuntu:16.04 |
before 2.3.1-4.1+tuxcare.els1 | 2.3.1-4.1+tuxcare.els1 |
unixodbcTuxCare:Ubuntu:16.04 |
before 2.3.1-4.1+tuxcare.els1 | 2.3.1-4.1+tuxcare.els1 |
unixodbc-devTuxCare:Ubuntu:16.04 |
before 2.3.1-4.1+tuxcare.els1 | 2.3.1-4.1+tuxcare.els1 |
unixodbcDebian:12 |
before 2.3.6-0.1 | 2.3.6-0.1 |
unixodbcDebian:13 |
before 2.3.6-0.1 | 2.3.6-0.1 |
unixodbcDebian:14 |
before 2.3.6-0.1 | 2.3.6-0.1 |
unixODBCMageia:6 From an advisory covering 2 CVEs |
before 2.3.7-1.mga6 | 2.3.7-1.mga6 |
unixODBCRed Hat:enterprise_linux:7::client From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7 | 0:2.3.1-14.el7 |
Show 25 moreShow less
| Package | Affected | Fixed |
|---|---|---|
unixODBC-debuginfoRed Hat:enterprise_linux:7::client From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7 | 0:2.3.1-14.el7 |
unixODBC-develRed Hat:enterprise_linux:7::client From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7 | 0:2.3.1-14.el7 |
unixODBCRed Hat:enterprise_linux:7::computenode From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7 | 0:2.3.1-14.el7 |
unixODBC-debuginfoRed Hat:enterprise_linux:7::computenode From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7 | 0:2.3.1-14.el7 |
unixODBC-develRed Hat:enterprise_linux:7::computenode From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7 | 0:2.3.1-14.el7 |
unixODBCRed Hat:enterprise_linux:7::server From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7 | 0:2.3.1-14.el7 |
unixODBC-debuginfoRed Hat:enterprise_linux:7::server From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7 | 0:2.3.1-14.el7 |
unixODBC-develRed Hat:enterprise_linux:7::server From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7 | 0:2.3.1-14.el7 |
unixODBCRed Hat:enterprise_linux:7::workstation From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7 | 0:2.3.1-14.el7 |
unixODBC-debuginfoRed Hat:enterprise_linux:7::workstation From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7 | 0:2.3.1-14.el7 |
unixODBC-develRed Hat:enterprise_linux:7::workstation From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7 | 0:2.3.1-14.el7 |
unixODBCRed Hat:rhel_eus:7.6::computenode From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7_6 | 0:2.3.1-14.el7_6 |
unixODBC-debuginfoRed Hat:rhel_eus:7.6::computenode From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7_6 | 0:2.3.1-14.el7_6 |
unixODBC-develRed Hat:rhel_eus:7.6::computenode From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7_6 | 0:2.3.1-14.el7_6 |
unixODBCRed Hat:rhel_eus:7.6::server From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7_6 | 0:2.3.1-14.el7_6 |
unixODBC-debuginfoRed Hat:rhel_eus:7.6::server From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7_6 | 0:2.3.1-14.el7_6 |
unixODBC-develRed Hat:rhel_eus:7.6::server From an advisory covering 2 CVEs |
before 0:2.3.1-14.el7_6 | 0:2.3.1-14.el7_6 |
unixODBCSUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 2 CVEs |
before 2.3.6-7.9.1 | 2.3.6-7.9.1 |
unixODBCSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 2 CVEs |
before 2.3.6-7.9.1 | 2.3.6-7.9.1 |
unixODBCSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 2 CVEs |
before 2.3.6-7.9.1 | 2.3.6-7.9.1 |
unixODBCSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 2 CVEs |
before 2.3.6-7.9.1 | 2.3.6-7.9.1 |
unixodbcUbuntu:Pro:14.04:LTS |
before 2.2.14p2-5ubuntu5+esm1, plus listed versions 2.2.14p2-5ubuntu42.2.14p2-5ubuntu5 |
2.2.14p2-5ubuntu5+esm1 |
unixodbcUbuntu:Pro:16.04:LTS |
before 2.3.1-4.1ubuntu0.1~esm1, plus listed versions 2.3.1-32.3.1-42.3.1-4.1 |
2.3.1-4.1ubuntu0.1~esm1 |
unixodbcUbuntu:18.04:LTS |
before 2.3.4-1.1ubuntu3, plus listed versions 2.3.4-12.3.4-1.12.3.4-1.1ubuntu2 |
2.3.4-1.1ubuntu3 |
unixODBCopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 2.3.9-3.4 | 2.3.9-3.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-7409 is a critical vulnerability (CVSS 9.8) in Unixodbc, published February 22, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.54%, the 85th percentile. Fixed in libodbc1 2.3.1-4.1+tuxcare.els1.
References
unixodbc.org/unixODBC-2.3.5.tar.gz
sourceforge.net/projects/unixodbc/files/unixODBC/2.3.5/ChangeLog/download
access.redhat.com/errata/RHSA-2019:2336
nvd.nist.gov/vuln/detail/CVE-2018-7409
github.com/advisories/GHSA-2c46-qg5h-fq8x
errata.cloudlinux.com/ubuntu16_04-els/CLSA-2023-1692110840
Show 25 moreShow less
security-tracker.debian.org/tracker/CVE-2018-7409
advisories.mageia.org/MGASA-2018-0379.html
bugs.mageia.org/show_bug.cgi?id=23253
lists.fedoraproject.org/archives/list/[email protected]/thread/FNQ5MBIGSDZTV3C7TRG7BMA6GMVJVOYO
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=1548305
bugzilla.redhat.com/show_bug.cgi?id=1549636
security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_2336.json
access.redhat.com/security/cve/CVE-2018-7409
cve.org/CVERecord?id=CVE-2018-7409
access.redhat.com/security/cve/CVE-2018-7485
cve.org/CVERecord?id=CVE-2018-7485
nvd.nist.gov/vuln/detail/CVE-2018-7485
access.redhat.com/errata/RHSA-2020:4999
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_4999.json
suse.com/support/update/announcement/2018/suse-su-20181832-1
bugzilla.suse.com/1044970
bugzilla.suse.com/1082060
bugzilla.suse.com/1082290
bugzilla.suse.com/1082484
suse.com/security/cve/CVE-2018-7409
suse.com/security/cve/CVE-2018-7485
ubuntu.com/security/CVE-2018-7409
ubuntu.com/security/notices/USN-6276-1