GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

OESA-2025-2043 (CVE-2025-8058)

Vulnerability from osv_openeuler – Published: 2025-08-15 11:09 – Updated: 2026-08-06 11:09 – Source website
VLAI
Summary
glibc security update
Details

The GNU C Library project provides the core libraries for the GNU system and GNU/Linux systems, as well as many other systems that use Linux as the kernel. These libraries provide critical APIs including ISO C11, POSIX.1-2008, BSD, OS-specific APIs and more. These APIs include such foundational facilities as open, read, write, malloc, printf, getaddrinfo, dlopen, pthread_create, crypt, login, exit and more.

Security Fix(es):

The regcomp function in the GNU C library version from 2.4 to 2.41 is subject to a double free if some previous allocation fails. It can be accomplished either by a malloc failure or by using an interposed malloc that injects random malloc failures. The double free can allow buffer manipulation depending of how the regex is constructed. This issue affects all architectures and ABIs supported by the GNU C library.(CVE-2025-8058)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "glibc-2.34-170.oe2203sp4.aarch64.rpm",
          "glibc-all-langpacks-2.34-170.oe2203sp4.aarch64.rpm",
          "glibc-common-2.34-170.oe2203sp4.aarch64.rpm",
          "glibc-compat-2.17-2.34-170.oe2203sp4.aarch64.rpm",
          "glibc-debuginfo-2.34-170.oe2203sp4.aarch64.rpm",
          "glibc-debugsource-2.34-170.oe2203sp4.aarch64.rpm",
          "glibc-debugutils-2.34-170.oe2203sp4.aarch64.rpm",
          "glibc-devel-2.34-170.oe2203sp4.aarch64.rpm",
          "glibc-locale-archive-2.34-170.oe2203sp4.aarch64.rpm",
          "glibc-locale-source-2.34-170.oe2203sp4.aarch64.rpm",
          "glibc-nss-devel-2.34-170.oe2203sp4.aarch64.rpm",
          "libnsl-2.34-170.oe2203sp4.aarch64.rpm",
          "nscd-2.34-170.oe2203sp4.aarch64.rpm",
          "nss_modules-2.34-170.oe2203sp4.aarch64.rpm"
        ],
        "noarch": [
          "glibc-help-2.34-170.oe2203sp4.noarch.rpm"
        ],
        "src": [
          "glibc-2.34-170.oe2203sp4.src.rpm"
        ],
        "x86_64": [
          "glibc-2.34-170.oe2203sp4.x86_64.rpm",
          "glibc-all-langpacks-2.34-170.oe2203sp4.x86_64.rpm",
          "glibc-common-2.34-170.oe2203sp4.x86_64.rpm",
          "glibc-compat-2.17-2.34-170.oe2203sp4.x86_64.rpm",
          "glibc-debuginfo-2.34-170.oe2203sp4.x86_64.rpm",
          "glibc-debugsource-2.34-170.oe2203sp4.x86_64.rpm",
          "glibc-debugutils-2.34-170.oe2203sp4.x86_64.rpm",
          "glibc-devel-2.34-170.oe2203sp4.x86_64.rpm",
          "glibc-locale-archive-2.34-170.oe2203sp4.x86_64.rpm",
          "glibc-locale-source-2.34-170.oe2203sp4.x86_64.rpm",
          "glibc-nss-devel-2.34-170.oe2203sp4.x86_64.rpm",
          "libnsl-2.34-170.oe2203sp4.x86_64.rpm",
          "nscd-2.34-170.oe2203sp4.x86_64.rpm",
          "nss_modules-2.34-170.oe2203sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP4",
        "name": "glibc",
        "purl": "pkg:rpm/openEuler/glibc\u0026distro=openEuler-22.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.34-170.oe2203sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "Medium"
  },
  "details": "The GNU C Library project provides the core libraries for the GNU system and\nGNU/Linux systems, as well as many other systems that use Linux as the kernel.\nThese libraries provide critical APIs including ISO C11, POSIX.1-2008, BSD,\nOS-specific APIs and more. These APIs include such foundational facilities as\nopen, read, write, malloc, printf, getaddrinfo, dlopen, pthread_create, crypt,\n login, exit and more.\r\n\r\nSecurity Fix(es):\n\nThe regcomp function in the GNU C library version from 2.4 to 2.41 is \nsubject to a double free if some previous allocation fails. It can be \naccomplished either by a malloc failure or by using an interposed malloc\n that injects random malloc failures. The double free can allow buffer \nmanipulation depending of how the regex is constructed. This issue \naffects all architectures and ABIs supported by the GNU C library.(CVE-2025-8058)",
  "id": "OESA-2025-2043",
  "modified": "2026-08-06T11:09:07Z",
  "published": "2025-08-15T11:09:07Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-2043"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-8058"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "glibc security update",
  "upstream": [
    "CVE-2025-8058"
  ]
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…