CVE-2025-11058 json
xml2rfc has an arbitrary file read vulnerability
published 2025-08-26 14 mo ago modified 2026-07-07 4 mo ago also GHSA-cfmv-h8fx-85m7 , PYSEC-2026-2058
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
### Impact When generating PDF files, this vulnerability allows an attacker to read arbitrary files from the filesystem by injecting malicious link element into the XML.
### Workarounds Test untrusted input with `link` elements with `rel="attachment"` before processing.
### Credits This vulnerability was reported by Mohamed Ouad from [Doyensec](https://doyensec.com/).
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-11058 updated cvss 7.5
xml2rfc: xml2rfc has an arbitrary file read vulnerability
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | xml2rfc | <3.30.1 |
3.30.1 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/ietf-tools/xml2rfc/commit/f2b245bc0aeeac0667c8f74e976c466c5991f0e4
web
-
github.com
/ietf-tools/xml2rfc/security/advisories/GHSA-cfmv-h8fx-85m7
web
-
github.com
/ietf-tools/xml2rfc
package
-
pypi.org
/project/xml2rfc
package
-
github.com
/advisories/GHSA-cfmv-h8fx-85m7
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-11058
advisory
Sources
- GitHub Advisory GHSA-cfmv-h8fx-85m7
- OSV PYSEC-2026-2058
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.