CVE catalog

CVE-2018-12035

yara: CVE-2018-12035

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
1.32% · Oct 25, 2026

In YARA 3.7.1 and prior, parsing a specially crafted compiled rule file can cause an out of bounds write vulnerability in yr_execute_code in libyara/exec.c.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianyarasid4.5.8-1fixed
Debianyaraforky4.5.8-1fixed
Debianyaratrixie4.5.2-1fixed
Debianyarabookworm4.2.3-4fixed
Ubuntuyarapro3.6.3+dfsg-1ubuntu1vulnerable
Ubuntuyarapro3.7.1-1ubuntu1vulnerable
Ubuntuyarapro3.7.1-1ubuntu2vulnerable
Ubuntuyarapro3.7.1-1ubuntu2+esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianyarasourcesid3.7.1-3lowNot reportedNot reported
Debianyarasourceforky3.7.1-3lowNot reportedNot reported
Debianyarasourcetrixie3.7.1-3lowNot reportedNot reported
Debianyarasourcebookworm3.7.1-3lowNot reportedNot reported
Ubuntuyaradebpro3.7.1-1ubuntu2+esm1Not reportedUBUNTU-CVE-2018-12035Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libyara10]Fixed

    Source package: [yara]

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

      Fixed · Fixed: 3.7.1-3

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

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

      Fixed · Fixed: 3.7.1-3

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

  • [libyara9]Fixed

    Source package: [yara]

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

      Fixed · Fixed: 3.7.1-3

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

    • 4.2.3-4 · arm64 · bookworm

      Fixed · Fixed: 3.7.1-3

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

  • Source package: [yara]

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

      Fixed · Fixed: 3.7.1-3

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

    • 4.2.3-4 · arm64 · bookworm

      Fixed · Fixed: 3.7.1-3

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

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

      Fixed · Fixed: 3.7.1-3

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

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

      Fixed · Fixed: 3.7.1-3

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

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

      Fixed · Fixed: 3.7.1-3

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

    • 4.2.3-4 · arm64 · bookworm

      Fixed · Fixed: 3.7.1-3

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

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

      Fixed · Fixed: 3.7.1-3

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

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

      Fixed · Fixed: 3.7.1-3

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

  • [yara-doc]Fixed

    Source package: [yara]

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

      Fixed · Fixed: 3.7.1-3

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

    • 4.2.3-4 · all · bookworm

      Fixed · Fixed: 3.7.1-3

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

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

      Fixed · Fixed: 3.7.1-3

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

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

      Fixed · Fixed: 3.7.1-3

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

[Debian 13 (Trixie)]

  • [libyara10]Fixed

    Source package: [yara]

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

      Fixed · Fixed: 3.7.1-3

      dsa · yara · debian · 13

    • 4.5.2-1 · arm64 · trixie

      Fixed · Fixed: 3.7.1-3

      dsa · yara · debian · 13

  • Source package: [yara]

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

      Fixed · Fixed: 3.7.1-3

      dsa · yara · debian · 13

    • 4.5.2-1 · arm64 · trixie

      Fixed · Fixed: 3.7.1-3

      dsa · yara · debian · 13

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

      Fixed · Fixed: 3.7.1-3

      dsa · yara · debian · 13

    • 4.5.2-1 · arm64 · trixie

      Fixed · Fixed: 3.7.1-3

      dsa · yara · debian · 13

  • [yara-doc]Fixed

    Source package: [yara]

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

      Fixed · Fixed: 3.7.1-3

      dsa · yara · debian · 13

    • 4.5.2-1 · all · trixie

      Fixed · Fixed: 3.7.1-3

      dsa · yara · debian · 13

Observed:

References