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.
Metrics
CVSS 3.1 8.6/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usageRelease Notes
- https://gitlab.com/lilypond/lilypond/-/merge_requests/1522Patch, Vendor Advisory
- https://lilypond.org/download.htmlProduct
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K43PF6VGFJNNGAPY57BW3VMEFFOSMRLF/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ST5BLLQ4GDME3SN7UE5OMNE5GZE66X4Y/
- https://phabricator.wikimedia.org/T259210Exploit, Third Party Advisory
- https://tracker.debian.org/news/1249694/accepted-lilypond-2221-1-source-into-unstable/Mailing List, Release Notes, Third Party Advisory
- https://www.mediawiki.org/wiki/Extension:Score/2021_security_advisoryThird Party Advisory
- http://lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usageRelease Notes
- https://gitlab.com/lilypond/lilypond/-/merge_requests/1522Patch, Vendor Advisory
- https://lilypond.org/download.htmlProduct
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K43PF6VGFJNNGAPY57BW3VMEFFOSMRLF/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ST5BLLQ4GDME3SN7UE5OMNE5GZE66X4Y/
- https://phabricator.wikimedia.org/T259210Exploit, Third Party Advisory
- https://tracker.debian.org/news/1249694/accepted-lilypond-2221-1-source-into-unstable/Mailing List, Release Notes, Third Party Advisory
- https://www.mediawiki.org/wiki/Extension:Score/2021_security_advisoryThird Party Advisory
Timeline
- Published
- Apr 15, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified