CVSS 7.5 · High EPSS 0,53%
Kerentanan Out-of-bounds Read. Skor CVSS 3.1 7.5 (High) menurut CNA.
Deskripsi (NVD)
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 the users of query tools, report builders and other applications that run SQL their users type. Code execution has not been demonstrated. Versions up to and including psqlODBC 18.00.0006 are affected.
Rincian
- Terbit di NVD
- 25 November 2026
- Terakhir diubah
- 25 November 2026
- Status NVD
- Received
- CVSS 3.1
- 7.5 (High), sumber CNA
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H· uraikan di kalkulator - Jenis kelemahan (CWE)
-
CWE-125: Out-of-bounds Read
CWE-674: Uncontrolled Recursion
CWE-787: Out-of-bounds Write - EPSS (30 hari)
- 0,53% peluang dieksploitasi; lebih tinggi dari 38,0% CVE lain
Produk dan versi terdampak
NVD belum mencantumkan data produk (CPE) untuk CVE ini. Produk yang terdampak biasanya disebut di deskripsi dan di advisory vendor pada daftar referensi.
Referensi dan perbaikan
- https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-pw7w-x92p-r3q2
- https://odbc.postgresql.org/changelog/