A flaw was found in GNU nanos multi-buffer error message handling. When a user opens multiple files at startup and one triggers an ALERT-level error, a specially crafted filename containing printf format specifiers can be reinterpreted. This format string vulnerability may allow an attacker to achieve stack information disclosure, cause a denial of service (crash), or potentially perform arbitrary memory writes.
The product uses a function that accepts a format string as an argument, but the format string originates from an external source.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Nano | Ubuntu | esm-infra/xenial | * |
| Nano | Ubuntu | jammy | * |
| Nano | Ubuntu | noble | * |
| Nano | Ubuntu | questing | * |
| Nano | Ubuntu | resolute | * |
| Nano | Ubuntu | upstream | * |