---
id: CVE-2026-9698
title: >-
  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 c…
summary: >-
  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 c…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
  - CWE-120
vendor: perl
product: dbi
affected:
  - dbi < 1.648
patched:
  - dbi 1.648
published: '2026-06-09'
updated: '2026-07-13'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-9698'
references:
  - url: >-
      https://github.com/perl5-dbi/dbi/commit/bfe5d73c162d2d1f761a639a0aa33aad6a9eb54e.patch
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  - url: 'https://metacpan.org/release/HMBRAND/DBI-1.648/changes'
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  - url: 'http://www.openwall.com/lists/oss-security/2026/06/09/9'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2026:38512'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:38513'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-9698'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2486734'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9698.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
tags:
  - nvd
epss: 0.00464
epssPercentile: 0.39304
ingestedAt: '2026-07-13T13:27:18.038Z'
---

## Overview

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.

## Affected

- `dbi < 1.648`

## Remediation

Upgrade past the affected range:

- `dbi 1.648`
