همهٔ گزارش‌ها
متوسط

PocketSphinx: Buffer overflows in language and acoustic model loading code

متن اصلی

نسخه‌های متأثر

بازه‌ها نیاز به بررسی دارند.

نسخه‌های متأثر
<5.1.1 || =0.0.1 || =0.0.2 || =0.0.3 || =0.0.4 || =0.0.5 || =0.0.6 || =0.0.7 || =0.0.8 || =0.0.9 || =0.1.0 || =0.1.10 || =0.1.11 || =0.1.12 || =0.1.15 || =0.1.3 || =0.1.5 || =0.1.7 || =0.1.9 || =5.0.0 || =5.0.0rc3 || =5.0.0rc4 || =5.0.0rc5 || =5.0.1 || =5.0.2 || =5.0.3 || =5.0.4 || =5.1.0 || =5.1.0rc1 || =5.1.0rc2
نسخهٔ اصلاح‌شده
5.1.1
نسخه‌های متأثر
< 5.1.1
نسخهٔ اصلاح‌شده
5.1.1

بهره‌برداری

CVE-2026-54559

احتمال بهره‌برداری در ۳۰ روز آینده: 0.55%

FIRST EPSS · ۱۴۰۵/۰۹/۰۲

شرح آسیب‌پذیری

Impact

The trie language model code introduced in PocketSphinx 5prealpha failed to check various boundary conditions when reading the headers of ARPA, DMP, and binary format language model files. In the case of invalid, corrupted or malicious input files, this could lead to stack and heap buffer overflows.

In addition, the acoustic model loading code (which is over 30 years old...) contains numerous instances of sscanf with an unbounded string field which could also lead to stack overflows in the case of corrupt or malicious inputs.

Because PocketSphinx will search the directory given by the POCKETSPHINX_PATH environment variable for acoustic and language model files, if this directory is writable by untrusted users, an attacker could corrupt an existing file or write a malicious one to this directory in order to trigger the vulnerability.

Patches

The problem has been corrected in PocketSphinx 5.1.1.

There is no patch currently available for users of Pocketsphinx 5prealpha, who are encouraged to migrate as soon as possible to PocketSphinx 5.1.1.

Workarounds

Ensure that the POCKETSPHINX_PATH environment variable is either unset, or set to a directory whose contents are trusted and which cannot be written by untrusted users.

پیوندها

گزارش‌دهندگان

  • damseleng