CVEfocus › CVE database › CVE-2024-1013

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

CVSS 7.8 HighEPSS 0.3% (higher than 21% of CVEs)Published 2024-03-18Updated 2026-11-24Assigner: redhat

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.

CWE-823

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
3Fix pending
9Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04unixodbcFixed2.3.12-1ubuntu0.24.04.1UBUNTU-CVE-2024-1013
Ubuntu 22.04unixodbcFixed2.3.9-5ubuntu0.1UBUNTU-CVE-2024-1013
Ubuntu 20.04unixodbcFixed2.3.6-0.1ubuntu0.1UBUNTU-CVE-2024-1013
Ubuntu 18.04unixodbcFix pending2.3.4-1.1ubuntu3+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-1013
Ubuntu 16.04unixodbcFix pending2.3.1-4.1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2024-1013
Ubuntu 14.04unixodbcFix pendingUBUNTU-CVE-2024-1013
Debian 14unixodbcFixed2.3.14-1DEBIAN-CVE-2024-1013
Debian 13unixodbcWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2024-1013
Debian 12unixodbcWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2024-1013
Red Hat Enterprise Linux 9unixODBCNot affected
Red Hat Enterprise Linux 9unixODBC-develNot affected
Red Hat Enterprise Linux 8unixODBCNot affected
Red Hat Enterprise Linux 8unixODBC-develNot affected
Red Hat Enterprise Linux 7compat-unixODBC234Will not fix
Out of support scope
Red Hat Enterprise Linux 7compat-unixODBC234-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7unixODBCWill not fix
Out of support scope
Red Hat Enterprise Linux 7unixODBC-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6unixODBCWill not fix
Out of support scope
Red Hat Enterprise Linux 6unixODBC-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6unixODBC-kdeWill not fix
Out of support scope

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.