# CVE-2022-4968: netplan.io: netplan leaks the private key of wireguard to local users

CVE-2022-4968 is fixed in 5 products on 1 platform, first by libnetplan0 0.104-0ubuntu2~20.04.5, released June 6, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-4968
- Priority: Routine
- CVSS: 6.5 (Medium)
- EPSS: 0.0026
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 6, 2024

## Description

netplan leaks the private key of wireguard to local users. Versions after 1.0 are not affected.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libnetplan0 Ubuntu 20.04 LTS (focal) | 0.104-0ubuntu2~20.04.5 | [libnetplan0 0.104-0ubuntu2~20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libnetplan0-0.104-0ubuntu2-20.04.5.md) | Jun 6, 2024 |
| Linux | libnetplan0 Ubuntu 22.04.1 LTS (jammy) | 0.106.1-7ubuntu0.22.04.3 | [libnetplan0 0.106.1-7ubuntu0.22.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libnetplan0-0.106.1-7ubuntu0.22.04.3.md) | Jun 6, 2024 |
| Linux | libnetplan1 Ubuntu 24.04.5 LTS (noble) | 1.0-2ubuntu1.1 | [libnetplan1 1.0-2ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libnetplan1-1.0-2ubuntu1.1.md) | Jun 6, 2024 |
| Linux | libnetplan1 Ubuntu 24.10 (oracular) | 1.0.1-1ubuntu2 | [libnetplan1 1.0.1-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libnetplan1-1.0.1-1ubuntu2.md) | Jan 16, 2026 |
| Linux | libnetplan1 Ubuntu 25.04 (plucky) | 1.0.1-1ubuntu2 | [libnetplan1 1.0.1-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libnetplan1-1.0.1-1ubuntu2.md) | Jan 16, 2026 |
| Linux | netplan-generator Ubuntu 24.04.5 LTS (noble) | 1.0-2ubuntu1.1 | [netplan-generator 1.0-2ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-netplan-generator-1.0-2ubuntu1.1.md) | Jun 6, 2024 |
| Linux | netplan-generator Ubuntu 24.10 (oracular) | 1.0.1-1ubuntu2 | [netplan-generator 1.0.1-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-netplan-generator-1.0.1-1ubuntu2.md) | Jan 16, 2026 |
| Linux | netplan-generator Ubuntu 25.04 (plucky) | 1.0.1-1ubuntu2 | [netplan-generator 1.0.1-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-netplan-generator-1.0.1-1ubuntu2.md) | Jan 16, 2026 |
| Linux | netplan.io Debian 13.5 (trixie) | 1.0.1-1 | [DEBIAN-CVE-2022-4968](https://patchblox.com/security/data/fix/linux/debian-cve-2022-4968.md) | Jun 7, 2024 |
| Linux | netplan.io Debian 14 | 1.0.1-1 | [DEBIAN-CVE-2022-4968](https://patchblox.com/security/data/fix/linux/debian-cve-2022-4968.md) | Jun 7, 2024 |
| Linux | netplan.io Ubuntu 20.04 LTS (focal) | 0.104-0ubuntu2~20.04.5 | [netplan.io 0.104-0ubuntu2~20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-netplan.io-0.104-0ubuntu2-20.04.5.md) | Jun 6, 2024 |
| Linux | netplan.io Ubuntu 22.04.1 LTS (jammy) | 0.106.1-7ubuntu0.22.04.3 | [netplan.io 0.106.1-7ubuntu0.22.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-netplan.io-0.106.1-7ubuntu0.22.04.3.md) | Jun 6, 2024 |
| Linux | netplan.io Ubuntu 24.04.5 LTS (noble) | 1.0-2ubuntu1.1 | [netplan.io 1.0-2ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-netplan.io-1.0-2ubuntu1.1.md) | Jun 6, 2024 |
| Linux | netplan.io Ubuntu 24.10 (oracular) | 1.0.1-1ubuntu2 | [netplan.io 1.0.1-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-netplan.io-1.0.1-1ubuntu2.md) | Jan 16, 2026 |
| Linux | netplan.io Ubuntu 25.04 (plucky) | 1.0.1-1ubuntu2 | [netplan.io 1.0.1-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-netplan.io-1.0.1-1ubuntu2.md) | Jan 16, 2026 |
| Linux | python3-netplan Ubuntu 24.04.5 LTS (noble) | 1.0-2ubuntu1.1 | [python3-netplan 1.0-2ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-netplan-1.0-2ubuntu1.1.md) | Jun 6, 2024 |
| Linux | python3-netplan Ubuntu 24.10 (oracular) | 1.0.1-1ubuntu2 | [python3-netplan 1.0.1-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-python3-netplan-1.0.1-1ubuntu2.md) | Jan 16, 2026 |
| Linux | python3-netplan Ubuntu 25.04 (plucky) | 1.0.1-1ubuntu2 | [python3-netplan 1.0.1-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-python3-netplan-1.0.1-1ubuntu2.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
