Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-1249

The DBD::mysql module before 4.039 for Perl, when using server-side prepared statement support, allows attackers to cause a denial of service (out-of-bounds read) via vectors involving an unaligned number of placeholders in WHERE condition and output fields in SELECT expression.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-1249
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:08 UTC · Revision 1

Source evidence

CVE-2016-1249

core-osv · Original source

Published 17 Feb 2017, 02:59 UTC

The DBD::mysql module before 4.039 for Perl, when using server-side prepared statement support, allows attackers to cause a denial of service (out-of-bounds read) via vectors involving an unaligned number of placeholders in WHERE condition and output fields in SELECT expression.

osv:CVE-2016-1249
Complete source record
{
  "id": "e1550a2bcef21c804163d3f95321b58587f6aa00c98a564cedbfbd1cfbaa092a",
  "url": "https://osv.dev/vulnerability/CVE-2016-1249",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-1249",
    "summary": "The DBD::mysql module before 4.039 for Perl, when using server-side prepared statement support, allows attackers to cause a denial of service (out-of-bounds read) via vectors involving an unaligned number of placeholders in WHERE condition and output fields in SELECT expression.",
    "evidence": "osv:CVE-2016-1249",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2016-1249",
      "aliases": [
        "CVE-2016-1249"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/perl5-dbi/dbd-mysql",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "7e3a83d1da5f5a554be14fef4302cd72759b8696"
                },
                {
                  "fixed": "793b72b1a0baa5070adacaac0e12fd995a6fbabe"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:dbd-mysql_project:dbd-mysql:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "4.038_01"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "793b72b1a0baa5070adacaac0e12fd995a6fbabe"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.038_01",
            "4.038",
            "4.037_02",
            "4.037_01",
            "4.037",
            "4.036",
            "4.035_03",
            "4.035_02",
            "4.035_01",
            "4.035",
            "4.034",
            "4.033_03",
            "4.033_02",
            "4.033_01",
            "4.033",
            "4.032_03",
            "4.032",
            "4.032_02",
            "4.032_01",
            "4.031",
            "4.030_02",
            "4.030_01",
            "4_022_1",
            "4_022",
            "4_020",
            "4_019",
            "4_015",
            "4_014",
            "4_013",
            "4_012"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-1249.json",
            "vanir_signatures": [
              {
                "id": "CVE-2016-1249-0a716684",
                "digest": {
                  "length": 5881,
                  "function_hash": "120431073301600613673628013866615804657"
                },
                "source": "https://github.com/perl5-dbi/dbd-mysql/commit/793b72b1a0baa5070adacaac0e12fd995a6fbabe",
                "target": {
                  "file": "dbdimp.c",
                  "function": "dbd_st_prepare"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-1249-f323a6a9",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "214265951609978338369919005764549673471",
                    "337680474871008106237811754070267632545",
                    "234794358956907151003638356871999807988",
                    "237521744197356870384458222050547815758",
                    "220798814237120989767067474392529511298",
                    "331143608554633616522052051664490092848",
                    "30913731508193157968139537232519232360",
                    "215049376307667819509985361231627269645",
                    "10488226916656814461637432346760515264",
                    "227585699423801418742859167953441539741",
                    "323322230631569002577789083524386602641",
                    "250147985199444582907250643855215510400",
                    "143640525266906114507986831320702147654",
                    "876462120217845295319115628975239597",
                    "30753181665163020001249535813513267824",
                    "183971193104132050144092120280517814351"
                  ]
                },
                "source": "https://github.com/perl5-dbi/dbd-mysql/commit/793b72b1a0baa5070adacaac0e12fd995a6fbabe",
                "target": {
                  "file": "dbdimp.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:12:13Z"
          }
        }
      ],
      "modified": "2026-10-20T13:12:13.114583946Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/201701-51",
        "https://github.com/perl5-dbi/DBD-mysql/commit/793b72b1a0baa5070adacaac0e12fd995a6fbabe"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-1249",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387299,
  "published_at": "2017-02-17T02:59:10.78+00:00"
}