Read the docs
TI-2012-02295 Aliases CVE-2012-2657GHSA-v3gw-vw4w-6f6j

Buffer overflow in the SQLDriverConnect function in unixODBC 2.0.10, 2.3.1, and earlier…

Priority LOW 12CWE-119Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Partial
Fix status
Will not fix Red Hat: no fix planned

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.

Summary

Buffer overflow in the SQLDriverConnect function in unixODBC 2.0.10, 2.3.1, and earlier allows local users to cause a denial of service (crash) via a long string in the FILEDSN option. NOTE: this issue might not be a vulnerability, since the ability to set this option typically implies that the attacker already has legitimate access to cause a DoS or execute code, and therefore the issue would not cross privilege boundaries. There may be limited attack scenarios if isql command-line options are exposed to an attacker, although it seems likely that other, more serious issues would also be exposed, and this issue might not cross privilege boundaries in that context.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00443 38th percentileScored 2026-11-07
Fix Will not fix Red Hat: no fix planned

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:unixodbc:unixodbc:*:*:*:*:*:*:*:*up to 2.3.1Vulnerableunixodbc
cpe:2.3:a:unixodbc:unixodbc:2.0.10:*:*:*:*:*:*:*2.0.10Vulnerableunixodbc
cpe:2.3:a:unixodbc:unixodbc:2.3.0:*:*:*:*:*:*:*2.3.0Vulnerableunixodbc
  • cpe:2.3:a:unixodbc:unixodbc:*:*:*:*:*:*:*:* Versions up to 2.3.1 Vulnerable ·unixodbc
  • cpe:2.3:a:unixodbc:unixodbc:2.0.10:*:*:*:*:*:*:* Versions 2.0.10 Vulnerable ·unixodbc
  • cpe:2.3:a:unixodbc:unixodbc:2.3.0:*:*:*:*:*:*:* Versions 2.3.0 Vulnerable ·unixodbc

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 4AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix

Timeline

  1. 2026-10-02 Threatist record created from CVE-2012-2657
  2. 2026-10-03 Alias added: GHSA-v3gw-vw4w-6f6j

References

  • TI-2018-05395 The SQLWriteFileDSN function in odbcinst/SQLWriteFileDSN.c in unixODBC 2.3.5 has strncpy… CVSS 3.0CRITICAL 9.8
  • TI-2018-05347 In unixODBC before 2.3.5, there is a buffer overflow in the unicode_to_ansi_copy() function in DriverManager/__info.c. CVSS 3.0CRITICAL 9.8
  • TI-2024-00936 Unixodbc: out of bounds stack write due to pointer-to-integer types conversion CVSS 3.1HIGH 7.8
  • TI-2011-00998 Buffer overflow in unixodbc CVSS 3.1HIGH 7.8
  • TI-2012-02296 Buffer overflow in the SQLDriverConnect function in unixODBC 2.3.1 allows local users to… CVSS 2.0LOW 2.1

Sources