CVE-2026-61371

Symlink Truncation Vulnerability in Microsoft AVML Prior to 0.17.0

Published Jul 15, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Microsoft AVML before 0.17.0 could follow a symlink when opening a destination output path on Unix, allowing truncation/overwrite of the symlink target. The destructive effect is performed at open-time via O_TRUNC, and can happen before full input validation completes (“truncation-before-validation”).

Analysis

AI-generated

Technical impact

Microsoft AVML before version 0.17.0 could follow a symbolic link when opening a destination output path on Unix, constituting a CWE-59 vulnerability. The program performs an O_TRUNC open before the entire input is validated, allowing an attacker who can create or modify a target symlink to truncate or overwrite the file the link points to. This results in destructive data loss and can potentially compromise important system files.

Affected Systems

The affected product is Microsoft AVML, used on Unix-based systems. Any installation of AVML earlier than release 0.17.0 that accepts arbitrary output paths is vulnerable.

Risk and Exploitability

The CVSS score is 7.5, indicating medium-to-high severity, while the EPSS score is below 1% and the vulnerability is not listed in the CISA KEV catalog, suggesting a low probability of widespread exploitation. The likely attack vector is local or remote depending on whether a user can create a writable symlink in the output directory; exploitation requires sufficient file-system permissions to place a symlink that points to a critical target before AVML truncates the file.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Microsoft AVML to version 0.17.0 or later, which removes the vulnerable symlink handling path.
  • If a patch is not immediately available, limit AVML’s output directory to trusted, pre-defined paths that disallow symbolic links and verify that the destination path is not a symlink before opening it.
  • Ensure that only privileged or trusted users have write access to directories that AVML can output to, or run AVML in a sandbox with no write permissions to critical files.

Generated by OpenCVE AI on July 31, 2026 at 04:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Symlink Truncation Vulnerability in Microsoft AVML Prior to 0.17.0
Type Values Removed Values Added
First Time appeared Microsoft
Microsoft avml
Vendors & Products Microsoft
Microsoft avml
Type Values Removed Values Added
Title Symlink‑Based Truncation and Overwrite Vulnerability in Microsoft AVML
Type Values Removed Values Added
Title Symlink‑Based Truncation and Overwrite Vulnerability in Microsoft AVML
Type Values Removed Values Added
Title Unix Symlink Truncation/Overwrite in Microsoft AVML Before 0.17.0
Type Values Removed Values Added
Title Unix Symlink Truncation/Overwrite in Microsoft AVML Before 0.17.0
Type Values Removed Values Added
Weaknesses CWE-59
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Microsoft AVML before 0.17.0 could follow a symlink when opening a destination output path on Unix, allowing truncation/overwrite of the symlink target. The destructive effect is performed at open-time via O_TRUNC, and can happen before full input validation completes (“truncation-before-validation”).
References
Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 15, 2026, 7:26 PM
Reserved
Jul 8, 2026, 12:00 AM
Status
Awaiting Analysis
Published
Jul 15, 2026, 4:16 PM
Modified
Jul 15, 2026, 8:56 PM