nano — security advisory
A flaw was found in nano. A local user could exploit a format string vulnerability in the `statusline()` function. By creating a directory with a name containing `printf` specifiers, the application attempts to display this name, leading to a segmentation fault (SEGV). This results in a Denial of Service (DoS) for the `nano` application.
- Products
- nano
- Affected versions
- 7.2-1, 7.2-1+deb12u1, 7.2-2, 8.0-1, 8.1-1, 8.2-1, 8.3-1, 8.4-1, 8.5-1, 8.6-1, 8.7-1, 8.7.1-1, 9.0-1, 9.1-1, 9.2-1, 9.3-1
- Fixed versions
- 8.4-1+deb13u1, 9.0-1
- CVEs
- CVE-2026-6843
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:53 UTC · Revision 2
Source evidence
A flaw was found in nano. A local user could exploit a format string vulnerability in the `statusline()` function. By creating a directory with a name containing `printf` specifiers, the application attempts to display this name, leading to a segmentation fault (SEGV). This results in a Denial of Service (DoS) for the `nano` application.
osv:DEBIAN-CVE-2026-6843
nano
Fixed versions: Not specified
nano
Fixed versions: 8.4-1+deb13u1
nano
Fixed versions: 9.0-1
Complete source record
{
"id": "0a321a55de2d36e59612d4a51e27f7a44ba47e7c31d541f6c9c6342c504df5c9",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-6843",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-6843",
"summary": "A flaw was found in nano. A local user could exploit a format string vulnerability in the `statusline()` function. By creating a directory with a name containing `printf` specifiers, the application attempts to display this name, leading to a segmentation fault (SEGV). This results in a Denial of Service (DoS) for the `nano` application.",
"evidence": "osv:DEBIAN-CVE-2026-6843",
"products": [
{
"name": {
"value": "nano",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.2-1+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "7.2-2",
"evidence": "/affected/0/versions"
},
{
"value": "8.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.3-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.4-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.5-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.6-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.7-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.7.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "9.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "9.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "9.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "9.3-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "nano",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.4-1+deb13u1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "8.4-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "nano",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "9.0-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "8.4-1",
"evidence": "/affected/2/versions"
},
{
"value": "8.5-1",
"evidence": "/affected/2/versions"
},
{
"value": "8.6-1",
"evidence": "/affected/2/versions"
},
{
"value": "8.7-1",
"evidence": "/affected/2/versions"
},
{
"value": "8.7.1-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2026-6843",
"aliases": [
"DEBIAN-CVE-2026-6843"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nano",
"purl": "pkg:deb/debian/nano?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"7.2-1",
"7.2-1+deb12u1",
"7.2-2",
"8.0-1",
"8.1-1",
"8.2-1",
"8.3-1",
"8.4-1",
"8.5-1",
"8.6-1",
"8.7-1",
"8.7.1-1",
"9.0-1",
"9.1-1",
"9.2-1",
"9.3-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6843.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.4-1+deb13u1"
}
]
}
],
"package": {
"name": "nano",
"purl": "pkg:deb/debian/nano?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"8.4-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6843.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "9.0-1"
}
]
}
],
"package": {
"name": "nano",
"purl": "pkg:deb/debian/nano?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"8.4-1",
"8.5-1",
"8.6-1",
"8.7-1",
"8.7.1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6843.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-27T10:01:48.090058265Z",
"provider": "osv",
"upstream": [
"CVE-2026-6843"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-6843"
]
},
"related_cves": [
{
"value": "CVE-2026-6843",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 461420,
"published_at": "2026-04-22T09:16:26.963+00:00"
}