CVE-2026-9698: Stack-based buffer overflow in Perl DBI error handling
- Vendor
- Perl
CVE-2026-9698 is a stack-based buffer overflow in Perl DBI versions before 1.648. When RaiseError, PrintError, or HandleError is set, error messages are written to a fixed 200-byte buffer without enforcing a length limit. An attacker who can influence application error text can cause an oversized message to overflow the buffer, potentially resulting in denial of service or arbitrary code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation can corrupt application memory, crash the affected Perl process, or potentially execute arbitrary code with the privileges of that process. Successful code execution could compromise the confidentiality and integrity of application-accessible data and disrupt service availability. Actual exploitability depends on application error handling and runtime protections.
Mitigation
If you can’t patch tonight, do this now.
No validated general workaround is documented. Until patched, constrain untrusted inputs that can influence DBI error text and restrict access to affected application functionality. These measures reduce exposure but do not replace the security update.
Remediation
Patch, then assume compromise.
Upgrade Perl DBI to version 1.648 or later, or install the distribution's security-patched package. Debian fixed packages include libdbi-perl 1.643-4+deb12u1 for bookworm and 1.647-1+deb13u1 for trixie; these contain backported fixes despite upstream version numbers below 1.648.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-9698 exploited in the wild?
- As of Nov 7, 2026, Mallory has no reports of CVE-2026-9698 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-9698?
- As of Nov 7, 2026, Mallory has found no public exploit for CVE-2026-9698.
- Is there a patch for CVE-2026-9698?
- Upgrade Perl DBI to version 1.648 or later, or install the distribution's security-patched package. Debian fixed packages include libdbi-perl 1.643-4+deb12u1 for bookworm and 1.647-1+deb13u1 for trixie; these contain backported fixes despite upstream version numbers below 1.648.
- What products are affected by CVE-2026-9698?
- Perl Dbi.
- How severe is CVE-2026-9698?
- CVE-2026-9698 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 0.82% (55th percentile) as of Nov 7, 2026.
Recent activity
49 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.