CVE-2026-121265SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref…
SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update. With the array_datatypes option off, which is the default, insert(), update() and values() treat an arrayref column value as literal SQL. Its first element goes into the SQL text unescaped and the rest become bind values. A JSON array, or a repeated form field decoded as an arrayref, is such a value. An application that passes request data as column values to insert or update with the default options allows SQL injection. Releases before 2.000003 also treat an arrayref in generate() as literal SQL, including through AUTOLOAD when allow_autoload is on, whatever array_datatypes is set to.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libsql-abstract-perl | Fix pending | UBUNTU-CVE-2026-121265 | |
| Ubuntu 26.04 | libsql-abstract-perl | Under investigation | UBUNTU-CVE-2026-121265 | |
| Ubuntu 24.04 | libsql-abstract-perl | Under investigation | UBUNTU-CVE-2026-121265 | |
| Ubuntu 22.04 | libsql-abstract-perl | Under investigation | UBUNTU-CVE-2026-121265 | |
| Ubuntu 20.04 | libsql-abstract-perl | Fix pending | UBUNTU-CVE-2026-121265 | |
| Ubuntu 18.04 | libsql-abstract-perl | Fix pending | UBUNTU-CVE-2026-121265 | |
| Ubuntu 16.04 | libsql-abstract-perl | Fix pending | UBUNTU-CVE-2026-121265 | |
| Debian 14 | libsql-abstract-perl | Fix pending | DEBIAN-CVE-2026-121265 | |
| Debian 13 | libsql-abstract-perl | Fix pending | DEBIAN-CVE-2026-121265 | |
| Debian 12 | libsql-abstract-perl | Fix pending | DEBIAN-CVE-2026-121265 | |
| Alpine Linux 3.24 | perl-sql-abstract | Fixed | 2.000003-r0 | ALPINE-CVE-2026-121265 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- SQL-Abstract: affected: before 2.000003; fixed in
2.000003
Solution: Upgrade to SQL-Abstract 2.000003 or later.
Vendor advisories:
- https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/changes (release-notes)
References
- https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/changes
- https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/diff/GETTY/SQL-Abstract-2.000001_04
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.