CVE-2026-22189: Panda3D <= 1.10.16 egg-mkfont Stack Buffer Overflow
The egg-mkfont utility in Panda3D versions up to and including 1.10.16 contains a stack-based buffer overflow vulnerability due to use of an unbounded sprintf() call with attacker-controlled input. When constructing glyph filenames, egg-mkfont formats a user-supplied glyph pattern (-gp) into a fixed-size stack buffer without length validation. Supplying an excessively long glyph pattern string can overflow the stack buffer, resulting in memory corruption and a deterministic crash. Depending on build configuration and execution environment, the overflow may also be exploitable for arbitrary code execution.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Panda3Dto a version that resolves this vulnerability.Fixed in 1.10.16
Event History
Frequently Asked Questions
What is the severity of CVE-2026-22189?
CVE-2026-22189 has been classified as a medium severity vulnerability due to the potential for stack-based buffer overflow.
How do I fix CVE-2026-22189?
To remediate CVE-2026-22189, upgrade Panda3D to version 1.10.17 or later where the vulnerability is addressed.
What versions are affected by CVE-2026-22189?
Panda3D versions up to and including 1.10.16 are affected by CVE-2026-22189.
What is the nature of the security issue in CVE-2026-22189?
CVE-2026-22189 involves a stack-based buffer overflow caused by an unbounded sprintf() call in egg-mkfont.
Who is impacted by CVE-2026-22189?
Users and developers utilizing affected versions of the Panda3D engine are at risk from CVE-2026-22189.