CVE-2026-70377

imagecli's pipeline operation (Scale::apply in src/image_ops.rs) computes output width/height as (dimension as f32 * ratio) as u32 with no upper-bound validation on the CLI-supplied ratio, which is parsed via nom::number::complete::float with no range check. Any application embedding imagecli as a library and accepting user-controlled pipeline strings is remotely crashable with a single request.
Configurations

No configuration.

History

23 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) La operación de pipeline “scale [ratio]” de imagecli (Scale::apply() en src/image_ops.rs) calcula el ancho/alto de salida como (dimensión como f32 * ratio) como u32 sin validación de límite superior en la relación proporcionada por la CLI, que se analiza a través de nom::number::complete::float sin comprobación de rango. Una relación grande (p. ej., 100000) provoca un intento de asignación de cientos de terabytes, abortando el proceso. Cualquier aplicación que incruste imagecli como una biblioteca y que acepte cadenas de pipeline controladas por el usuario es remotamente vulnerable a un fallo con una sola solicitud.

10 Aug 2026, 12:17

Type Values Removed Values Added
Summary (en) imagecli's `scale <ratio>` pipeline operation (Scale::apply() in src/image_ops.rs) computes output width/height as (dimension as f32 * ratio) as u32 with no upper-bound validation on the CLI-supplied ratio, which is parsed via nom::number::complete::float with no range check. A large ratio (e.g. 100000) causes an attempted allocation of hundreds of terabytes, aborting the process. Any application embedding imagecli as a library and accepting user-controlled pipeline strings is remotely crashable with a single request. (en) imagecli's pipeline operation (Scale::apply in src/image_ops.rs) computes output width/height as (dimension as f32 * ratio) as u32 with no upper-bound validation on the CLI-supplied ratio, which is parsed via nom::number::complete::float with no range check. Any application embedding imagecli as a library and accepting user-controlled pipeline strings is remotely crashable with a single request.

05 Aug 2026, 14:17

Type Values Removed Values Added
References () https://github.com/theotherphil/imagecli/issues/66 - () https://github.com/theotherphil/imagecli/issues/66 -

05 Aug 2026, 08:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-05 08:16

Updated : 2026-10-24 16:10


NVD link : CVE-2026-70377

Mitre link : CVE-2026-70377

CVE.ORG link : CVE-2026-70377


JSON object : View

Products Affected

No product.

CWE
CWE-789

Memory Allocation with Excessive Size Value