Description
SQL::Abstract versions from 1.90_01 before 2.000001_04 for Perl allow SQL injection via the where values of a nested statement in an identifier position.
A nested statement such as { -select => ... } in a position where plain scalars are identifiers treats its own plain scalars as identifiers too. These positions are the select list, ORDER BY, GROUP BY, RETURNING, and with the ExtraClauses plugin FROM (-as) and JOIN (to). The values of the statement's where, having and set clauses, and the rows of a -values, go into the SQL text instead of the bind list, unescaped unless quote_char is set. Subselects in a WHERE condition are not affected.
An application that passes untrusted input as a where value of such a nested statement, expecting it to be bound, allows SQL injection.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | SQL-Abstract | 1.90_01 – < 2.000001_04 | 2.000001_04 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libsql-abstract-perl | No fix yet | — |
| Debian 13 | libsql-abstract-perl | No fix yet | — |
| Debian 12 | libsql-abstract-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libsql-abstract-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libsql-abstract-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libsql-abstract-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libsql-abstract-perl | No fix yet | — |
| Ubuntu 20.04 LTS | libsql-abstract-perl | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libsql-abstract-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libsql-abstract-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-SQL-Abstract | 2.000002-1.1 | openSUSE-SU-2026:12469-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | perl-sql-abstract | 2.000003-r0 | — |
Advisories 1
- openSUSE-SU-2026:12469-1 perl-SQL-Abstract-2.000002-1.1 on GA media SUSE / openSUSE Security Updates · Nov 7, 2026