Description
Nimble is a package manager for the Nim programming language. In Nim release versions before versions 1.2.10 and 1.4.4, "nimble refresh" fetches a list of Nimble packages over HTTPS by default. In case of error it falls back to a non-TLS URL http://irclogs.nim-lang.org/packages.json. An attacker able to perform MitM can deliver a modified package list containing malicious software packages. If the packages are installed and used the attack escalates to untrusted code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nim-lang | security | < 1.2.10, >= 1.4.0, < 1.4.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nim | 1.4.6+really1.4.2-1 | — |
| Debian 12 | nim | 1.4.6+really1.4.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | nim | No fix yet | — |
| Ubuntu 26.04 LTS | nim | No fix yet | — |
| Ubuntu 25.10 | nim | No fix yet | — |
| Ubuntu 24.04 LTS | nim | No fix yet | — |
| Ubuntu 20.04 LTS | nim | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | nim | No fix yet | — |
| Ubuntu 16.04 LTS | nim | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP4 | nim | 1.6.6-bp154.2.3.1 | openSUSE-SU-2022:10101-1 |
| SUSE Package Hub 15 SP3 | nim | 1.6.6-bp153.2.3.1 | openSUSE-SU-2022:10095-1 |
| SUSE Package Hub 15 SP2 | nim | 1.2.12-bp152.4.3.1 | openSUSE-SU-2021:0628-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | nim | 1.2.12-1.7 | openSUSE-SU-2024:11093-1 |
| openSUSE Leap 15.4 | nim | 1.6.6-bp154.2.3.1 | openSUSE-SU-2022:10101-1 |
| openSUSE Leap 15.3 | nim | 1.6.6-bp153.2.3.1 | openSUSE-SU-2022:10095-1 |
| openSUSE Leap 15.2 | nim | 1.2.12-lp152.2.3.1 | openSUSE-SU-2021:0618-1 |
Advisories 5
- openSUSE-SU-2021:0618-1 Security update for nim SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:10101-1 Security update for nim SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0628-1 Security update for nim SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:10095-1 Security update for nim SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11093-1 nim-1.2.12-1.7 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026