ubuntu-cve-2026-40706
Vulnerability from osv_ubuntu
Published
2026-04-21 12:00
Modified
2026-05-20 15:27
Summary
Details

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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "ntfs-3g",
            "binary_version": "1:2013.1.13AR.1-2ubuntu2+esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "ntfs-3g",
        "purl": "pkg:deb/ubuntu/ntfs-3g@1:2013.1.13AR.1-2ubuntu2+esm4?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:2013.1.13AR.1-2ubuntu1",
        "1:2013.1.13AR.1-2ubuntu2",
        "1:2013.1.13AR.1-2ubuntu2+esm1",
        "1:2013.1.13AR.1-2ubuntu2+esm2",
        "1:2013.1.13AR.1-2ubuntu2+esm3",
        "1:2013.1.13AR.1-2ubuntu2+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "ntfs-3g",
            "binary_version": "1:2015.3.14AR.1-1ubuntu0.3+esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "ntfs-3g",
        "purl": "pkg:deb/ubuntu/ntfs-3g@1:2015.3.14AR.1-1ubuntu0.3+esm4?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:2014.2.15AR.3-3",
        "1:2015.3.14AR.1-1",
        "1:2015.3.14AR.1-1build1",
        "1:2015.3.14AR.1-1ubuntu0.1",
        "1:2015.3.14AR.1-1ubuntu0.2",
        "1:2015.3.14AR.1-1ubuntu0.3",
        "1:2015.3.14AR.1-1ubuntu0.3+esm1",
        "1:2015.3.14AR.1-1ubuntu0.3+esm2",
        "1:2015.3.14AR.1-1ubuntu0.3+esm3",
        "1:2015.3.14AR.1-1ubuntu0.3+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libntfs-3g88",
            "binary_version": "1:2017.3.23-2ubuntu0.18.04.5"
          },
          {
            "binary_name": "ntfs-3g",
            "binary_version": "1:2017.3.23-2ubuntu0.18.04.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "ntfs-3g",
        "purl": "pkg:deb/ubuntu/ntfs-3g@1:2017.3.23-2ubuntu0.18.04.5?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:2016.2.22AR.2-2",
        "1:2017.3.23-2",
        "1:2017.3.23-2ubuntu0.18.04.1",
        "1:2017.3.23-2ubuntu0.18.04.2",
        "1:2017.3.23-2ubuntu0.18.04.3",
        "1:2017.3.23-2ubuntu0.18.04.4",
        "1:2017.3.23-2ubuntu0.18.04.5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libntfs-3g883",
            "binary_version": "1:2017.3.23AR.3-3ubuntu1.3"
          },
          {
            "binary_name": "ntfs-3g",
            "binary_version": "1:2017.3.23AR.3-3ubuntu1.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "ntfs-3g",
        "purl": "pkg:deb/ubuntu/ntfs-3g@1:2017.3.23AR.3-3ubuntu1.3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:2017.3.23AR.3-3ubuntu1",
        "1:2017.3.23AR.3-3ubuntu1.1",
        "1:2017.3.23AR.3-3ubuntu1.2",
        "1:2017.3.23AR.3-3ubuntu1.3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libntfs-3g89",
            "binary_version": "1:2021.8.22-3ubuntu1.3"
          },
          {
            "binary_name": "ntfs-3g",
            "binary_version": "1:2021.8.22-3ubuntu1.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "ntfs-3g",
        "purl": "pkg:deb/ubuntu/ntfs-3g@1:2021.8.22-3ubuntu1.3?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:2021.8.22-3ubuntu1.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:2017.3.23AR.3-3ubuntu5",
        "1:2017.3.23AR.3-3ubuntu6",
        "1:2021.8.22-3ubuntu1",
        "1:2021.8.22-3ubuntu1.1",
        "1:2021.8.22-3ubuntu1.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libntfs-3g89t64",
            "binary_version": "1:2022.10.3-1.2ubuntu3.1"
          },
          {
            "binary_name": "ntfs-3g",
            "binary_version": "1:2022.10.3-1.2ubuntu3.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "ntfs-3g",
        "purl": "pkg:deb/ubuntu/ntfs-3g@1:2022.10.3-1.2ubuntu3.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:2022.10.3-1.2ubuntu3.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:2022.10.3-1ubuntu1",
        "1:2022.10.3-1.2ubuntu1",
        "1:2022.10.3-1.2ubuntu2",
        "1:2022.10.3-1.2ubuntu3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libntfs-3g89t64",
            "binary_version": "1:2022.10.3-5ubuntu0.25.10.1"
          },
          {
            "binary_name": "ntfs-3g",
            "binary_version": "1:2022.10.3-5ubuntu0.25.10.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "ntfs-3g",
        "purl": "pkg:deb/ubuntu/ntfs-3g@1:2022.10.3-5ubuntu0.25.10.1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:2022.10.3-5ubuntu0.25.10.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:2022.10.3-5"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libntfs-3g89t64",
            "binary_version": "1:2022.10.3-5ubuntu1"
          },
          {
            "binary_name": "ntfs-3g",
            "binary_version": "1:2022.10.3-5ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "ntfs-3g",
        "purl": "pkg:deb/ubuntu/ntfs-3g@1:2022.10.3-5ubuntu1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:2022.10.3-5ubuntu1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:2022.10.3-5",
        "1:2022.10.3-5build1"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2026-40706",
  "modified": "2026-05-20T15:27:26Z",
  "published": "2026-04-21T12:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-40706"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-40706"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/tuxera/ntfs-3g/security/advisories/GHSA-4cwv-5285-63v9"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8192-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8192-2"
    }
  ],
  "related": [
    "USN-8192-1",
    "USN-8192-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-40706"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…