---
id: CVE-2026-112010
title: smpeg through 2.0.0 Integer Underflow via stream_header in MPEGsystem.cpp
summary: >-
  smpeg through 2.0.0 contains an integer underflow vulnerability in
  stream_header() in MPEGsystem.cpp that allows attackers to wrap packet_size by
  declaring an undersized packet length. Attackers can supply a crafted MPEG
  file opened via …
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-191
vendor: icculus
product: smpeg
affected:
  - smpeg <= 2.0.0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-18T12:16:49.870829Z'
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T12:23:31.721Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112010'
references:
  - url: 'https://hackmd.io/@haindpwn/smpeg-system-header-stream-table-oob-read'
  - url: >-
      https://github.com/icculus/smpeg/blob/d188dc111f4817288718705e4a84e248803ccfdc/MPEGsystem.cpp#L295-L350
  - url: >-
      https://github.com/icculus/smpeg/blob/d188dc111f4817288718705e4a84e248803ccfdc/MPEGsystem.cpp#L777
  - url: 'https://github.com/icculus/smpeg'
  - url: >-
      https://www.vulncheck.com/advisories/smpeg-through-2.0.0-integer-underflow-via-stream-header-in-mpegsystem-cpp
    label: >-
      VulnCheck Advisory: smpeg through 2.0.0 Integer Underflow via
      stream_header in MPEGsystem.cpp
tags:
  - cve.org
ingestedAt: '2026-10-18T11:40:26.622Z'
---

## Overview

smpeg through 2.0.0 contains an integer underflow vulnerability in stream_header() in MPEGsystem.cpp that allows attackers to wrap packet_size by declaring an undersized packet length. Attackers can supply a crafted MPEG file opened via SMPEG_new, SMPEG_new_rwops or SMPEG_new_data to trigger a reachable assertion or out-of-bounds copy, crashing the application.

## Affected

- `smpeg <= 2.0.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
