Skip to content
Heist/ feed
Back to feed
Medium

dash — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-102474

A flaw was found in dash. The printf builtin reserves four bytes before converting a Unicode \u or \U escape, but the multi-byte token can need five or six bytes. A local user who can supply such an escape to dash printf or echo %b, including through dash -c and a positional argument, can write one or two bytes past that reservation.

Products
dash
Affected versions
0.5.10.2-6, 0.5.11+git20210120+802ebd4-1build1, 0.5.11+git20210903+057cd650a4ed-3, 0.5.11+git20210903+057cd650a4ed-3build1, 0.5.12-12ubuntu2, 0.5.12-12ubuntu3, 0.5.12-6ubuntu1, 0.5.12-6ubuntu3, 0.5.12-6ubuntu4, 0.5.12-6ubuntu5, 0.5.7-3ubuntu1, 0.5.7-4ubuntu1, 0.5.7-4ubuntu2, 0.5.8-2.10, 0.5.8-2.1ubuntu2, 0.5.8-2.3ubuntu1, 0.5.8-2.5ubuntu1, 0.5.8-2.9ubuntu1
Fixed versions
Not specified
CVEs
CVE-2026-102474
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:53 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-102474

core-osv · Original source

Published 29 Sept 2026, 10:17 UTC

A flaw was found in dash. The printf builtin reserves four bytes before converting a Unicode \u or \U escape, but the multi-byte token can need five or six bytes. A local user who can supply such an escape to dash printf or echo %b, including through dash -c and a positional argument, can write one or two bytes past that reservation.

osv:UBUNTU-CVE-2026-102474

dash

Fixed versions: Not specified

dash

Fixed versions: Not specified

dash

Fixed versions: Not specified

dash

Fixed versions: Not specified

dash

Fixed versions: Not specified

dash

Fixed versions: Not specified

dash

Fixed versions: Not specified

dash

Fixed versions: Not specified

Complete source record
{
  "id": "3a1bdda8ca8f9a32bbd35af93178410ecbc343ab7dba77766e036bfb0e6990a8",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-102474",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-102474",
    "summary": "A flaw was found in dash. The printf builtin reserves four bytes before converting a Unicode \\u or \\U escape, but the multi-byte token can need five or six bytes. A local user who can supply such an escape to dash printf or echo %b, including through dash -c and a positional argument, can write one or two bytes past that reservation.",
    "evidence": "osv:UBUNTU-CVE-2026-102474",
    "products": [
      {
        "name": {
          "value": "dash",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.7-3ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.5.7-4ubuntu1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dash",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.7-4ubuntu2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.5.8-2.1ubuntu2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dash",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.8-2.3ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.5.8-2.5ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.5.8-2.9ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.5.8-2.10",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dash",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.10.2-6",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dash",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.11+git20210120+802ebd4-1build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.5.11+git20210903+057cd650a4ed-3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.5.11+git20210903+057cd650a4ed-3build1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dash",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.12-6ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.5.12-6ubuntu3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.5.12-6ubuntu4",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.5.12-6ubuntu5",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dash",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.12-12ubuntu3",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dash",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.12-12ubuntu2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "0.5.12-12ubuntu3",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-102474",
      "aliases": [
        "UBUNTU-CVE-2026-102474"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dash",
            "purl": "pkg:deb/ubuntu/dash?arch=source&distro=trusty",
            "ecosystem": "Ubuntu:14.04:LTS"
          },
          "versions": [
            "0.5.7-3ubuntu1",
            "0.5.7-4ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ash",
                "binary_version": "0.5.7-4ubuntu1"
              },
              {
                "binary_name": "dash",
                "binary_version": "0.5.7-4ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dash",
            "purl": "pkg:deb/ubuntu/dash?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "0.5.7-4ubuntu2",
            "0.5.8-2.1ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ash",
                "binary_version": "0.5.8-2.1ubuntu2"
              },
              {
                "binary_name": "dash",
                "binary_version": "0.5.8-2.1ubuntu2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dash",
            "purl": "pkg:deb/ubuntu/dash?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "0.5.8-2.3ubuntu1",
            "0.5.8-2.5ubuntu1",
            "0.5.8-2.9ubuntu1",
            "0.5.8-2.10"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ash",
                "binary_version": "0.5.8-2.10"
              },
              {
                "binary_name": "dash",
                "binary_version": "0.5.8-2.10"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dash",
            "purl": "pkg:deb/ubuntu/dash?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.5.10.2-6"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ash",
                "binary_version": "0.5.10.2-6"
              },
              {
                "binary_name": "dash",
                "binary_version": "0.5.10.2-6"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dash",
            "purl": "pkg:deb/ubuntu/dash?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.5.11+git20210120+802ebd4-1build1",
            "0.5.11+git20210903+057cd650a4ed-3",
            "0.5.11+git20210903+057cd650a4ed-3build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ash",
                "binary_version": "0.5.11+git20210903+057cd650a4ed-3build1"
              },
              {
                "binary_name": "dash",
                "binary_version": "0.5.11+git20210903+057cd650a4ed-3build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dash",
            "purl": "pkg:deb/ubuntu/dash?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.5.12-6ubuntu1",
            "0.5.12-6ubuntu3",
            "0.5.12-6ubuntu4",
            "0.5.12-6ubuntu5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ash",
                "binary_version": "0.5.12-6ubuntu5"
              },
              {
                "binary_name": "dash",
                "binary_version": "0.5.12-6ubuntu5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dash",
            "purl": "pkg:deb/ubuntu/dash?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.5.12-12ubuntu3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "dash",
                "binary_version": "0.5.12-12ubuntu3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "dash",
            "purl": "pkg:deb/ubuntu/dash?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.5.12-12ubuntu2",
            "0.5.12-12ubuntu3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "dash",
                "binary_version": "0.5.12-12ubuntu3"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:46.086863881Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-102474"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-102474",
        "https://www.cve.org/CVERecord?id=CVE-2026-102474",
        "https://access.redhat.com/security/cve/CVE-2026-102474"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-102474",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359753,
  "published_at": "2026-09-29T10:17:00+00:00"
}