CVE-2012-2658
CVE-2012-2658 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: 1% (42nd 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.3.1 allows local users to cause a denial of service (crash) via a long string in the DRIVER 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-2658?
- Buffer overflow in the SQLDriverConnect function in unixODBC 2.3.1 allows local users to cause a denial of service (crash) via a long string in the DRIVER 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-2658?
- CVE-2012-2658 has a CVSS 2.0 base score of 2.1, rated low severity.
- Is CVE-2012-2658 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (42nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-2658?
- CVE-2012-2658 affects Unixodbc. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2012-2658?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-2658 published?
- CVE-2012-2658 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 (1)
- cpe:2.3:a:unixodbc:unixodbc:2.3.1:*:*:*:*:*:*:*
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-2657 — Low (CVSS 2.1): Buffer overflow in the SQLDriverConnect function in unixODBC 2.0.10, 2.3.1, and earlier allows local users to cause a…
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-77946 — Critical (CVSS 10.0): A vulnerability was determined in TRENDnet TEW-821DAP 2.2.01b05. Affected by this vulnerability is the function…
- CVE-2026-76008 — Critical (CVSS 10.0): A flaw has been found in Comfast CF-N1-S 2.6.0.1. This affects the function get_para_from_uri of the file…
- CVE-2026-75784 — Critical (CVSS 10.0): A vulnerability was detected in TRENDnet TEW-WLC100 1v2.07b01. Affected by this issue is the function FUN_0040da4c of…
- CVE-2026-74843 — Critical (CVSS 10.0): A vulnerability was determined in Wavlink WN531P3 and WN535M1 V250922. Affected by this vulnerability is the function…
- CVE-2026-16367 — Critical (CVSS 10.0): Sandbox escape due to invalid pointer in the Disability Access APIs component. This vulnerability was fixed in Firefox…
- 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…