Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-19975

In YARA 3.8.1, bytecode in a specially crafted compiled rule can read data from any arbitrary address in memory, in libyara/exec.c. Specifically, OP_COUNT can read a DWORD.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-19975
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:09 UTC · Revision 1

Source evidence

CVE-2018-19975

core-osv · Original source

Published 17 Dec 2018, 19:29 UTC

In YARA 3.8.1, bytecode in a specially crafted compiled rule can read data from any arbitrary address in memory, in libyara/exec.c. Specifically, OP_COUNT can read a DWORD.

osv:CVE-2018-19975
Complete source record
{
  "id": "4609181e4e7adddda7f3aabdd694548bcb3a33ba42aa15e6263704706872ba46",
  "url": "https://osv.dev/vulnerability/CVE-2018-19975",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-19975",
    "summary": "In YARA 3.8.1, bytecode in a specially crafted compiled rule can read data from any arbitrary address in memory, in libyara/exec.c. Specifically, OP_COUNT can read a DWORD.",
    "evidence": "osv:CVE-2018-19975",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-19975",
      "aliases": [
        "CVE-2018-19975"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/virustotal/yara",
              "type": "GIT",
              "events": [
                {
                  "introduced": "309894830a5f9ff8cc22155d7719ea608de7bc9d"
                },
                {
                  "last_affected": "309894830a5f9ff8cc22155d7719ea608de7bc9d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:virustotal:yara:3.8.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.8.1"
                      },
                      {
                        "last_affected": "3.8.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.8.1",
            "v3.8.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19975.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:54.147786762Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DFFXDAMP6GJ337LIOTVF5I4T6QGMN3ZR/",
        "https://github.com/VirusTotal/yara/issues/999",
        "https://bnbdr.github.io/posts/extracheese/",
        "https://github.com/bnbdr/swisscheese/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-19975",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380955,
  "published_at": "2018-12-17T19:29:01.437+00:00"
}