CVE-2025-50736: Pdf2zh Byaidu PDFMathTranslate Vulnerable To Open Vulnerability
LOWCVE-2025-50736 is a LOW byaidu pdfmathtranslate vulnerable to open vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Pdf2zh libraries in the PyPI ecosystem. The issue involves byaidu pdfmathtranslate vulnerable to open redirect. Remediation is available in the latest vendor maintenance releases.
CVE-2025-50736 at a Glance
How to Fix CVE-2025-50736
To remediate this vulnerability, upgrade all affected Pdf2zh dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pdf2zh>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pdf2zh
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-50736, inspect your installed packages using pip:
pip show pdf2zh
Analyze the terminal output to locate any version of Pdf2zh in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show pdf2zh command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Pdf2zh, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-50736 Affected Pdf2zh Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pdf2zh
|
PyPI |
1.9.9
All 1 versions
1.9.9
|
None specified
|
References
Frequently Asked Questions
What is CVE-2025-50736?
Which Pdf2zh versions are affected?
What version fixes CVE-2025-50736?
Is pdf2zh affected?
What CWE is associated with CVE-2025-50736?
How can I check PyPI dependencies for CVE-2025-50736?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pfrv-63w8-q7rq",
"modified" : "2025-10-30T17:12:40Z",
"published" : "2025-10-30T15:32:36Z",
"aliases" : [ "CVE-2025-50736" ],
"summary" : "Byaidu PDFMathTranslate vulnerable to open redirect",
"details" : "An open redirect vulnerability exists in Byaidu PDFMathTranslate v1.9.9 that allows attackers to craft URLs that cause the application to redirect users to arbitrary external websites via the file parameter to the /gradio_api endpoint. This vulnerability could be exploited for phishing attacks or to bypass security filters.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pdf2zh"
},
"versions" : [ "1.9.9" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-50736"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Byaidu/PDFMathTranslate"
}, {
"type" : "WEB",
"url" : "https://github.com/fai1424/Vulnerability-Research/tree/main/CVE-2025-50736"
}, {
"type" : "WEB",
"url" : "https://hackmd.io/@fai1424/SJz7ttVWxe"
}, {
"type" : "WEB",
"url" : "https://pdf2zh.com"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-30T17:12:39Z",
"nvd_published_at" : "2025-10-30T14:15:43Z"
}
}