Heap Buffer Overflow in OTFCC
Summary
CVE-2022-35064: OTFCC commit 617837b was discovered to contain a heap buffer overflow via /release-x64/otfccdump+0x4adcdb in __asan_memset. Affects texlive-bin versions 2022.20220321.62855-5.1 – 2025.20250727.75242+ds-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
OTFCC is an open-source font converter and editor. It is used for manipulating OpenType and TrueType fonts. The package texlive-bin, specifically in the Debian 12 and Debian 13 ecosystems, is affected by a heap buffer overflow vulnerability. This vulnerability allows an attacker to overwrite adjacent memory locations, potentially leading to remote code execution.
Vulnerability Detail
The vulnerability, identified as CVE-2022-35064, originates from a commit (617837b) in the OTFCC source code. The issue lies in the __asan_memset function, specifically in the /release-x64/otfccdump+0x4adcdb code. By exploiting this vulnerability, an attacker can trigger a heap buffer overflow, which can result in arbitrary code execution or a denial of service (DoS) attack. The severity of this vulnerability is rated as moderate with a CVSS score of 6.5.
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
At the moment, there is no known workaround for this vulnerability. It is crucial to apply the official patch or update the package to mitigate the risk.
Conclusion
In conclusion, the OTFCC package in the texlive-bin package of the Debian 12 and Debian 13 ecosystems is vulnerable to a heap buffer overflow. This vulnerability can potentially lead to remote code execution or a denial of service attack. It is crucial to update the texlive-bin package to the latest version or apply the official patch as soon as it becomes available. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for texlive-bin →
FAQ
OTFCC is an open-source font converter and editor used for manipulating OpenType and TrueType fonts.
texlive-bin is a package in the Debian ecosystem that provides binaries for the TeX Live distribution.
A heap buffer overflow occurs when a program writes data beyond the allocated buffer in the heap memory. This can lead to memory corruption and potentially allow an attacker to execute arbitrary code.
The heap buffer overflow vulnerability in OTFCC can allow an attacker to execute arbitrary code or launch a denial of service attack.
The severity of this vulnerability is rated as moderate with a CVSS score of 6.5.
Related vulnerabilities
Recent vulnerabilities recorded for texlive-bin.