Heap Buffer Overflow in texlive-bin Package: CVE-2022-35052
Summary
DEBIAN-CVE-2022-35052: OTFCC commit 617837b was discovered to contain a heap buffer overflow via /release-x64/otfccdump+0x6b84b1. Affects texlive-bin versions 2022.20220321.62855-5.1 – 2025.20250727.75242+ds-5~hurd.1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The texlive-bin package is a collection of binaries for the TeX Live distribution, which is widely used for typesetting documents. It provides essential tools for processing TeX documents, including font handling and document compilation. This package is crucial for users who rely on TeX for high-quality typesetting. However, it has been identified to have a vulnerability that could potentially compromise system integrity.
Vulnerability Detail
CVE-2022-35052 is a vulnerability found in the OTFCC commit 617837b, which contains a heap buffer overflow in the otfccdump utility. This flaw allows an attacker to exploit the buffer overflow, potentially leading to arbitrary code execution or crashing the application. The vulnerability originates from improper handling of memory allocation, which can be exploited by providing specially crafted input to the affected binaries.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, users can avoid using the affected binaries or restrict access to the texlive-bin package until a patch is applied. Additionally, running the application in a controlled environment or using alternative typesetting tools may mitigate the risk.
Conclusion
CVE-2022-35052 presents a significant risk to users of the texlive-bin package due to a heap buffer overflow vulnerability. It is crucial for users to update their packages promptly and consider workarounds until a fix is applied. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for texlive-bin →
FAQ
CVE-2022-35052 is a vulnerability in the texlive-bin package that allows for a heap buffer overflow, potentially leading to arbitrary code execution.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
The risks include potential arbitrary code execution, application crashes, and system compromise if exploited by an attacker.
Yes, users are advised to update the texlive-bin package to the latest version available in the Debian repositories to mitigate this vulnerability.
If immediate updates are not possible, consider using alternative typesetting tools or restricting access to the affected binaries as a temporary measure.
References
Related vulnerabilities
Recent vulnerabilities recorded for texlive-bin.