# CVE-2023-27320: sudo: Sudo before 1.9.13p2 has a double free in the per-command chroot feature.

CVE-2023-27320 is fixed in 9 products on 1 platform, first by sudo 1.9.9-1ubuntu2.3, released February 28, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-27320
- Priority: High
- CVSS: 7.2 (high)
- EPSS: 0.0166
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 28, 2023

## Description

Sudo before 1.9.13p2 has a double free in the per-command chroot feature.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | sudo Debian 12.15 (bookworm) | 1.9.13p3-1 | [DEBIAN-CVE-2023-27320](https://patchblox.com/security/data/fix/linux/debian-cve-2023-27320.md) | Feb 28, 2023 |
| Linux | sudo Debian 13.5 (trixie) | 1.9.13p3-1 | [DEBIAN-CVE-2023-27320](https://patchblox.com/security/data/fix/linux/debian-cve-2023-27320.md) | Feb 28, 2023 |
| Linux | sudo Debian 14 | 1.9.13p3-1 | [DEBIAN-CVE-2023-27320](https://patchblox.com/security/data/fix/linux/debian-cve-2023-27320.md) | Feb 28, 2023 |
| Linux | sudo Ubuntu 22.04.1 LTS (jammy) | 1.9.9-1ubuntu2.3 | [sudo 1.9.9-1ubuntu2.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-sudo-1.9.9-1ubuntu2.3.md) | Feb 28, 2023 |
| Linux | sudo amzn 2023 | 1.9.12-1.p2.amzn2023.0.3 | [ALAS2023-2023-133](https://patchblox.com/security/data/fix/linux/alas2023-2023-133.md) | Mar 11, 2023 |
| Linux | sudo-debuginfo amzn 2023 | 1.9.12-1.p2.amzn2023.0.3 | [ALAS2023-2023-133](https://patchblox.com/security/data/fix/linux/alas2023-2023-133.md) | Mar 11, 2023 |
| Linux | sudo-debugsource amzn 2023 | 1.9.12-1.p2.amzn2023.0.3 | [ALAS2023-2023-133](https://patchblox.com/security/data/fix/linux/alas2023-2023-133.md) | Mar 11, 2023 |
| Linux | sudo-devel amzn 2023 | 1.9.12-1.p2.amzn2023.0.3 | [ALAS2023-2023-133](https://patchblox.com/security/data/fix/linux/alas2023-2023-133.md) | Mar 11, 2023 |
| Linux | sudo-ldap Ubuntu 22.04.1 LTS (jammy) | 1.9.9-1ubuntu2.3 | [sudo-ldap 1.9.9-1ubuntu2.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-sudo-ldap-1.9.9-1ubuntu2.3.md) | Feb 28, 2023 |
| Linux | sudo-logsrvd amzn 2023 | 1.9.12-1.p2.amzn2023.0.3 | [ALAS2023-2023-133](https://patchblox.com/security/data/fix/linux/alas2023-2023-133.md) | Mar 11, 2023 |
| Linux | sudo-logsrvd-debuginfo amzn 2023 | 1.9.12-1.p2.amzn2023.0.3 | [ALAS2023-2023-133](https://patchblox.com/security/data/fix/linux/alas2023-2023-133.md) | Mar 11, 2023 |
| Linux | sudo-python-plugin amzn 2023 | 1.9.12-1.p2.amzn2023.0.3 | [ALAS2023-2023-133](https://patchblox.com/security/data/fix/linux/alas2023-2023-133.md) | Mar 11, 2023 |
| Linux | sudo-python-plugin-debuginfo amzn 2023 | 1.9.12-1.p2.amzn2023.0.3 | [ALAS2023-2023-133](https://patchblox.com/security/data/fix/linux/alas2023-2023-133.md) | Mar 11, 2023 |

---

Data as of 2026-11-08T06:59:42Z 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.
