Skip to content
Fencer Vulns
high 8.1

CVE-2016-1251 json

There is a vulnerability of type use-after-free affecting DBD::mysql (aka DBD-mysql or the Database Interface (DBI) MySQL driver for Perl)…

published 2016-11-29 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-2350

cvss
8.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.1%
EPSS 3.1% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

There is a vulnerability of type use-after-free affecting DBD::mysql (aka DBD-mysql or the Database Interface (DBI) MySQL driver for Perl) 3.x and 4.x before 4.041 when used with mysql_server_prepare=1.

Patch / fix

  • libdbd-mysql-perl Debian 14, Debian 13, Debian 12 4.041-1

debian advisories DEBIAN-CVE-2016-1251

  • libdbd-mysql-perl Ubuntu Pro 14.04 LTS 4.025-1ubuntu0.1+esm1
  • libdbd-mysql-perl Ubuntu Pro 16.04 LTS 4.033-1ubuntu0.1+esm1

ubuntu advisories UBUNTU-CVE-2016-1251

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • perl-DBD-mysql SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +2 more 4.021-11.1
  • perl-DBD-mysql SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 4.008-6.1

suse advisories SUSE-SU-2017:0123-1SUSE-SU-2017:0025-1

  • perl-DBD-mysql openSUSE Tumbleweed 4.041-2.1

opensuse advisories openSUSE-SU-2024:10186-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-1251 updated cvss 7.5

perl-DBD-MySQL: Use after free when using prepared statements

  • Red Hat Enterprise Linux 5 perl-DBD-MySQL Red Hat Enterprise Linux 6 perl-DBD-MySQL Red Hat Enterprise Linux 7 perl-DBD-MySQL Red Hat Software Collections rh-perl520-perl-DBD-MySQL, rh-perl524-perl-DBD-MySQL
    affected: workaround, no fix planned “Will not fix”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.12% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 8.1 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected products

  • n/a DBD::mysql before 4.041

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.