Heap Buffer Overflow in OTFCC
Summary
CVE-2022-35042: OTFCC commit 617837b was discovered to contain a heap buffer overflow via /release-x64/otfccdump+0x4adb11. Affects texlive-bin versions < 3a9d42668f45387fa566845be5a3e61579823d35. 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 part of the Debian ecosystem and is used for typesetting documents. It provides a collection of programs for handling TeX and LaTeX files. One of the programs included in this package is OTFCC, which is used for manipulating OpenType fonts. OTFCC allows users to convert, merge, and extract information from OpenType fonts. However, a vulnerability has been discovered in the OTFCC commit 617837b, which can lead to a heap buffer overflow.
Vulnerability Detail
The vulnerability (CVE-2022-35042) in OTFCC commit 617837b allows an attacker to trigger a heap buffer overflow. This can be exploited by providing a specially crafted input to the otfccdump program. If successful, the attacker can overwrite adjacent memory locations, potentially leading to arbitrary code execution or a crash. The impact of this vulnerability can vary depending on the context in which the OTFCC program is used. It is important to note that this vulnerability has been assigned a CVSSv3 score of 6.5, indicating a medium severity.
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 workaround, users can avoid using the otfccdump program or restrict its usage to trusted input only. By limiting the exposure to potentially malicious input, the risk of exploitation can be reduced. However, this workaround may not be feasible in all scenarios, and it is strongly advised to apply the official fix as soon as it becomes available.
Conclusion
In conclusion, the texlive-bin package, specifically the OTFCC program, is vulnerable to a heap buffer overflow. This vulnerability can be exploited by providing malicious input to the otfccdump program, potentially leading to arbitrary code execution or a crash. It is recommended to update the texlive-bin package to the latest version as soon as a fix becomes available. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for texlive-bin →
FAQ
Texlive-bin is a package in the Debian ecosystem that provides programs for handling TeX and LaTeX files.
OTFCC is a program included in the texlive-bin package that is used for manipulating OpenType fonts.
The heap buffer overflow can be triggered by providing a specially crafted input to the otfccdump program.
The potential consequences of this vulnerability include arbitrary code execution or a crash, depending on the context in which the OTFCC program is used.
This vulnerability has been assigned a CVSSv3 score of 6.5, indicating a medium severity.
Related vulnerabilities
Recent vulnerabilities recorded for texlive-bin.