{"id":"UBUNTU-CVE-2026-41889","details":"pgx is a PostgreSQL driver and toolkit for Go. Prior to version 5.9.2, SQL injection can occur when the non-default simple protocol is used, a dollar quoted string literal is used in the SQL query, that string literal contains text that would be would be interpreted as a placeholder outside of a string literal, and the value of that placeholder is controllable by the attacker. This issue has been patched in version 5.9.2.","modified":"2026-05-25T09:30:30.646002040Z","published":"2026-05-08T17:16:00Z","upstream":["CVE-2026-41889"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-41889"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-41889"},{"type":"REPORT","url":"https://github.com/jackc/pgx/security/advisories/GHSA-j88v-2chj-qfwx"},{"type":"REPORT","url":"https://github.com/jackc/pgx/commit/60644f84918a8af66d14a4b0d865d4edafd955da"},{"type":"REPORT","url":"https://github.com/jackc/pgx/releases/tag/v5.9.2"}],"affected":[{"package":{"name":"golang-github-jackc-pgx-v5","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-jackc-pgx-v5?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.8.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-jackc-pgx-v5-dev","binary_version":"5.8.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41889.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}