Every CVE Search/ Get API key

CVE-2024-1013

Unixodbc: out of bounds stack write due to pointer-to-integer types conversion

7.8 HighFix available

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.28%Up 0.2 points since Mar 19, 2024
90%50%10%1%

What each source reports

CVE List Score used 7.8

Unixodbc: out of bounds stack write due to pointer-to-integer types conversion

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.

Record
CVE-2024-1013
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-823
Updated
2026-11-05
EUVDEUVD-2024-16790 7.8

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.

Record
EUVD-2024-16790
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-05
GitHub AdvisoriesGHSA-x6h9-cx79-jjjv 7.1

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller...

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.

Record
GHSA-x6h9-cx79-jjjv
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness
CWE-823
Updated
2026-11-02
NVD 7.8

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.

Record
CVE-2024-1013
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-823
Updated
2026-11-05
OSVAZL-36896 7.8

CVE-2024-1013 affecting package unixODBC for versions less than 2.3.9-3

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.

Record
AZL-36896
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVAZL-36904 7.8

CVE-2024-1013 affecting package unixODBC for versions less than 2.3.12-2

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.

Record
AZL-36904
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-05
Show 23 moreShow less
OSV 7.8

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.

Record
CVE-2024-1013
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2024-1013 7.8

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.

Record
DEBIAN-CVE-2024-1013
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2024-1327 7.1

unixODBC security update

The unixODBC Project goals are to develop and promote unixODBC to be the definitive standard for ODBC on non MS Windows platforms. This is to include GUI support for both KDE and GNOME.

Security Fix(es):

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.(CVE-2024-1013)

Record
OESA-2024-1327
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVOESA-2024-1370 7.1

unixODBC security update

The unixODBC Project goals are to develop and promote unixODBC to be the definitive standard for ODBC on non MS Windows platforms. This is to include GUI support for both KDE and GNOME.

Security Fix(es):

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.(CVE-2024-1013)

Record
OESA-2024-1370
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVOESA-2024-1371 7.1

unixODBC security update

The unixODBC Project goals are to develop and promote unixODBC to be the definitive standard for ODBC on non MS Windows platforms. This is to include GUI support for both KDE and GNOME.

Security Fix(es):

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.(CVE-2024-1013)

Record
OESA-2024-1371
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVOESA-2024-1372 7.1

unixODBC security update

The unixODBC Project goals are to develop and promote unixODBC to be the definitive standard for ODBC on non MS Windows platforms. This is to include GUI support for both KDE and GNOME.

Security Fix(es):

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.(CVE-2024-1013)

Record
OESA-2024-1372
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVOESA-2024-1373 7.1

unixODBC security update

The unixODBC Project goals are to develop and promote unixODBC to be the definitive standard for ODBC on non MS Windows platforms. This is to include GUI support for both KDE and GNOME.

Security Fix(es):

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.(CVE-2024-1013)

Record
OESA-2024-1373
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVOESA-2024-1374 7.1

unixODBC security update

The unixODBC Project goals are to develop and promote unixODBC to be the definitive standard for ODBC on non MS Windows platforms. This is to include GUI support for both KDE and GNOME.

Security Fix(es):

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.(CVE-2024-1013)

Record
OESA-2024-1374
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVOESA-2024-2332 7.1

unixODBC security update

The unixODBC Project goals are to develop and promote unixODBC to be the definitive standard for ODBC on non MS Windows platforms. This is to include GUI support for both KDE and GNOME.

Security Fix(es):

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.(CVE-2024-1013)

Record
OESA-2024-2332
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2024-1013 7.8

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.

Record
UBUNTU-CVE-2024-1013
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBIT-unixodbc-2024-1013 No score

An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.

Record
BIT-unixodbc-2024-1013
Updated
2026-11-02
OSVCLSA-2024-1712261674 No score

unixODBC: Fix of CVE-2024-1013

  • CVE-2024-1013: Fix out-of-bounds stack write by adjusting byte size in callee function
Record
CLSA-2024-1712261674
Updated
2026-11-02
OSVCLSA-2024-1712262573 No score

