Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-36979

Unicorn Engine 1.0.2 has an out-of-bounds write in tb_flush_armeb (called from cpu_arm_exec_armeb and tcg_cpu_exec_armeb).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-36979
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:37 UTC · Revision 1

Source evidence

CVE-2021-36979

core-osv · Original source

Published 20 Jul 2021, 07:15 UTC

Unicorn Engine 1.0.2 has an out-of-bounds write in tb_flush_armeb (called from cpu_arm_exec_armeb and tcg_cpu_exec_armeb).

osv:CVE-2021-36979
Complete source record
{
  "id": "2e32c65e33a5bc23c4a74bb6b74ee039b0613a1ad763ec17b245449dac87f768",
  "url": "https://osv.dev/vulnerability/CVE-2021-36979",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-36979",
    "summary": "Unicorn Engine 1.0.2 has an out-of-bounds write in tb_flush_armeb (called from cpu_arm_exec_armeb and tcg_cpu_exec_armeb).",
    "evidence": "osv:CVE-2021-36979",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-36979",
      "aliases": [
        "CVE-2021-36979"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/unicorn-engine/unicorn",
              "type": "GIT",
              "events": [
                {
                  "introduced": "886acbf59910499e44194dadda9c069ef7d3b291"
                },
                {
                  "last_affected": "886acbf59910499e44194dadda9c069ef7d3b291"
                },
                {
                  "fixed": "bf1713d9e011b55ca1f502a6779fc4722b4bb077"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:unicorn-engine:unicorn_engine:1.0.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0.2"
                      },
                      {
                        "last_affected": "1.0.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "bf1713d9e011b55ca1f502a6779fc4722b4bb077"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36979.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-36979-1e612893",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "29125629567228280845140471101621129196",
                    "326149495123353803551333075876328688662",
                    "312352500872474134834109017042425829243",
                    "53633335620687464050445218007445285387",
                    "259542698321032343838803463830152471925",
                    "219128090369457490179549682296348812565",
                    "243190090378694493129924528553989170803",
                    "134133894344926590101119294386381360310"
                  ]
                },
                "source": "https://github.com/unicorn-engine/unicorn/commit/bf1713d9e011b55ca1f502a6779fc4722b4bb077",
                "target": {
                  "file": "samples/sample_arm.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-36979-92f79a56",
                "digest": {
                  "length": 551,
                  "function_hash": "22746299379468341957275669331702579504"
                },
                "source": "https://github.com/unicorn-engine/unicorn/commit/bf1713d9e011b55ca1f502a6779fc4722b4bb077",
                "target": {
                  "file": "samples/sample_arm.c",
                  "function": "main"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:04:49Z"
          }
        }
      ],
      "modified": "2026-10-20T14:04:49.095616639Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MZ6LOCJXHQVU6SCJLFDJINBOVJYYENLX/",
        "https://github.com/google/oss-fuzz-vulns/blob/main/vulns/unicorn/OSV-2020-2305.yaml",
        "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30391",
        "https://github.com/unicorn-engine/unicorn/commit/bf1713d9e011b55ca1f502a6779fc4722b4bb077"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "35"
                  },
                  {
                    "last_affected": "35"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-36979",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388535,
  "published_at": "2021-07-20T07:15:08.073+00:00"
}