{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-136510 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls SQLCancel, SQLPutData or SQLExecDirect. Many projects that include it are not exposed.","fix":"No fix has been published for CVE-2026-136510 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-136510 is a medium-severity other vulnerability in PostgreSQL psqlODBC, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-136510 and fix it if it is affected.\n\nWhat it is: CVE-2026-136510 is a medium-severity other vulnerability in PostgreSQL psqlODBC, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-136510 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls SQLCancel, SQLPutData or SQLExecDirect. Many projects that include it are not exposed.\n\nAffected product: PostgreSQL psqlODBC. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to SQLCancel, SQLPutData or SQLExecDirect and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-136510/ (Markdown: https://insights.sbomify.com/CVE-2026-136510/index.md)","id":"CVE-2026-136510","markdown":"https://insights.sbomify.com/CVE-2026-136510/index.md","name":"CVE-2026-136510","record":{"aliases":["GHSA-9j2v-p4pj-f4wj","UBUNTU-CVE-2026-136510"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"PostgreSQL ODBC driver","requires_auth":"none","requires_specific_call":true,"summary":"Applications using psqlODBC parameter-array execution may silently store rows or write past an array status pointer after a failed batch.","user_interaction":"not_required","vuln_class":"other","vulnerable_functions":["SQLCancel","SQLPutData","SQLExecDirect"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"PostgreSQL","component":null,"cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-665","name":"Improper Initialization"}],"description":"A parameter-array execution that fails part-way leaves the rows it has already\nqueued on the statement handle, and the next execution on that handle sends\nthem. After a data-at-execution batch is abandoned, by SQLCancel or a\nrejected SQLPutData, the next SQLExecDirect sends the failed batch's rows\nand returns SQL_SUCCESS without sending its own statement.\n\nSo an application that logs the failure on the same handle has its log entry\nturned into a silent no-op, while rows it was told had failed are stored. An\nend user who controls one value in an application's array insert can arrange\nboth halves of that.\n\nA second route needs no data-at-execution parameter: when building a later row\nfails in parameter conversion, the queued rows go to the server ahead of the\nnext parameter array on the handle, inside whatever transaction and session\nsettings are current by then. One variant also writes past the end of a shorter\nSQL_ATTR_PARAM_STATUS_PTR array supplied by the next statement.\n\nThe statements that run are the application's own, correctly quoted; no SQL\ntext comes from outside.\n\nVersions from psqlODBC 12.02.0000, which introduced batched parameter-array\nexecution, up to and including 18.00.0006 are affected.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Statement after an abandoned parameter array sends the abandoned batch's rows instead of its own","id":"CVE-2026-136510","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":2,"n_vendor_status":0,"next":{"headline":"An SSLmode value written with capitals or braces connects without TLS","id":"CVE-2026-136511"},"nickname":null,"packages":[],"prev":{"headline":"Driver does not check that server replies match the queries it sent","id":"CVE-2026-136509"},"products":["psqlODBC"],"published":"2026-11-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-25","vendor_status":[],"vendors":["PostgreSQL"]},"summary":"Applications using psqlODBC parameter-array execution may silently store rows or write past an array status pointer after a failed batch.","url":"https://insights.sbomify.com/CVE-2026-136510/"}