Skip to content
Heist/ feed
Back to feed
Medium

cpio — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-66486

GNU cpio is vulnerable to improper encoding or escaping of output in its archive member listing functionality. When listing archive members via cpio -it, member names are printed directly to output without quoting or escaping. An attacker can craft a cpio archive containing member names with embedded newline characters or ANSI escape sequences, causing forged listing entries or terminal control sequence injection when the listing is displayed. This issue has been fixed in commit 2ff9600c9ef32e88759843cdbde74c8db5ae9b30

Products
cpio
Affected versions
2.13+dfsg-7.1, 2.14+dfsg-1, 2.15+dfsg-1, 2.15+dfsg-2, 2.15+dfsg-2.1
Fixed versions
Not specified
CVEs
CVE-2026-66486
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:55 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-66486

core-osv · Original source

Published 10 Aug 2026, 11:17 UTC

GNU cpio is vulnerable to improper encoding or escaping of output in its archive member listing functionality. When listing archive members via cpio -it, member names are printed directly to output without quoting or escaping. An attacker can craft a cpio archive containing member names with embedded newline characters or ANSI escape sequences, causing forged listing entries or terminal control sequence injection when the listing is displayed. This issue has been fixed in commit 2ff9600c9ef32e88759843cdbde74c8db5ae9b30

osv:DEBIAN-CVE-2026-66486

cpio

Fixed versions: Not specified

cpio

Fixed versions: Not specified

cpio

Fixed versions: Not specified

Complete source record
{
  "id": "badcb6543cbe5201f35d4ec55318c262b804322ab3fc279719b34161b52e5cda",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-66486",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-66486",
    "summary": "GNU cpio is vulnerable to improper encoding or escaping of output in its archive member listing functionality. When listing archive members via cpio -it, member names are printed directly to output without quoting or escaping. An attacker can craft a cpio archive containing member names with embedded newline characters or ANSI escape sequences, causing forged listing entries or terminal control sequence injection when the listing is displayed. This issue has been fixed in commit 2ff9600c9ef32e88759843cdbde74c8db5ae9b30",
    "evidence": "osv:DEBIAN-CVE-2026-66486",
    "products": [
      {
        "name": {
          "value": "cpio",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.13+dfsg-7.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.14+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.15+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.15+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.15+dfsg-2.1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "cpio",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.15+dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.15+dfsg-2.1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "cpio",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.15+dfsg-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.15+dfsg-2.1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-66486",
      "aliases": [
        "DEBIAN-CVE-2026-66486"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "cpio",
            "purl": "pkg:deb/debian/cpio?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.13+dfsg-7.1",
            "2.14+dfsg-1",
            "2.15+dfsg-1",
            "2.15+dfsg-2",
            "2.15+dfsg-2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-66486.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "cpio",
            "purl": "pkg:deb/debian/cpio?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "2.15+dfsg-2",
            "2.15+dfsg-2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-66486.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "cpio",
            "purl": "pkg:deb/debian/cpio?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "2.15+dfsg-2",
            "2.15+dfsg-2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-66486.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-25T09:47:32.326937213Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-66486"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-66486"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-66486",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 445267,
  "published_at": "2026-08-10T11:17:27.907+00:00"
}