CVE-2020-17354
LilyPond before 2.24 allows attackers to bypass the -dsafe protection mechanism via output-def...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.6
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.
- Record
CVE-2020-17354- 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 - Weakness
- CWE-863
- Updated
- 2026-11-02
CVE List
8.6
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.
- Record
CVE-2020-17354- 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 - Weakness
- CWE-863
- Updated
- 2026-11-02
EUVDEUVD-2020-9308
8.6
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.
- Record
EUVD-2020-9308- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vm3h-24gm-v3q6
8.6
LilyPond before 2.24 allows attackers to bypass the -dsafe protection mechanism via output-def...
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.
- Record
GHSA-vm3h-24gm-v3q6- 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 - Weakness
- CWE-863
- Updated
- 2026-11-02
OSV
8.6
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.
- Record
CVE-2020-17354- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-17354
8.6
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.
- Record
DEBIAN-CVE-2020-17354- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-17354
8.6
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.
- Record
UBUNTU-CVE-2020-17354- 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 - Updated
- 2026-11-02
OSVMGASA-2023-0325 No score
Updated lilypond packages fix a security vulnerability
Updated lilypond packages fix a security vulnerability:
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.
- Record
MGASA-2023-0325- Updated
- 2026-11-02
OSVopenSUSE-SU-2023:0137-1 No score
Security update for guile1, lilypond
This update for guile1, lilypond fixes the following issues:
guile1:
- Add service file to download release from git excluding the directory with commercial non free files.
- Update to version 2.2.6 to enable lilypond to be updated to 2.24.1 to fix boo#1210502 and CVE-2020-17354.
lilypond:
- Update to version lilypond-2.24.1 to fix boo#1210502 - CVE-2020-17354: lilypond: Lilypond allows attackers to bypass the -dsafe protection mechanism.
- Record
openSUSE-SU-2023:0137-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
lilypondDebian:12 |
before 2.22.1-1 | 2.22.1-1 |
lilypondDebian:13 |
before 2.22.1-1 | 2.22.1-1 |
lilypondDebian:14 |
before 2.22.1-1 | 2.22.1-1 |
lilypondMageia:9 |
before 2.24.2-2.mga9 | 2.24.2-2.mga9 |
lilypondUbuntu:16.04:LTS |
All versions, plus listed versions 2.18.2-42.18.2-4.1 |
None known |
lilypondUbuntu:18.04:LTS |
All versions, plus listed versions 2.18.2-92.18.2-112.18.2-122.18.2-12build1 |
None known |
lilypondUbuntu:20.04:LTS |
All versions, plus listed versions 2.19.81+really-2.18.2-13ubuntu12.19.81+really-2.18.2-13ubuntu22.19.81+really-2.18.2-142.20.0-1 |
None known |
guile1SUSE:Package Hub 15 SP4 From an advisory covering 2 CVEs |
before 2.2.6-bp154.3.3.1 | 2.2.6-bp154.3.3.1 |
lilypondSUSE:Package Hub 15 SP4 From an advisory covering 2 CVEs |
before 2.24.1-bp154.2.3.2 | 2.24.1-bp154.2.3.2 |
guile1openSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 2.2.6-bp154.3.3.1 | 2.2.6-bp154.3.3.1 |
lilypondopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 2.24.1-bp154.2.3.2 | 2.24.1-bp154.2.3.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-17354 is a high vulnerability (CVSS 8.6) in Lilypond, published April 15, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.41%, the 35th percentile. Fixed in lilypond 2.22.1-1.
References
lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage
phabricator.wikimedia.org/T259210
mediawiki.org/wiki/Extension:Score/2021_security_advisory
tracker.debian.org/news/1249694/accepted-lilypond-2221-1-source-into-unstable
gitlab.com/lilypond/lilypond/-/merge_requests/1522
lilypond.org/download.html
Show 16 moreShow less
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ST5BLLQ4GDME3SN7UE5OMNE5GZE66X4Y
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K43PF6VGFJNNGAPY57BW3VMEFFOSMRLF
nvd.nist.gov/vuln/detail/CVE-2020-17354
lists.fedoraproject.org/archives/list/[email protected]/message/K43PF6VGFJNNGAPY57BW3VMEFFOSMRLF
lists.fedoraproject.org/archives/list/[email protected]/message/ST5BLLQ4GDME3SN7UE5OMNE5GZE66X4Y
github.com/advisories/GHSA-vm3h-24gm-v3q6
security-tracker.debian.org/tracker/CVE-2020-17354
advisories.mageia.org/MGASA-2023-0325.html
bugs.mageia.org/show_bug.cgi?id=31889
ubuntu.com/security/CVE-2020-17354
phabricator.wikimedia.org/T257062
cve.org/CVERecord?id=CVE-2020-17354
lists.opensuse.org/archives/list/[email protected]/thread/ROLJCNPWZ2G4IQWP7NQKXNBT2QR32K2A
bugzilla.suse.com/1210502
suse.com/security/cve/CVE-2016-8605
suse.com/security/cve/CVE-2020-17354