# CVE-2020-17354: LilyPond before 2.24 allows attackers to bypass the -dsafe protection mechanism via output-def-lookup or output-def-scope, as demonstrated…

- Severity: High 8.6 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-04-15T00:00:00.000Z
- Modified: 2026-06-17T02:58:47.563Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- lilypond lilypond: before 2.24.0

## Every score

- CISA-ADP: CVSS:3.1 8.6 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.6 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://phabricator.wikimedia.org/T259210> (exploit, third-party-advisory)
- <http://lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage> (release-notes)
- <https://www.mediawiki.org/wiki/Extension:Score/2021_security_advisory> (third-party-advisory)
- <https://tracker.debian.org/news/1249694/accepted-lilypond-2221-1-source-into-unstable/> (mailing-list, release-notes, third-party-advisory)
- <https://gitlab.com/lilypond/lilypond/-/merge_requests/1522> (patch, vendor-advisory)
- <https://lilypond.org/download.html> (product)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ST5BLLQ4GDME3SN7UE5OMNE5GZE66X4Y/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K43PF6VGFJNNGAPY57BW3VMEFFOSMRLF/> (vendor-advisory)

## Sources

- CVE List: [CVE-2020-17354](https://www.cve.org/CVERecord?id=CVE-2020-17354), CVE Terms of Use, modified 2025-02-06
- NVD: [CVE-2020-17354](https://nvd.nist.gov/vuln/detail/CVE-2020-17354), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-17354 · Whole record: https://cve.day/CVE-2020-17354.json · Rebuilt by cve.day 2026-11-25T22:57:58.845Z
