# CVE-2020-17354: lilypond: LilyPond before 2.24 allows attackers to bypass the -dsafe protection mechanism via output-def-lookup or output-def-s...

CVE-2020-17354 is fixed in lilypond on 1 platform, first by DEBIAN-CVE-2020-17354, released April 15, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2020-17354
- Priority: High
- CVSS: 8.6 (high)
- EPSS: 0.0041
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 15, 2023

## Description

LilyPond before 2.24 allows attackers to bypass the -dsafe protection mechanism via output-def-lookup or output-def-scope, as demonstrated by dangerous Scheme code in a .ly file that causes arbitrary code execution during conversion to a different file format. NOTE: in 2.24 and later versions, safe mode is removed, and the product no longer tries to block code execution when external files are used.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | lilypond Debian 12.15 (bookworm) | 2.22.1-1 | [DEBIAN-CVE-2020-17354](https://patchblox.com/security/data/fix/linux/debian-cve-2020-17354.md) | Apr 15, 2023 |
| Linux | lilypond Debian 13.5 (trixie) | 2.22.1-1 | [DEBIAN-CVE-2020-17354](https://patchblox.com/security/data/fix/linux/debian-cve-2020-17354.md) | Apr 15, 2023 |
| Linux | lilypond Debian 14 | 2.22.1-1 | [DEBIAN-CVE-2020-17354](https://patchblox.com/security/data/fix/linux/debian-cve-2020-17354.md) | Apr 15, 2023 |

---

Data as of 2026-11-09T01:18:40Z 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.
