Cloudanix VulnDB

CVE-2025-26519

None

CVSS

—

EPSS

0.3%

Published

Feb 14, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A common library used in many lightweight Linux systems can be tricked by specially formatted text into crashing or letting attackers run code.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Moderate
Impact
Remote Code Execution
Component
Library
Class
Buffer Overflow
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Out-of-bounds write during iconv conversion of untrusted EUC-KR input to UTF-8 in musl libc versions 0.9.13 to 1.2.5.

Why it matters to the business

Applications on Alpine Linux and other musl-based systems that process untrusted text encodings face risk of crashes or remote code execution, potentially disrupting services or enabling compromise across dependent packages.

How an attack unfolds

An attacker supplies crafted EUC-KR encoded text to trigger iconv conversion in a vulnerable musl libc instance, causing memory corruption that can be leveraged for code execution.

How to fix it

Upgrade musl libc to version 1.2.6 or later, or apply the fix from commit c47ad25ea3b484e10326f933e927c0bc8cded3da; update affected Alpine packages to versions containing the patched musl.

How to confirm the fix worked

Confirm musl version is at least 1.2.6; test iconv conversion with boundary-case EUC-KR inputs to ensure no crash or corruption occurs.

Typical attack path

  1. Locate applications or services on musl-based systems that invoke iconv on untrusted EUC-KR data
  2. Craft malicious EUC-KR input that triggers the out-of-bounds write during conversion
  3. Deliver input to the target conversion routine
  4. Achieve memory corruption and attempt to gain control of execution flow

How to detect it

Review application logs and crash reports for iconv-related failures involving EUC-KR input; inspect process memory dumps for signs of buffer overruns during character conversion.

What your security team should do

  • Immediately update musl libc across all affected systems to the fixed commit or 1.2.6
  • Inventory applications that use iconv with external input and prioritize patching those handling untrusted data
  • Monitor upstream Alpine package updates for musl fixes and deploy via standard package management

The record

musl libc 0.9.13 through 1.2.5 before 1.2.6 has an out-of-bounds write vulnerability when an attacker can trigger iconv conversion of untrusted EUC-KR text to UTF-8.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.16 musl 0 1.2.3-r4
Alpine:v3.17 musl 0 1.2.3-r6
Alpine:v3.18 musl 0 1.2.4-r3
Alpine:v3.19 musl 0 1.2.4_git20230717-r5
Alpine:v3.20 musl 0 1.2.5-r1
Alpine:v3.21 musl 0 1.2.5-r9
Alpine:v3.22 musl 0 1.2.5-r10
Debian:11 musl 0 No fix
Debian:12 musl 0 No fix
Debian:13 musl 0 No fix

Related vulnerabilities