{"id":"DEBIAN-CVE-2026-136515","aliases":[],"title":null,"originalDescription":"psqlODBC rewrites statement text for keyset-driven cursors and ODBC escapes using positions it found in the text. These positions could lie outside the text or describe another statement: - After SQLExecDirect() failed on a statement handle, the FROM and WHERE positions of the failed statement were applied to the next, shorter statement on that handle. - The parser could record a FROM position with no text after it, and the rewrite then copied a negative length. - An {fn …} escape whose arguments contain FOR UPDATE, ; or INTO … FROM made the driver remove a cursor prefix from the wrong buffer. - {fn CONVERT(?, …)} with an output parameter produced a negative argument length. - An unclosed {fn …} escape made the driver read past the statement, and a few thousand nested ones exhausted the stack. - Translating @@identity in long statement text read an uninitialised pointer, and {? = call …} with nothing bound for the return value dereferenced NULL. Whoever supplies the text of a statement that an application opens on a keyset-driven or dynamic cursor with a concurrency other than read-only, or calls with an output parameter, can corrupt the application's heap and end it. That includes","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2026-136515","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-27T21:58:07.193Z","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-136515","license":"CC-BY 4.0","firstSeenAt":"2026-11-27T21:25:03.470Z"}],"firstSeenAt":"2026-11-27T21:25:03.470Z","publishedAt":"2026-11-25T23:17:24.887Z","modifiedAt":"2026-11-27T21:00:43.467Z"}