{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.650"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e471b1e8667b8b1de404db07e0c9331df06eb621"
            },
            {
              "fixed": "fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01"
            }
          ],
          "repo": "https://github.com/perl5-dbi/dbi",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-35f4-f8m9-w8xg"
  ],
  "database_specific": {
    "cna_assigner": "CPANSec",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/14xxx/CVE-2026-14740.json"
  },
  "details": "DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment.\n\nThe preparse method normalises SQL and removes comments. When the SQL starts with a comment line, the deletion of that line during normalisation led to an out-of-bounds read by one byte. The result is a fault on memory-hardened builds and nondeterministic newline retention on normal builds.",
  "id": "CVE-2026-14740",
  "modified": "2026-07-15T01:48:54.273388390Z",
  "published": "2026-07-07T22:05:45.077Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/07/07/17"
    },
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/14xxx/CVE-2026-14740.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/HMBRAND/DBI-1.650/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-14740"
    },
    {
      "type": "FIX",
      "url": "https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/perl5-dbi/dbi"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment"
}