CVE-2026-105839

libmikmod before 3.3.14 Heap Buffer Overflow via OKT Loader OKT_doPBOD

Published Oct 6, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
Description
libmikmod before 3.3.14 contains an integer overflow in the Oktalyzer loader OKT_doPBOD() that allows attackers to cause heap buffer overflow via crafted track counts. Attackers can supply an OKT module whose SLEN chunk wraps the 16-bit numtrk value, causing PBOD writes past allocated track pointers for crashes or code execution.

Analysis

AI-generated

Technical impact

libmikmod versions before 3.3.14 contain an integer overflow in the Oktalyzer loader function that processes the OKT format. The overflow occurs when the parser reads the 16‑bit track count value from the SLEN chunk and uses it to determine how many PBOD structures to allocate. If an attacker supplies a module where this value wraps around, the resulting index becomes larger than the allocated array, leading to a heap buffer overflow. The vulnerability can be leveraged to corrupt memory, crash the application, or potentially execute arbitrary code if an attacker controls the overwritten pointers. The flaw is categorized as CWE‑190: Integer Overflow or Wraparound.

Affected Systems

The affected product is libmikmod distributed by sezero. Versions prior to 3.3.14 are vulnerable; no specific sub‑version range beyond that is identified in the CNA data. An attacker who can supply a malicious OKT module to a process running libmikmod is able to trigger the vulnerability.

Risk and Exploitability

The CVSS score of 8.5 indicates high severity. EPSS data is not available, so the exploitation likelihood cannot be quantified, and KEV does not list this issue. The vulnerability can be triggered by providing a crafted OKT module file, which is a practical attack vector in any environment where libmikmod processes user supplied media files. Rows of unsupported tracks that wrap the 16‑bit counter create the overflow, making the weakness exploitable where the library is used to load media. The risk is elevated if libmikmod is used in a privileged context or exposed to untrusted input.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libmikmod to version 3.3.14 or later where the integer overflow has been fixed.
  • If upgrading is not possible, limit libmikmod usage to trusted sources and validate or sanitize OKT files before passing them to the loader.
  • Apply system‑level hardening such as stack canaries, address space layout randomization, and memory protection mechanisms to reduce the impact of any remaining overflow attempts.

Generated by OpenCVE AI on October 6, 2026 at 18:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Sezero
Sezero libmikmod
Vendors & Products Sezero
Sezero libmikmod
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description libmikmod before 3.3.14 contains an integer overflow in the Oktalyzer loader OKT_doPBOD() that allows attackers to cause heap buffer overflow via crafted track counts. Attackers can supply an OKT module whose SLEN chunk wraps the 16-bit numtrk value, causing PBOD writes past allocated track pointers for crashes or code execution.
Title libmikmod before 3.3.14 Heap Buffer Overflow via OKT Loader OKT_doPBOD
First Time appeared Raphael Assenat
Raphael Assenat libmikmod
Weaknesses CWE-190
CPEs cpe:2.3:a:raphael_assenat:libmikmod:*:*:*:*:*:*:*:*
Vendors & Products Raphael Assenat
Raphael Assenat libmikmod
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 6, 2026, 4:12 PM
Reserved
Oct 5, 2026, 10:00 PM
Status
Deferred
Published
Oct 6, 2026, 2:17 PM
Modified
Oct 6, 2026, 5:17 PM