CVE-2025-8058 Affecting glibc-langpack-sv package, versions <0:2.28-251.el8_10.25


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-GLIBCLANGPACKSV-11501304
  • published7 Aug 2025
  • disclosed5 Aug 2025

Introduced: 5 Aug 2025

CVE-2025-8058  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 glibc-langpack-sv to version 0:2.28-251.el8_10.25 or higher.
This issue was patched in ALSA-2025:12980.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glibc-langpack-sv package and not the glibc-langpack-sv package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1