{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2012/cve-2012-5612.json"
      }
    ],
    "title": "mysql: MDL subsystem heap-based buffer overflow",
    "tracking": {
      "current_release_date": "2026-11-04T19:40:36+00:00",
      "generator": {
        "date": "2026-11-04T19:40:36+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.4"
        }
      },
      "id": "CVE-2012-5612",
      "initial_release_date": "2012-12-01T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2012-12-01T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-04-11T01:08:30+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-04T19:40:36+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 5",
                "product": {
                  "name": "Red Hat Enterprise Linux 5",
                  "product_id": "red_hat_enterprise_linux_5",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:5"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 5"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 6",
                "product": {
                  "name": "Red Hat Enterprise Linux 6",
                  "product_id": "red_hat_enterprise_linux_6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 6"
          },
          {
            "category": "product_version",
            "name": "mysql.src",
            "product": {
              "name": "mysql.src",
              "product_id": "mysql.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql",
            "product": {
              "name": "mysql",
              "product_id": "mysql",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-libs",
            "product": {
              "name": "mysql-libs",
              "product_id": "mysql-libs",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-libs"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-server",
            "product": {
              "name": "mysql-server",
              "product_id": "mysql-server",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-server"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-embedded-devel",
            "product": {
              "name": "mysql-embedded-devel",
              "product_id": "mysql-embedded-devel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-embedded-devel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-test",
            "product": {
              "name": "mysql-test",
              "product_id": "mysql-test",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-test"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-bench",
            "product": {
              "name": "mysql-bench",
              "product_id": "mysql-bench",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-bench"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-devel",
            "product": {
              "name": "mysql-devel",
              "product_id": "mysql-devel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-devel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-embedded",
            "product": {
              "name": "mysql-embedded",
              "product_id": "mysql-embedded",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-embedded"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql.src as a component of Red Hat Enterprise Linux 5",
          "product_id": "red_hat_enterprise_linux_5:mysql.src"
        },
        "product_reference": "mysql.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql"
        },
        "product_reference": "mysql",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-bench as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-bench"
        },
        "product_reference": "mysql-bench",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-devel as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-devel"
        },
        "product_reference": "mysql-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-embedded as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-embedded"
        },
        "product_reference": "mysql-embedded",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-embedded-devel as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-embedded-devel"
        },
        "product_reference": "mysql-embedded-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-libs as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-libs"
        },
        "product_reference": "mysql-libs",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-server as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-server"
        },
        "product_reference": "mysql-server",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-test as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-test"
        },
        "product_reference": "mysql-test",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql.src as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql.src"
        },
        "product_reference": "mysql.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2012-5612",
      "cwe": {
        "id": "CWE-122",
        "name": "Heap-based Buffer Overflow"
      },
      "discovery_date": "2012-12-02T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_enterprise_linux_5:mysql.src",
            "red_hat_enterprise_linux_6:mysql",
            "red_hat_enterprise_linux_6:mysql-bench",
            "red_hat_enterprise_linux_6:mysql-devel",
            "red_hat_enterprise_linux_6:mysql-embedded",
            "red_hat_enterprise_linux_6:mysql-embedded-devel",
            "red_hat_enterprise_linux_6:mysql-libs",
            "red_hat_enterprise_linux_6:mysql-server",
            "red_hat_enterprise_linux_6:mysql-test",
            "red_hat_enterprise_linux_6:mysql.src"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "882600"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "Heap-based buffer overflow in Oracle MySQL 5.5.19 and other versions through 5.5.28, and MariaDB 5.5.28a and possibly other versions, allows remote authenticated users to cause a denial of service (memory corruption and crash) and possibly execute arbitrary code, as demonstrated using certain variations of the (1) USE, (2) SHOW TABLES, (3) DESCRIBE, (4) SHOW FIELDS FROM, (5) SHOW COLUMNS FROM, (6) SHOW INDEX FROM, (7) CREATE TABLE, (8) DROP TABLE, (9) ALTER TABLE, (10) DELETE FROM, (11) UPDATE, and (12) SET PASSWORD commands.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "mysql: MDL subsystem heap-based buffer overflow",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "red_hat_enterprise_linux_5:mysql.src",
          "red_hat_enterprise_linux_6:mysql",
          "red_hat_enterprise_linux_6:mysql-bench",
          "red_hat_enterprise_linux_6:mysql-devel",
          "red_hat_enterprise_linux_6:mysql-embedded",
          "red_hat_enterprise_linux_6:mysql-embedded-devel",
          "red_hat_enterprise_linux_6:mysql-libs",
          "red_hat_enterprise_linux_6:mysql-server",
          "red_hat_enterprise_linux_6:mysql-test",
          "red_hat_enterprise_linux_6:mysql.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2012-5612"
        },
        {
          "category": "external",
          "summary": "RHBZ#882600",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=882600"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2012-5612",
          "url": "https://www.cve.org/CVERecord?id=CVE-2012-5612"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2012-5612",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-5612"
        },
        {
          "category": "external",
          "summary": "https://mariadb.atlassian.net/browse/MDEV-3908",
          "url": "https://mariadb.atlassian.net/browse/MDEV-3908"
        }
      ],
      "release_date": "2012-12-01T00:00:00+00:00",
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "SINGLE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 6.5,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P",
            "version": "2.0"
          },
          "products": [
            "red_hat_enterprise_linux_5:mysql.src",
            "red_hat_enterprise_linux_6:mysql",
            "red_hat_enterprise_linux_6:mysql-bench",
            "red_hat_enterprise_linux_6:mysql-devel",
            "red_hat_enterprise_linux_6:mysql-embedded",
            "red_hat_enterprise_linux_6:mysql-embedded-devel",
            "red_hat_enterprise_linux_6:mysql-libs",
            "red_hat_enterprise_linux_6:mysql-server",
            "red_hat_enterprise_linux_6:mysql-test",
            "red_hat_enterprise_linux_6:mysql.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important",
          "product_ids": [
            "red_hat_enterprise_linux_5:mysql.src",
            "red_hat_enterprise_linux_6:mysql",
            "red_hat_enterprise_linux_6:mysql-bench",
            "red_hat_enterprise_linux_6:mysql-devel",
            "red_hat_enterprise_linux_6:mysql-embedded",
            "red_hat_enterprise_linux_6:mysql-embedded-devel",
            "red_hat_enterprise_linux_6:mysql-libs",
            "red_hat_enterprise_linux_6:mysql-server",
            "red_hat_enterprise_linux_6:mysql-test",
            "red_hat_enterprise_linux_6:mysql.src"
          ]
        }
      ],
      "title": "mysql: MDL subsystem heap-based buffer overflow"
    }
  ]
}