SecurityContext

CVE-2023-31725: YASM - Use After Free

  • Cve: CVE-2023-31725
  • Name: YASM - Use After Free
  • Description: yasm 1.3.0.55.g101bc was discovered to contain a heap-use-after-free via the function expand_mmac_params at yasm/modules/preprocs/nasm/nasm-pp.c.
  • Impact: Attackers can cause arbitrary code execution or application crashes through heap-use-after-free exploitation.
  • Remediation: Update to the latest version of YASM that addresses this vulnerability or apply patches if available.
  • Vulnerability type: use_after_free
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.00287
  • Epss percentile: 0.21377
  • Assignee: [email protected]
  • Published at: 2023-05-17T15:15:08Z
  • Age in days: 1287
  • Modified at: 2026-06-17T05:57:25Z
  • Public exploits total: 2
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-31725
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

Public exploits

UrlSourceAdded date
https://github.com/DaisyPo/fuzzing-vulncollect/tree/main/yasm/heap-use-after-free/nasm-pp.c:3878%20in%20expand_mmac_paramsnvd2023-05-17
https://github.com/yasm/yasm/issues/221nvd2023-05-17

References

UrlSourceTags
https://github.com/DaisyPo/fuzzing-vulncollect/tree/main/yasm/heap-use-after-free/nasm-pp.c:3878%20in%20expand_mmac_paramsnvdExploit, Third Party Advisory
https://github.com/yasm/yasm/issues/221nvdExploit, Issue Tracking, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
yasm_project:yasm= 1.3.0.55.g101bcnonvd/v1/products/yasm_project/yasm

Projects

RepositoryLink kindsIndexedUrl
yasm/yasmissuesyes/v1/repositories/yasm/yasm

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2023-05-17
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts