# CVE-2026-120060: psqlODBC does not validate server-supplied counts and lengths

- Severity: Medium 5.9 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-11-02T19:09:10.912Z
- Modified: 2026-11-02T20:17:39.190Z
- Weaknesses: CWE-125, CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PostgreSQL

## Description

psqlODBC trusts counts and lengths in server data in three places. SQLBulkOperations uses a server-supplied row count in a size subtraction that can underflow. SQLStatistics iterates index keys using a server-supplied key count without bounding it to the fixed storage. Bytea octal decoding reads up to two bytes past the end of a truncated escape sequence. A server not trusted under current SSL settings can crash the client or make it read out of bounds. Versions before psqlODBC 18.00.0006 are affected.

(As written by CVE List.)

## Affected

- PostgreSQL psqlODBC: before 18.00.0006

## References

- <https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-4mfx-cfxx-c877> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-120060](https://www.cve.org/CVERecord?id=CVE-2026-120060), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-120060](https://nvd.nist.gov/vuln/detail/CVE-2026-120060), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-120060 · Whole record: https://cve.day/CVE-2026-120060.json · Rebuilt by cve.day 2026-11-25T22:59:48.217Z
