ubuntu-cve-2025-14104
Vulnerability from osv_ubuntu
Published
2025-12-05 17:16
Modified
2026-04-22 07:53
Summary
Details

A flaw was found in util-linux. This vulnerability allows a heap buffer overread when processing 256-byte usernames, specifically within the setpwnam() function, affecting SUID (Set User ID) login-utils utilities writing to the password database.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "bsdutils",
            "binary_version": "1:2.20.1-5.1ubuntu20.9"
          },
          {
            "binary_name": "libblkid1",
            "binary_version": "2.20.1-5.1ubuntu20.9"
          },
          {
            "binary_name": "libmount1",
            "binary_version": "2.20.1-5.1ubuntu20.9"
          },
          {
            "binary_name": "libuuid1",
            "binary_version": "2.20.1-5.1ubuntu20.9"
          },
          {
            "binary_name": "mount",
            "binary_version": "2.20.1-5.1ubuntu20.9"
          },
          {
            "binary_name": "util-linux",
            "binary_version": "2.20.1-5.1ubuntu20.9"
          },
          {
            "binary_name": "util-linux-locales",
            "binary_version": "2.20.1-5.1ubuntu20.9"
          },
          {
            "binary_name": "uuid-runtime",
            "binary_version": "2.20.1-5.1ubuntu20.9"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "util-linux",
        "purl": "pkg:deb/ubuntu/util-linux@2.20.1-5.1ubuntu20.9?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.20.1-5.1ubuntu9",
        "2.20.1-5.1ubuntu10",
        "2.20.1-5.1ubuntu11",
        "2.20.1-5.1ubuntu12",
        "2.20.1-5.1ubuntu13",
        "2.20.1-5.1ubuntu14",
        "2.20.1-5.1ubuntu15",
        "2.20.1-5.1ubuntu16",
        "2.20.1-5.1ubuntu17",
        "2.20.1-5.1ubuntu18",
        "2.20.1-5.1ubuntu19",
        "2.20.1-5.1ubuntu20",
        "2.20.1-5.1ubuntu20.1",
        "2.20.1-5.1ubuntu20.2",
        "2.20.1-5.1ubuntu20.3",
        "2.20.1-5.1ubuntu20.4",
        "2.20.1-5.1ubuntu20.6",
        "2.20.1-5.1ubuntu20.7",
        "2.20.1-5.1ubuntu20.9"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "bsdutils",
            "binary_version": "1:2.27.1-6ubuntu3.10+esm2"
          },
          {
            "binary_name": "libblkid1",
            "binary_version": "2.27.1-6ubuntu3.10+esm2"
          },
          {
            "binary_name": "libfdisk1",
            "binary_version": "2.27.1-6ubuntu3.10+esm2"
          },
          {
            "binary_name": "libmount1",
            "binary_version": "2.27.1-6ubuntu3.10+esm2"
          },
          {
            "binary_name": "libsmartcols1",
            "binary_version": "2.27.1-6ubuntu3.10+esm2"
          },
          {
            "binary_name": "libuuid1",
            "binary_version": "2.27.1-6ubuntu3.10+esm2"
          },
          {
            "binary_name": "mount",
            "binary_version": "2.27.1-6ubuntu3.10+esm2"
          },
          {
            "binary_name": "util-linux",
            "binary_version": "2.27.1-6ubuntu3.10+esm2"
          },
          {
            "binary_name": "util-linux-locales",
            "binary_version": "2.27.1-6ubuntu3.10+esm2"
          },
          {
            "binary_name": "uuid-runtime",
            "binary_version": "2.27.1-6ubuntu3.10+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "util-linux",
        "purl": "pkg:deb/ubuntu/util-linux@2.27.1-6ubuntu3.10+esm2?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.26.2-6ubuntu3",
        "2.27-3ubuntu1",
        "2.27.1-1ubuntu2",
        "2.27.1-1ubuntu3",
        "2.27.1-1ubuntu4",
        "2.27.1-3ubuntu1",
        "2.27.1-4ubuntu1",
        "2.27.1-6ubuntu1",
        "2.27.1-6ubuntu2",
        "2.27.1-6ubuntu3",
        "2.27.1-6ubuntu3.1",
        "2.27.1-6ubuntu3.2",
        "2.27.1-6ubuntu3.3",
        "2.27.1-6ubuntu3.4",
        "2.27.1-6ubuntu3.6",
        "2.27.1-6ubuntu3.7",
        "2.27.1-6ubuntu3.8",
        "2.27.1-6ubuntu3.9",
        "2.27.1-6ubuntu3.10",
        "2.27.1-6ubuntu3.10+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "bsdutils",
            "binary_version": "1:2.31.1-0.4ubuntu3.7"
          },
          {
            "binary_name": "fdisk",
            "binary_version": "2.31.1-0.4ubuntu3.7"
          },
          {
            "binary_name": "libblkid1",
            "binary_version": "2.31.1-0.4ubuntu3.7"
          },
          {
            "binary_name": "libfdisk1",
            "binary_version": "2.31.1-0.4ubuntu3.7"
          },
          {
            "binary_name": "libmount1",
            "binary_version": "2.31.1-0.4ubuntu3.7"
          },
          {
            "binary_name": "libsmartcols1",
            "binary_version": "2.31.1-0.4ubuntu3.7"
          },
          {
            "binary_name": "libuuid1",
            "binary_version": "2.31.1-0.4ubuntu3.7"
          },
          {
            "binary_name": "mount",
            "binary_version": "2.31.1-0.4ubuntu3.7"
          },
          {
            "binary_name": "rfkill",
            "binary_version": "2.31.1-0.4ubuntu3.7"
          },
          {
            "binary_name": "setpriv",
            "binary_version": "2.31.1-0.4ubuntu3.7"
          },
          {
            "binary_name": "util-linux",
            "binary_version": "2.31.1-0.4ubuntu3.7"
          },
          {
            "binary_name": "util-linux-locales",
            "binary_version": "2.31.1-0.4ubuntu3.7"
          },
          {
            "binary_name": "uuid-runtime",
            "binary_version": "2.31.1-0.4ubuntu3.7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "util-linux",
        "purl": "pkg:deb/ubuntu/util-linux@2.31.1-0.4ubuntu3.7?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.30.1-0ubuntu4",
        "2.30.2-0.1ubuntu1",
        "2.30.2-0.1ubuntu2",
        "2.30.2-0.1ubuntu3",
        "2.31.1-0.4ubuntu2",
        "2.31.1-0.4ubuntu3",
        "2.31.1-0.4ubuntu3.1",
        "2.31.1-0.4ubuntu3.2",
        "2.31.1-0.4ubuntu3.3",
        "2.31.1-0.4ubuntu3.4",
        "2.31.1-0.4ubuntu3.5",
        "2.31.1-0.4ubuntu3.6",
        "2.31.1-0.4ubuntu3.7"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "bsdutils",
            "binary_version": "1:2.34-0.1ubuntu9.6+esm1"
          },
          {
            "binary_name": "fdisk",
            "binary_version": "2.34-0.1ubuntu9.6+esm1"
          },
          {
            "binary_name": "libblkid1",
            "binary_version": "2.34-0.1ubuntu9.6+esm1"
          },
          {
            "binary_name": "libfdisk1",
            "binary_version": "2.34-0.1ubuntu9.6+esm1"
          },
          {
            "binary_name": "libmount1",
            "binary_version": "2.34-0.1ubuntu9.6+esm1"
          },
          {
            "binary_name": "libsmartcols1",
            "binary_version": "2.34-0.1ubuntu9.6+esm1"
          },
          {
            "binary_name": "libuuid1",
            "binary_version": "2.34-0.1ubuntu9.6+esm1"
          },
          {
            "binary_name": "mount",
            "binary_version": "2.34-0.1ubuntu9.6+esm1"
          },
          {
            "binary_name": "rfkill",
            "binary_version": "2.34-0.1ubuntu9.6+esm1"
          },
          {
            "binary_name": "util-linux",
            "binary_version": "2.34-0.1ubuntu9.6+esm1"
          },
          {
            "binary_name": "util-linux-locales",
            "binary_version": "2.34-0.1ubuntu9.6+esm1"
          },
          {
            "binary_name": "uuid-runtime",
            "binary_version": "2.34-0.1ubuntu9.6+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "util-linux",
        "purl": "pkg:deb/ubuntu/util-linux@2.34-0.1ubuntu9.6+esm1?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.34-0.1ubuntu2",
        "2.34-0.1ubuntu4",
        "2.34-0.1ubuntu5",
        "2.34-0.1ubuntu6",
        "2.34-0.1ubuntu7",
        "2.34-0.1ubuntu8",
        "2.34-0.1ubuntu9",
        "2.34-0.1ubuntu9.1",
        "2.34-0.1ubuntu9.3",
        "2.34-0.1ubuntu9.4",
        "2.34-0.1ubuntu9.5",
        "2.34-0.1ubuntu9.6",
        "2.34-0.1ubuntu9.6+esm1"
      ]
    }
  ],
  "aliases": [],
  "details": "A flaw was found in util-linux. This vulnerability allows a heap buffer overread when processing 256-byte usernames, specifically within the `setpwnam()` function, affecting SUID (Set User ID) login-utils utilities writing to the password database.",
  "id": "UBUNTU-CVE-2025-14104",
  "modified": "2026-04-22T07:53:21Z",
  "published": "2025-12-05T17:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-14104"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-14104"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/util-linux/util-linux/pull/3586"
    },
    {
      "type": "REPORT",
      "url": "https://access.redhat.com/security/cve/CVE-2025-14104"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-14104"
  ]
}



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…