unixODBC: Fix of CVE-2024-1013

  • CVE-2024-1013: Fix out-of-bounds stack write issue by adjusting callee write size from 8 to 4 bytes
Record
CLSA-2024-1712262573
Updated
2026-11-02
OSVCLSA-2024-1712263690 No score

unixODBC: Fix of CVE-2024-1013

  • CVE-2024-1013: Fix out-of-bounds stack write issue by adjusting callee write size from 8 to 4 bytes
Record
CLSA-2024-1712263690
Updated
2026-11-02
OSVCLSA-2024-1712490771 No score

unixODBC: Fix of CVE-2024-1013

  • CVE-2024-1013: Fix out-of-bounds stack write by adjusting byte size in callee function
Record
CLSA-2024-1712490771
Updated
2026-11-02
OSVCLSA-2024-1712837462 No score

Fix CVE(s): CVE-2024-1013

  • SECURITY UPDATE: Fix incompatible pointer-to-integer types
    • debian/patch/CVE-2024-1013.patch: PostgreSQL driver: Fix incompatible pointer-to-integer types. This change is required to avoid a build failure with GCC 14.
    • CVE-2024-1013
Record
CLSA-2024-1712837462
Updated
2026-11-02
OSVCLSA-2024-1714462946 No score

Fix CVE(s): CVE-2024-1013

  • SECURITY UPDATE: PostgreSQL driver: Fix incompatible pointer-to-integer types
    • debian/patches/CVE-2024-1013.patch: Fix out-of-bounds stack write by adjusting byte size in callee function
    • CVE-2024-1013
Record
CLSA-2024-1714462946
Updated
2026-11-02
OSVCLSA-2025-1761844758 No score

Fix CVE(s): CVE-2024-1013

  • SECURITY UPDATE: out-of-bounds stack write flaw in 64-bit architectures
    • debian/patches/CVE-2024-1013.patch: Fix incompatible pointer-to-integer types causing out-of-bounds stack writes on 64-bit architectures
    • CVE-2024-1013
Record
CLSA-2025-1761844758
Updated
2026-11-02
OSVMGASA-2024-0106 No score

Updated unixODBC packages fix security vulnerability

It was discovered that unixODBC incorrectly handled certain bytes. An attacker could use this issue to execute arbitrary code or cause a crash.

Record
MGASA-2024-0106
Updated
2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2024-1013 No score

CVE-2024-1013 in unixodbc - Patched by Root

Root has patched CVE-2024-1013 in the unixodbc package for Root:Debian:12. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-12-CVE-2024-1013
Updated
2026-11-02
OSVSUSE-SU-2024:2978-1 No score

Security update for unixODBC

