Posted by Daniel Owens via Fulldisclosure on Nov 04 unixODBC versions <=2.3.14 contain a rude truncation of a 64-bit `SQLLEN` `buffer_length` to a 32-bit `int` without verifying that it produces a valid, positive value. The result is later passed to `memcpy`, causing the information system to crash
Briefing
Written from the coverage below · claude-haiku-5-5
unixODBC versions 2.3.14 and earlier truncate a 64-bit SQLLEN buffer_length to a 32-bit int without validating the result. The truncated value is later passed to memcpy, which can crash the process or, under certain values, allow writes to adjacent memory.
Why it mattersAny system that uses unixODBC 2.3.14 or earlier as a database driver manager is exposed to a crash or possible memory corruption triggered through ODBC calls.
ActionUpgrade unixODBC to a version later than 2.3.14 that includes the fix, or confirm the vendor patch is applied on hosts that use it.
Coverage
1 article