psqlODBC did not check that a server reply matches the query it sent: that a FETCH returns no more rows than it asked for, that each row…
CVE-2026-136509
psqlODBC did not check that a server reply matches the query it sent: that a FETCH returns no more rows than it asked for, that each row has the described number of columns, that one query produces one result, and that a COPY, a transaction or the connection ends where the protocol says. By sending replies that do not match, a hostile or compromised server, or anyone on the network path of a connection that does not use sslmode=verify-full (the default is disable) can corrupt memory in the application: A FETCH reply with more rows than requested overflows the row cache. Extra results in reply to a FETCH, or to the queries of a keyset-driven cursor, are freed while still in use. A key query of a keyset-driven cursor answered with extra columns, or a re-read row with fewer columns, overflows the row cache. Replies without columns or rows, or with NULL values, to the driver's internal queries at connect time and in catalog functions are dereferenced. A malformed relacl value in SQLTablePrivileges() makes the driver write past a buffer. On Windows with MSDTC, a long transaction name returned by the server overflows a buffer during recovery. Values in replies to the driver's internal…
Assessment
- CVSS
- 7.5 (v3.1)
- Severity
- High
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 25 November 2026
- Last updated
- 25 November 2026
- Affected
- PostgreSQL · psqlODBC
- Assigner
- PostgreSQL
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
At the source
References
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-136509