This update for unixODBC fixes the following issues:

  • CVE-2024-1013: Fixed out of bounds stack write due to pointer-to-integer types conversion on 64-bit architectures (bsc#1228143)
Record
SUSE-SU-2024:2978-1
Updated
2026-11-02
OSVUSN-6715-1 No score

unixodbc vulnerability

It was discovered that unixODBC incorrectly handled certain bytes. An attacker could use this issue to execute arbitrary code or cause a crash.

Record
USN-6715-1
Updated
2026-11-02
OSVUSN-6715-2 No score

unixodbc vulnerability

USN-6715-1 fixed a vulnerability in unixODBC. This update provides the corresponding fix for Ubuntu 24.04 LTS.

Original advisory details:

It was discovered that unixODBC incorrectly handled certain bytes. An attacker could use this issue to execute arbitrary code or cause a crash.

Record
USN-6715-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
unixODBC
Azure Linux:2
before 2.3.9-3
2.3.9-3
unixODBC
Azure Linux:3
before 2.3.12-2
2.3.12-2
unixodbc
Bitnami
Not stated
Not evaluated
unixODBC
TuxCare:CentOS:8.4
before 2.3.7-1.el8.tuxcare.els1
2.3.7-1.el8.tuxcare.els1
unixODBC-devel
TuxCare:CentOS:8.4
before 2.3.7-1.el8.tuxcare.els1
2.3.7-1.el8.tuxcare.els1
unixODBC
TuxCare:CentOS:6
before 2.2.14-14.el6.tuxcare.els1
2.2.14-14.el6.tuxcare.els1
unixODBC-devel
TuxCare:CentOS:6
before 2.2.14-14.el6.tuxcare.els1
2.2.14-14.el6.tuxcare.els1
unixODBC-kde
TuxCare:CentOS:6
before 2.2.14-14.el6.tuxcare.els1
2.2.14-14.el6.tuxcare.els1
unixODBC
TuxCare:OracleLinux:6
before 2.2.14-14.el6.tuxcare.els1
2.2.14-14.el6.tuxcare.els1
unixODBC-devel
TuxCare:OracleLinux:6
before 2.2.14-14.el6.tuxcare.els1
2.2.14-14.el6.tuxcare.els1
Show 40 moreShow less
Affected packages
PackageAffectedFixed
unixODBC-kde
TuxCare:OracleLinux:6
before 2.2.14-14.el6.tuxcare.els1
2.2.14-14.el6.tuxcare.els1
unixODBC
TuxCare:CentOS:8.5
before 2.3.7-1.el8.tuxcare.els1
2.3.7-1.el8.tuxcare.els1
unixODBC-devel
TuxCare:CentOS:8.5
before 2.3.7-1.el8.tuxcare.els1
2.3.7-1.el8.tuxcare.els1
libodbc1
TuxCare:Ubuntu:16.04
before 2.3.1-4.1+tuxcare.els2
2.3.1-4.1+tuxcare.els2
odbcinst
TuxCare:Ubuntu:16.04
before 2.3.1-4.1+tuxcare.els2
2.3.1-4.1+tuxcare.els2
odbcinst1debian2
TuxCare:Ubuntu:16.04
before 2.3.1-4.1+tuxcare.els2
2.3.1-4.1+tuxcare.els2
unixodbc
TuxCare:Ubuntu:16.04
before 2.3.1-4.1+tuxcare.els2
2.3.1-4.1+tuxcare.els2
unixodbc-dev
TuxCare:Ubuntu:16.04
before 2.3.1-4.1+tuxcare.els2
2.3.1-4.1+tuxcare.els2
libodbc1
TuxCare:Ubuntu:18.04
before 2.3.4-1.1ubuntu3+tuxcare.els1
2.3.4-1.1ubuntu3+tuxcare.els1
odbcinst
TuxCare:Ubuntu:18.04
before 2.3.4-1.1ubuntu3+tuxcare.els1
2.3.4-1.1ubuntu3+tuxcare.els1
odbcinst1debian2
TuxCare:Ubuntu:18.04
before 2.3.4-1.1ubuntu3+tuxcare.els1
2.3.4-1.1ubuntu3+tuxcare.els1
unixodbc
TuxCare:Ubuntu:18.04
before 2.3.4-1.1ubuntu3+tuxcare.els1
2.3.4-1.1ubuntu3+tuxcare.els1
unixodbc-dev
TuxCare:Ubuntu:18.04
before 2.3.4-1.1ubuntu3+tuxcare.els1
2.3.4-1.1ubuntu3+tuxcare.els1
libodbc1
TuxCare:Debian:10
before 2.3.6-0.1+tuxcare.els1
2.3.6-0.1+tuxcare.els1
odbcinst
TuxCare:Debian:10
before 2.3.6-0.1+tuxcare.els1
2.3.6-0.1+tuxcare.els1
odbcinst1debian2
TuxCare:Debian:10
before 2.3.6-0.1+tuxcare.els1
2.3.6-0.1+tuxcare.els1
unixodbc
TuxCare:Debian:10
before 2.3.6-0.1+tuxcare.els1
2.3.6-0.1+tuxcare.els1
unixodbc-dev
TuxCare:Debian:10
before 2.3.6-0.1+tuxcare.els1
2.3.6-0.1+tuxcare.els1
unixodbc
Debian:12
All versions, plus listed versions
2.3.11-22.3.11-2+deb12u12.3.11-32.3.11-42.3.12-12.3.12-22.3.14-12.3.14-2
None known
unixodbc
Debian:13
All versions, plus listed versions
2.3.12-22.3.12-2+deb13u12.3.14-12.3.14-2
None known
unixodbc
Debian:14
before 2.3.14-1, plus listed versions
2.3.12-2
2.3.14-1
unixODBC
Mageia:9
before 2.3.11-1.1.mga9
2.3.11-1.1.mga9
unixODBC
openEuler:22.03-LTS-SP3
before 2.3.7-3.h1.oe2203sp3
2.3.7-3.h1.oe2203sp3
unixODBC
openEuler:20.03-LTS-SP4
before 2.3.7-3.h1.oe2003sp4
2.3.7-3.h1.oe2003sp4
unixODBC
openEuler:22.03-LTS
before 2.3.7-3.h1.oe2203
2.3.7-3.h1.oe2203
unixODBC
openEuler:22.03-LTS-SP1
before 2.3.7-3.h1.oe2203sp1
2.3.7-3.h1.oe2203sp1
unixODBC
openEuler:22.03-LTS-SP2
before 2.3.7-3.h1.oe2203sp2
2.3.7-3.h1.oe2203sp2
unixODBC
openEuler:20.03-LTS-SP1
before 2.3.7-3.h1.oe1
2.3.7-3.h1.oe1
unixODBC
openEuler:24.03-LTS
before 2.3.9-4.oe2403
2.3.9-4.oe2403
unixodbc
Root:Debian:12
before 2.3.11-2+deb12u1.root.io.1
2.3.11-2+deb12u1.root.io.12.3.11-2+deb12u1.aikido.2
rootio-unixodbc
Root:Debian:12
before 2.3.11-2+deb12u1.root.io.1
2.3.11-2+deb12u1.root.io.12.3.11-2+deb12u1.aikido.2
unixODBC
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 2.3.9-7.16.1
2.3.9-7.16.1
unixODBC
SUSE:Linux Enterprise Server 12 SP5
before 2.3.9-7.16.1
2.3.9-7.16.1
unixODBC
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 2.3.9-7.16.1
2.3.9-7.16.1
unixodbc
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
2.2.14p2-5ubuntu42.2.14p2-5ubuntu52.2.14p2-5ubuntu5+esm1
None known
unixodbc
Ubuntu:Pro:16.04:LTS
before 2.3.1-4.1ubuntu0.1~esm2, plus listed versions
2.3.1-32.3.1-42.3.1-4.12.3.1-4.1ubuntu0.1~esm1
2.3.1-4.1ubuntu0.1~esm2
unixodbc
Ubuntu:Pro:18.04:LTS
before 2.3.4-1.1ubuntu3+esm1, plus listed versions
2.3.4-12.3.4-1.12.3.4-1.1ubuntu22.3.4-1.1ubuntu3
2.3.4-1.1ubuntu3+esm1
unixodbc
Ubuntu:20.04:LTS
before 2.3.6-0.1ubuntu0.1, plus listed versions
2.3.6-0.1build1
2.3.6-0.1ubuntu0.1
unixodbc
Ubuntu:22.04:LTS
before 2.3.9-5ubuntu0.1, plus listed versions
2.3.6-0.1build22.3.9-22.3.9-32.3.9-42.3.9-5
2.3.9-5ubuntu0.1
unixodbc
Ubuntu:24.04:LTS
before 2.3.12-1ubuntu0.24.04.1, plus listed versions
2.3.12-12.3.12-1build12.3.12-1build2
2.3.12-1ubuntu0.24.04.1

Not evaluated means the source gave git commits or a range we can't read, so we can't tell which releases are affected. A fixed version beside it is the source’s own claim.

History

History
RecordedChangedSources
factsEUVD
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-1013 is a high vulnerability (CVSS 7.8) in Unixodbc, published March 18, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.28%, the 21st percentile. Fixed in unixODBC 2.3.9-3.

References

Show 23 moreShow less
MoveEnter Open