Skip to content
Heist/ feed
Back to feed
MediumFix available

grub2 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2020-15706

GRUB2 contains a race condition in grub_script_function_create() leading to a use-after-free vulnerability which can be triggered by redefining a function whilst the same function is already executing, leading to arbitrary code execution and secure boot restriction bypass. This issue affects GRUB2 version 2.04 and prior versions.

Products
grub2
Affected versions
Not specified
Fixed versions
2.04-9
CVEs
CVE-2020-15706
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 13:26 UTC · Revision 1

Source evidence

DEBIAN-CVE-2020-15706

core-osv · Original source

Published 29 Jul 2020, 18:15 UTC

GRUB2 contains a race condition in grub_script_function_create() leading to a use-after-free vulnerability which can be triggered by redefining a function whilst the same function is already executing, leading to arbitrary code execution and secure boot restriction bypass. This issue affects GRUB2 version 2.04 and prior versions.

osv:DEBIAN-CVE-2020-15706

grub2

Fixed versions: 2.04-9

grub2

Fixed versions: 2.04-9

grub2

Fixed versions: 2.04-9

Complete source record
{
  "id": "8449298167fbb2c2d5717a98eb0d31dabaf460b47d1ad031bb7bc0a632552d80",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-15706",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2020-15706",
    "summary": "GRUB2 contains a race condition in grub_script_function_create() leading to a use-after-free vulnerability which can be triggered by redefining a function whilst the same function is already executing, leading to arbitrary code execution and secure boot restriction bypass. This issue affects GRUB2 version 2.04 and prior versions.",
    "evidence": "osv:DEBIAN-CVE-2020-15706",
    "products": [
      {
        "name": {
          "value": "grub2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.04-9",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "grub2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.04-9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "grub2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.04-9",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2020-15706",
      "aliases": [
        "DEBIAN-CVE-2020-15706"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.04-9"
                }
              ]
            }
          ],
          "package": {
            "name": "grub2",
            "purl": "pkg:deb/debian/grub2?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-15706.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.04-9"
                }
              ]
            }
          ],
          "package": {
            "name": "grub2",
            "purl": "pkg:deb/debian/grub2?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-15706.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.04-9"
                }
              ]
            }
          ],
          "package": {
            "name": "grub2",
            "purl": "pkg:deb/debian/grub2?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-15706.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T12:02:27.013380648Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-15706"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2020-15706"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-15706",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 452223,
  "published_at": "2020-07-29T18:15:14.42+00:00"
}