CVE-2026-46671Msiemens Rust Onenote File Parser
Medium 4.4
Follow: this CVE · Msiemens · Msiemens Rust Onenote File Parser We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.4
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 20, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
What happens
Rust OneNote File Parser is a parser for Microsoft OneNote files implemented in Rust. Prior to version 1.1.1, a maliciously crafted `.onetoc2` table-of-contents file can cause `Parser::parse_notebook` to open arbitrary files on the host filesystem outside the notebook's directory. The parser reads entry names listed inside the `.onetoc2` and joins them against the notebook's base directory without validating that they are relative paths confined to that directory. The parser will bail out when the target file fails to parse as a OneNote section, so direct content exfiltration through the parser's return value is not practical, though file-existence probing and denial-of-service via large or special files remain possible. Anyone using `onenote_parser` to parse .onetoc2 files received from untrusted sources is affected. Users who only ever parse their own notebooks are not at meaningful risk. The issue is fixed in onenote_parser 1.1.1. The fix rejects absolute paths, parent-directory components, and other invalid path characters in entry names, and additionally canonicalises the resolved path to confirm it stays inside the notebook's base directory. For users who cannot upgrade to 1.1.1, only call `Parser::parse_notebook` on `.onetoc2` files from trusted sources. Alternatively, use `Parser::parse_section` / `Parser::parse_section_buffer` on individual .one files, which do not perform the directory walk.
What to do
- Apply the vendor's security update for Rust Onenote File Parser.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | onenote_parser |
< 1.1.1 |
1.1.1 |
cargo update -p onenote_parser --precise 1.1.1 |
Per OSV / GitHub Advisories (GHSA-4j5m-wc25-pvh7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| msiemens | rust_onenote_file_parser | < 1.1.1 |
Official advisories
- Security update for clamav · SUSE · SUSE-SU-2026:4208-1 · Sep 16, 2026 High
- Security update for clamav · SUSE · SUSE-SU-2026:4180-1 · Sep 14, 2026 High
- Security update for clamav · SUSE · SUSE-SU-2026:4179-1 · Sep 14, 2026 High
Also: SUSE (+4)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Patch
- github.com Product Release Notes
- github.com Patch Release Notes Vendor Advisory