---
id: CVE-2026-22189
title: >-
  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
summary: >-
  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-…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-121
  - CWE-787
vendor: cmu
product: panda3d
affected:
  - panda3d <= 1.10.16
published: '2026-01-07'
updated: '2026-07-14'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-22189'
references:
  - url: 'https://github.com/panda3d/panda3d'
    label: disclosure@vulncheck.com
  - url: 'https://seclists.org/fulldisclosure/2026/Jan/10'
    label: disclosure@vulncheck.com
  - url: 'https://www.panda3d.org/'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/panda3d-egg-mkfont-stack-buffer-overflow
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00507
epssPercentile: 0.40646
ingestedAt: '2026-07-15T13:44:03.822Z'
---

## Overview

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

- `panda3d <= 1.10.16`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
