Uninitialized Value Vulnerability in PcapPlusPlus Package

pcapplusplus Updated 23 Jun 2026

Summary

24/03/2026
MEDIUM
No i
Medium
Not published

OSV-2026-449: Use-of-uninitialized-value in pcpp::SomeIpSdEntry::SomeIpSdEntry. Affects pcapplusplus versions >= 813f15b87f5e76a62d64360f8cbdf449c21316e4. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

PcapPlusPlus is an open-source C++ library designed for packet capturing and network analysis. It provides a high-level API for working with network packets, making it easier for developers to create applications that require network traffic analysis. The library is widely used in various networking applications due to its performance and flexibility. However, it is susceptible to vulnerabilities that can lead to crashes or unexpected behavior, such as the use-of-uninitialized-value issue reported in this case.

Vulnerability Detail

The vulnerability identified in PcapPlusPlus is a use-of-uninitialized-value error occurring in the constructor of the SomeIpSdEntry class. This issue arises when the application attempts to read data from an uninitialized variable, leading to potential crashes or undefined behavior. The vulnerability was reported through OSS-Fuzz, highlighting its impact on the stability and reliability of applications utilizing this library. If exploited, it could result in application crashes, making it critical for developers to address this issue promptly.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, ensure that all variables are properly initialized before use. This can be done by explicitly setting default values in the constructor of the SomeIpSdEntry class. For example: 'SomeIpSdEntry::SomeIpSdEntry() : someVariable(0) {}' where 'someVariable' is the uninitialized variable.

Conclusion

The use-of-uninitialized-value vulnerability in the PcapPlusPlus package poses a significant risk to applications relying on this library. Developers are encouraged to update their packages to the latest version to mitigate this issue. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time, ensuring software security and stability.

See every vulnerability recorded for pcapplusplus →

Share this vulnerability

FAQ

The vulnerability is a use-of-uninitialized-value error that can lead to application crashes.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

Exploiting this vulnerability can cause application crashes and unpredictable behavior, impacting user experience and application reliability.

Yes, a patch is available. Updating to the latest version of PcapPlusPlus will resolve this issue.

Regularly update your dependencies, utilize static analysis tools, and follow best coding practices to minimize the risk of vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for pcapplusplus.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback