{
  "id": "CVE-2026-14740",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-14740",
  "published_at": "2026-07-07T22:05:45.077Z",
  "title": "DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment",
  "vendor": "HMBRAND",
  "product": "DBI",
  "cvss": {
    "score": 9.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "HMBRAND",
        "product": "DBI",
        "ranges": [
          "\u003c 1.650"
        ],
        "fixed_in": [
          "1.650"
        ]
      }
    ],
    "solutions": [
      "Upgrade to DBI version 1.650 or later."
    ],
    "upgrade": [
      "Upgrade DBI to 1.650 or later."
    ],
    "workarounds": [
      "Remove initial comments from SQL statements before passing them to DBI."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg"
      },
      {
        "kind": "Release notes",
        "url": "https://metacpan.org/release/HMBRAND/DBI-1.650/changes"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
