Skip to content
Heist/ feed
UnratedFix available

ALPINE-CVE-2026-40706

Type: advisorySource: OSV1 source record

In NTFS-3G 2022.10.3 before 2026.2.25, a heap buffer overflow exists in ntfs_build_permissions_posix() in acls.c that allows an attacker to corrupt heap memory in the SUID-root ntfs-3g binary by crafting a malicious NTFS image. The overflow is triggered on the READ path (stat, readdir, open) when processing a security descriptor with multiple ACCESS_DENIED ACEs containing WRITE_OWNER from distinct group SIDs.

Announced Source revision 1
Original source ↗

ALPINE-CVE-2026-40706

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:ALPINE-CVE-2026-40706

ntfs-3g

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
2026.2.25-r0

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

ntfs-3g

Source reference: /affected/1/package/name

Affected versions
Not stated in this record
Fixed versions
2026.2.25-r0

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

ntfs-3g

Source reference: /affected/2/package/name

Affected versions
Not stated in this record
Fixed versions
2026.2.25-r0

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

ntfs-3g

Source reference: /affected/3/package/name

Affected versions
Not stated in this record
Fixed versions
2026.2.25-r0

Source reference: /affected/3/ranges

Prerequisites
Not stated in this record

ntfs-3g

Source reference: /affected/4/package/name

Affected versions
Not stated in this record
Fixed versions
2026.2.25-r0

Source reference: /affected/4/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2026.2.25-r0"
          }
        ]
      }
    ],
    "package": {
      "name": "ntfs-3g",
      "purl": "pkg:apk/alpine/ntfs-3g?arch=source",
      "ecosystem": "Alpine:v3.20"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40706.json"
    },
    "ecosystem_specific": {}
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2026.2.25-r0"
          }
        ]
      }
    ],
    "package": {
      "name": "ntfs-3g",
      "purl": "pkg:apk/alpine/ntfs-3g?arch=source",
      "ecosystem": "Alpine:v3.21"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40706.json"
    },
    "ecosystem_specific": {}
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2026.2.25-r0"
          }
        ]
      }
    ],
    "package": {
      "name": "ntfs-3g",
      "purl": "pkg:apk/alpine/ntfs-3g?arch=source",
      "ecosystem": "Alpine:v3.22"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40706.json"
    },
    "ecosystem_specific": {}
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2026.2.25-r0"
          }
        ]
      }
    ],
    "package": {
      "name": "ntfs-3g",
      "purl": "pkg:apk/alpine/ntfs-3g?arch=source",
      "ecosystem": "Alpine:v3.23"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40706.json"
    },
    "ecosystem_specific": {}
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2026.2.25-r0"
          }
        ]
      }
    ],
    "package": {
      "name": "ntfs-3g",
      "purl": "pkg:apk/alpine/ntfs-3g?arch=source",
      "ecosystem": "Alpine:v3.24"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40706.json"
    },
    "ecosystem_specific": {}
  }
]

Publisher severity

No explicit severity was provided.

Event
#54349 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement