CVE-2012-2657
CVE-2012-2657 is a low-severity vulnerability in Unixodbc with a CVSS 2.0 base score of 2.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Low (CVSS 2.0 base score 2.1)
- EPSS exploit prediction: 0% (36th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Unixodbc
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2012-2657?
- CVE-2012-2657 has a CVSS 2.0 base score of 2.1, rated low severity.
- Is CVE-2012-2657 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (36th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-2657?
- CVE-2012-2657 primarily affects Unixodbc. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-2657?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-2657 published?
- CVE-2012-2657 was published on 2012-08-31 and last updated on 2026-06-16.
References
- http://www.openwall.com/lists/oss-security/2012/05/29/10
- http://www.openwall.com/lists/oss-security/2012/05/29/7
- http://www.openwall.com/lists/oss-security/2012/05/30/7
- http://www.openwall.com/lists/oss-security/2012/05/31/2
- http://www.openwall.com/lists/oss-security/2012/06/06/3
- http://www.osvdb.org/82460
- http://www.securityfocus.com/bid/53712
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75940
Affected products (3)
- cpe:2.3:a:unixodbc:unixodbc:*:*:*:*:*:*:*:*
- cpe:2.3:a:unixodbc:unixodbc:2.0.10:*:*:*:*:*:*:*
- cpe:2.3:a:unixodbc:unixodbc:2.3.0:*:*:*:*:*:*:*
More vulnerabilities in Unixodbc
- CVE-2018-7485 — Critical (CVSS 9.8): The SQLWriteFileDSN function in odbcinst/SQLWriteFileDSN.c in unixODBC 2.3.5 has strncpy arguments in the wrong order,…
- CVE-2018-7409 — Critical (CVSS 9.8): In unixODBC before 2.3.5, there is a buffer overflow in the unicode_to_ansi_copy() function in DriverManager/__info.c.
- CVE-2024-1013 — High (CVSS 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…
- CVE-2011-1145 — High (CVSS 7.8): The SQLDriverConnect() function in unixODBC before 2.2.14p2 have a possible buffer overflow condition when specifying a…
- CVE-2012-2658 — Low (CVSS 2.1): Buffer overflow in the SQLDriverConnect function in unixODBC 2.3.1 allows local users to cause a denial of service…
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.