CVE-2026-33666

Zserio: Integer Overflow in BitStreamReader on 32-bit platforms

Published Apr 24, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Zserio is a framework for serializing structured data with a compact and efficient way with low overhead. Prior to 2.18.1, in BitStreamReader.h readBytes() / readString(), the setBitPosition() bounds check receives the overflowed value and is completely bypassed. The code then reads len bytes (512 MB) from a buffer that is only a few bytes long, causing a segmentation fault. This vulnerability is fixed in 2.18.1.

Analysis

AI-generated

Technical impact

Zserio’s BitStreamReader functions readBytes() and readString() perform a bounds check on the number of bytes to read. On 32‑bit platforms the length calculation overflows, causing the check to be bypassed. The code then attempts to read an overflowed 512 MB of data from a buffer that is only a few bytes, resulting in a segmentation fault. The vulnerability does not allow arbitrary code execution or privilege escalation, but any process that uses the vulnerable Zserio library will be vulnerable to a crash that may lead to service disruption.

Affected Systems

All installations of the Zserio serialization framework from the ndsev repository running a version prior to 2.18.1 are affected. No specific distribution or build is listed, so any build that includes BitStreamReader.h without the patch is vulnerable.

Risk and Exploitability

The CVSS score of 7.5 indicates a high impact if exploited. The EPSS score of less than 1 % suggests modest likelihood of exploitation, which is unsurprising given the local‑only nature of the flaw. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker who can supply crafted serialized data to the vulnerable application; the resulting crash can be leveraged to cause a denial of service. Based on the description, the likely attack vector is local, with an adversary injecting malicious input into an application that uses Zserio.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Zserio to version 2.18.1 or newer, which contains the bounds‑check fix for BitStreamReader.
  • Validate or sanitize any data that will be passed to Zserio’s readBytes() or readString() to ensure the length does not exceed the available buffer size.
  • Configure monitoring to detect segmentation faults and automatically restart the affected service, or run the application in a sandboxed environment to contain crashes.

Generated by OpenCVE AI on April 28, 2026 at 13:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Nds-association
Nds-association zserio
CPEs cpe:2.3:a:nds-association:zserio:*:*:*:*:*:*:*:*
Vendors & Products Nds-association
Nds-association zserio
Type Values Removed Values Added
First Time appeared Ndsev
Ndsev zserio
Vendors & Products Ndsev
Ndsev zserio
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Zserio is a framework for serializing structured data with a compact and efficient way with low overhead. Prior to 2.18.1, in BitStreamReader.h readBytes() / readString(), the setBitPosition() bounds check receives the overflowed value and is completely bypassed. The code then reads len bytes (512 MB) from a buffer that is only a few bytes long, causing a segmentation fault. This vulnerability is fixed in 2.18.1.
Title Zserio: Integer Overflow in BitStreamReader on 32-bit platforms
Weaknesses CWE-190
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 27, 2026, 1:46 PM
Reserved
Mar 23, 2026, 3:23 PM
Status
Analyzed
Published
Apr 24, 2026, 7:17 PM
Modified
Oct 26, 2026, 12:10 AM