CVE catalog

CVE-2021-45429

yara affected and fixed versions

[CVE catalog]

A Buffer Overflow vulnerablity exists in VirusTotal YARA git commit: 605b2edf07ed8eb9a2c61ba22eb2e7c362f47ba7 via yr_set_configuration in yara/libyara/libyara.c, which could cause a Denial of Service.

Severity
Medium · CVSS 6.6CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.83% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixieyara4.2.0-1FixedDistribution-reported fixed boundary[CVE-2021-45429]
Debiantrixieyara4.5.2-1Fixed[CVE-2021-45429]
Debiansidyara4.2.0-1FixedDistribution-reported fixed boundary[CVE-2021-45429]
Debiansidyara4.5.8-1Fixed[CVE-2021-45429]
Debianforkyyara4.2.0-1FixedDistribution-reported fixed boundary[CVE-2021-45429]
Debianforkyyara4.5.8-1Fixed[CVE-2021-45429]
Debianbookwormyara4.2.0-1FixedDistribution-reported fixed boundary[CVE-2021-45429]
Debianbookwormyara4.2.3-4Fixed[CVE-2021-45429]

Showing 8 fix observations. All 12 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Debianbookwormyara4.2.0-1FixedDistribution-reported fixed boundary[CVE-2021-45429]
Debianbookwormyara4.2.3-4Fixed[CVE-2021-45429]
Debianforkyyara4.2.0-1FixedDistribution-reported fixed boundary[CVE-2021-45429]
Debianforkyyara4.5.8-1Fixed[CVE-2021-45429]
Debiansidyara4.2.0-1FixedDistribution-reported fixed boundary[CVE-2021-45429]
Debiansidyara4.5.8-1Fixed[CVE-2021-45429]
Debiantrixieyara4.2.0-1FixedDistribution-reported fixed boundary[CVE-2021-45429]
Debiantrixieyara4.5.2-1Fixed[CVE-2021-45429]
Ubuntuproyara4.1.0-1UnknownSource applicability is not established[USN-7177-1][UBUNTU-CVE-2021-45429]
Ubuntuproyara4.1.3-1UnknownSource applicability is not established[USN-7177-1][UBUNTU-CVE-2021-45429]
Ubuntuproyara4.1.3-1build1UnknownSource applicability is not established[USN-7177-1][UBUNTU-CVE-2021-45429]
Ubuntuproyara4.1.3-1ubuntu0.1~esm1UnknownSource applicability is not established[USN-7177-1][UBUNTU-CVE-2021-45429]
Original provider fields
{
  "package_releases": [
    {
      "name": "yara",
      "status": "fixed",
      "release": "sid",
      "version": "4.5.8-1"
    },
    {
      "name": "yara",
      "status": "fixed",
      "release": "forky",
      "version": "4.5.8-1"
    },
    {
      "name": "yara",
      "status": "fixed",
      "release": "trixie",
      "version": "4.5.2-1"
    },
    {
      "name": "yara",
      "status": "fixed",
      "release": "bookworm",
      "version": "4.2.3-4"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "yara",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "4.2.0-1"
    },
    {
      "bug": null,
      "name": "yara",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "4.2.0-1"
    },
    {
      "bug": null,
      "name": "yara",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "4.2.0-1"
    },
    {
      "bug": null,
      "name": "yara",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "4.2.0-1"
    }
  ],
  "distribution_packages": [
    {
      "name": "yara",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.1.3-1ubuntu0.1~esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "4.1.0-1",
        "4.1.3-1",
        "4.1.3-1build1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/USN-7177-1",
      "fixed_version": "4.1.3-1ubuntu0.1~esm1",
      "provider_source": "pypi",
      "provider_record_id": "USN-7177-1",
      "provider_updated_at": "2026-04-27T17:39:09.557522Z",
      "applicability_unknown": true
    },
    {
      "name": "yara",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.1.3-1ubuntu0.1~esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "4.1.0-1",
        "4.1.3-1",
        "4.1.3-1build1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-45429",
      "fixed_version": "4.1.3-1ubuntu0.1~esm1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-45429",
      "provider_updated_at": "2026-04-22T13:03:33.456851Z",
      "applicability_unknown": true
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libyara10]Unknown

    Source package: [yara]

    Details (2)
    • 4.5.2-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

    • 4.5.2-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

  • [libyara9]Unknown

    Source package: [yara]

    Details (2)
    • 4.2.3-4 · amd64 · bookworm

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

    • 4.2.3-4 · arm64 · bookworm

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

  • [libyara-dev]Unknown

    Source package: [yara]

    Details (4)
    • 4.2.3-4 · amd64 · bookworm

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

    • 4.2.3-4 · arm64 · bookworm

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

    • 4.5.2-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

    • 4.5.2-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

  • [yara]Unknown
    Details (4)
    • 4.2.3-4 · amd64 · bookworm

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

    • 4.2.3-4 · arm64 · bookworm

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

    • 4.5.2-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

    • 4.5.2-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

  • [yara-doc]Unknown

    Source package: [yara]

    Details (4)
    • 4.2.3-4 · all · bookworm

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

    • 4.2.3-4 · all · bookworm

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

    • 4.5.2-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

    • 4.5.2-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · bookworm; dsa · yara · debian · 12

[Debian 13 (Trixie)]

  • [libyara10]Unknown

    Source package: [yara]

    Details (2)
    • 4.5.2-1 · amd64 · trixie

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · 13

    • 4.5.2-1 · arm64 · trixie

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · 13

  • [libyara-dev]Unknown

    Source package: [yara]

    Details (2)
    • 4.5.2-1 · amd64 · trixie

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · 13

    • 4.5.2-1 · arm64 · trixie

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · 13

  • [yara]Unknown
    Details (2)
    • 4.5.2-1 · amd64 · trixie

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · 13

    • 4.5.2-1 · arm64 · trixie

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · 13

  • [yara-doc]Unknown

    Source package: [yara]

    Details (2)
    • 4.5.2-1 · all · trixie

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · 13

    • 4.5.2-1 · all · trixie

      Fixed · Fixed: 4.2.0-1

      dsa · yara · debian · 13

Observed:

References