Perl DBI buffer overflow via error logging < v1.648
CVE-2026-9698 Published on June 9, 2026
DBI versions before 1.648 for Perl saved errors in a limited-sized buffer
DBI versions before 1.648 for Perl saved errors in a limited-sized buffer.
Error messages that were returned when RaiseError, PrintError or HandleError were set were written to a 200-byte buffer without a length limit.
Attackers that can influence the error text in an application can trigger a buffer overflow.
Vulnerability Analysis
CVE-2026-9698 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, with no impact on integrity, and a high impact on availability.
Timeline
Issue reported to CPANSec.
Commit fixed the issue in DBI. 32 days later.
DBI 1.648 released. 8 days later.
Weakness Types
What is a Memory Corruption Vulnerability?
The software writes data past the end, or before the beginning, of the intended buffer. Typically, this can result in corruption of data, a crash, or code execution. The software may modify an index or perform pointer arithmetic that references a memory location that is outside of the boundaries of the buffer. A subsequent write operation then produces undefined or unexpected results.
CVE-2026-9698 has been classified to as a Memory Corruption vulnerability or weakness.
What is a Classic Buffer Overflow Vulnerability?
The program copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. A buffer overflow condition exists when a program attempts to put more data in a buffer than it can hold, or when a program attempts to put data in a memory area outside of the boundaries of a buffer. The simplest type of error, and the most common cause of buffer overflows, is the "classic" case in which the program copies the buffer without restricting how much is copied. Other variants exist, but the existence of a classic overflow strongly suggests that the programmer is not considering even the most basic of security protections.
CVE-2026-9698 has been classified to as a Classic Buffer Overflow vulnerability or weakness.
Products Associated with CVE-2026-9698
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-9698 are published in these products:
Affected Versions
HMBRAND DBI:- Before 1.648 is affected.
- Version 0:1.643-26.el10_2.1 and below * is unaffected.
- Version 8100020260624081239.69ef70f8 and below * is unaffected.
- Version 0:1.643-9.el9_8.1 and below * is unaffected.
- Version 1786433656 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.