Skip to content
Heist/ feed
Back to feed
UnratedFix available

unixodbc — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2012-2657

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.

Products
unixodbc
Affected versions
Not specified
Fixed versions
2.3.6-0.1
CVEs
CVE-2012-2657
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 22:34 UTC · Revision 1

Source evidence

DEBIAN-CVE-2012-2657

core-osv · Original source

Published 31 Aug 2012, 18:55 UTC

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.

osv:DEBIAN-CVE-2012-2657

unixodbc

Fixed versions: 2.3.6-0.1

unixodbc

Fixed versions: 2.3.6-0.1

unixodbc

Fixed versions: 2.3.6-0.1

Complete source record
{
  "id": "346d1b269de7e37bfc8ecf55ca16e5943ccbabac979cae4f07329436432efd2d",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2012-2657",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2012-2657",
    "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.",
    "evidence": "osv:DEBIAN-CVE-2012-2657",
    "products": [
      {
        "name": {
          "value": "unixodbc",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.3.6-0.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "unixodbc",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.3.6-0.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "unixodbc",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.3.6-0.1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DEBIAN-CVE-2012-2657",
      "aliases": [
        "DEBIAN-CVE-2012-2657"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.3.6-0.1"
                }
              ]
            }
          ],
          "package": {
            "name": "unixodbc",
            "purl": "pkg:deb/debian/unixodbc?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-2657.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.3.6-0.1"
                }
              ]
            }
          ],
          "package": {
            "name": "unixodbc",
            "purl": "pkg:deb/debian/unixodbc?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-2657.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.3.6-0.1"
                }
              ]
            }
          ],
          "package": {
            "name": "unixodbc",
            "purl": "pkg:deb/debian/unixodbc?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-2657.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        }
      ],
      "modified": "2026-10-23T17:47:24.534932787Z",
      "provider": "osv",
      "upstream": [
        "CVE-2012-2657"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2012-2657"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2012-2657",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 416767,
  "published_at": "2012-08-31T18:55:00.98+00:00"
}