lilypond — security advisory
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.
- Products
- lilypond
- Affected versions
- Not specified
- Fixed versions
- 2.22.1-1
- CVEs
- CVE-2020-17354
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:44 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2020-17354
lilypond
Fixed versions: 2.22.1-1
lilypond
Fixed versions: 2.22.1-1
lilypond
Fixed versions: 2.22.1-1
Complete source record
{
"id": "1985ec4aad6338fc5ff00522d5c93d7013f3a485b0752ed2ed50a6252b41a337",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-17354",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-17354",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2020-17354",
"products": [
{
"name": {
"value": "lilypond",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.22.1-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "lilypond",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.22.1-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "lilypond",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.22.1-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2020-17354",
"aliases": [
"DEBIAN-CVE-2020-17354"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.22.1-1"
}
]
}
],
"package": {
"name": "lilypond",
"purl": "pkg:deb/debian/lilypond?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-17354.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.22.1-1"
}
]
}
],
"package": {
"name": "lilypond",
"purl": "pkg:deb/debian/lilypond?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-17354.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.22.1-1"
}
]
}
],
"package": {
"name": "lilypond",
"purl": "pkg:deb/debian/lilypond?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-17354.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:00:46.510415781Z",
"provider": "osv",
"upstream": [
"CVE-2020-17354"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-17354"
]
},
"related_cves": [
{
"value": "CVE-2020-17354",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 451317,
"published_at": "2023-04-15T22:15:06.913+00:00"
}