> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# psqlODBC 18.00.0005 Addresses CVE-2026-109448 Security Vulnerability
- URL: https://www.stirup.si/psqlodbc-18-00-0005-addresses-cve-2026-109448-security-vulnerability-88076c27/
- Published: 2026-10-14T12:38:01.000Z
- Updated: 2026-10-14T12:38:01.000Z
- Description: The latest psqlODBC release, version 18.00.0005, fixes a security vulnerability (CVE-2026-109448) caused by heap memory corruption when more than 32767 parameters are bound to a single statement.
- Author: Satish Das
- Tags: Data, News, Stirup Research

## Security Fix for CVE-2026-109448

The latest release of psqlODBC, version 18.00.0005, addresses a security vulnerability identified as CVE-2026-109448\. This issue arises from heap memory corruption when an application binds more than 32767 parameters to a single statement. According to the evidence, the psqlODBC driver stored the number of bound parameters in a signed 16-bit field, which could lead to incorrect memory handling when exceeding the limit. As a result, the driver may have written zeros outside the allocated memory space for parameter bindings, potentially leading to undefined behavior or security risks. The vulnerability affects versions from 08.01.0102 through 18.00.0004\. The CVSS 3.1 base score for this vulnerability is 5.9, classified as medium severity. Users are advised to upgrade to version 18.00.0005 to mitigate this risk.

## Impact of the Vulnerability

The vulnerability identified as CVE-2026-109448 affects the psqlODBC driver version 18.00.0005, introducing potential risks for applications that improperly handle user input in parameter binding. As noted in the release, if an application allows untrusted input to determine the number of parameters bound, such as dynamically constructing an `IN (?, ?, ...)` list from user-supplied values, it may be exposed to malicious exploitation. This could lead to application crashes or continued operation with corrupted memory, as stated by the publisher. To mitigate this, the updated driver now enforces a limit on parameter numbers, rejecting any above 32767 with SQLSTATE 07009\. Developers are advised to review their code for unsafe parameter binding practices and ensure input validation is in place to prevent exploitation of this issue.

## Mitigation and Workarounds

The psqlODBC 18.00.0005 release addresses a security vulnerability identified as CVE-2026-109448\. For applications unable to upgrade immediately, mitigation strategies include limiting the number of parameters sourced from external input. Alternatively, passing long value lists as a single array parameter, such as using = ANY(?), can help avoid triggering the vulnerability. This approach aligns with existing limitations in ODBC, which cannot report more than 32767 parameters due to 16-bit values in SQLNumParams and SQL\_DESC\_COUNT, as noted in [PostgreSQL](https://www.postgresql.org/about/news/psqlodbc-18000005-released-with-security-fix-for-cve-2026-109448-3404/?ref=stirup.si). Earlier versions of psqlODBC also had similar constraints, ensuring that this change does not disrupt applications that previously functioned correctly, as stated in [PostgreSQL](https://www.postgresql.org/about/news/psqlodbc-18000005-released-with-security-fix-for-cve-2026-109448-3404/?ref=stirup.si). These workarounds are recommended until an upgrade can be performed.

## Additional Bug Fixes in the Release

The psqlODBC 18.00.0005 release includes several bug fixes aimed at improving stability and compatibility. One notable fix addresses an issue where statements prepared on the server with 1000 or more parameters could fail with errors such as type "timestam" does not exist. Additionally, the driver previously cut the type name that follows each parameter to fit a fixed-size buffer starting from parameter 1000\. Another fix resolves a problem where bytea parameters failed with "Type is invalid" when used through Microsoft's OLE DB Provider for ODBC (MSDASQL), for example from ADO, since version 18.00.0003\. These updates enhance the reliability of the driver in handling complex queries and ensure better interoperability with other database access tools.

## Availability and Reporting

The psqlODBC 18.00.0005 release is now available for download, offering updated Windows installers and merge modules for x86, x64, and ARM64 architectures from the PostgreSQL download site and the GitHub release page. This version includes a security fix for CVE-2026-109448, addressing a vulnerability reported by Richard Kuesters. Users are encouraged to upgrade to this version to ensure their systems are protected against potential exploits. Any issues encountered with the new release should be reported via the psqlODBC issue tracker or the pgsql-odbc mailing list. The psqlODBC team acknowledges the importance of community feedback in maintaining the reliability and security of the software.

## Sources and reporting notes

- [PostgreSQL](https://www.postgresql.org/about/news/psqlodbc-18000005-released-with-security-fix-for-cve-2026-109448-3404/?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.