Panda3D Uncontrolled Format String Vulnerability in egg-mkfont Utility Allows Stack Memory Disclosure

Vulnerability

A format string vulnerability has been identified in the Panda3D game engine, specifically in versions up to and including 1.10.16. The issue arises in the egg-mkfont utility, where the -gp (glyph pattern) command-line option is used as a format string for the sprintf() function without proper validation. This flaw allows attackers to inject additional format specifiers, leading to the unintentional disclosure of stack memory and pointer values. The leaked information is written into .egg and .png files, which are accessible to the attacker.

Impact

Exploitation of this vulnerability allows for the unauthorized reading of stack memory, leakage of pointer-sized values including addresses, reduction of Address Space Layout Randomization (ASLR) effectiveness, and extraction of sensitive process memory through the generated output files.

Reproduction

To reproduce this vulnerability, use the egg-mkfont utility with the -gp option. Include additional format specifiers in the glyph pattern argument. The injected format specifiers will cause sprintf() to read unintended values from the stack, which can then be accessed through the output files.

Added: Jan 7, 2026, 9:17 PM
Updated: Jan 7, 2026, 9:17 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.0
remediation
0.0
relevance
1.8
threat
6.4
urgency
2.9
incentive
0.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.