---
id: CVE-2024-1013
title: 'Unixodbc: out of bounds stack write due to pointer-to-integer types conversion'
summary: >-
  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 bro…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-823
vendor: Red Hat
product: unixODBC
affected:
  - unixODBC
  - compat-unixODBC234
  - unixODBC
  - unixODBC
  - unixODBC
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-04-25T17:35:03.363603Z'
published: '2024-03-18'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T11:39:54.268Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-1013'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2024-1013'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2260823'
    label: RHBZ#2260823
  - url: 'https://github.com/lurcher/unixODBC/pull/157'
tags:
  - cve.org
epss: 0.00284
epssPercentile: 0.21029
ingestedAt: '2026-11-05T21:36:00.820Z'
---

## Overview

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.

## Affected

- `unixODBC`
- `compat-unixODBC234`
- `unixODBC`
- `unixODBC`
- `unixODBC`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
