Use-of-Uninitialized-Value Vulnerability in pcapplusplus Package

pcapplusplus Updated 02 Oct 2025

Summary

17/05/2025
MEDIUM
No i
Medium
Not published

OSV-2025-374: 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

pcapplusplus is an open-source library designed for packet capture and analysis, providing developers with tools to work with network packets in a user-friendly manner. It supports various protocols and is widely used in network analysis applications. However, like many software libraries, it is susceptible to vulnerabilities that can lead to crashes or unexpected behavior, particularly when handling uninitialized values.

Vulnerability Detail

The vulnerability identified as OSV-2025-374 is a use-of-uninitialized-value issue found in the pcpp::SomeIpSdEntry::SomeIpSdEntry constructor. This flaw can lead to crashes during runtime, specifically when the library attempts to access uninitialized memory. The crash occurs in the getEntries method of the SomeIpSdLayer class, which is part of the packet parsing process. If exploited, this vulnerability could disrupt applications relying on pcapplusplus for packet analysis, potentially leading to data loss or service interruptions.

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

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it is available to mitigate risks.

Conclusion

The use-of-uninitialized-value vulnerability in the pcapplusplus package poses a significant risk to applications relying on this library for packet analysis. It is crucial for developers to update to the latest version to ensure the stability and security of their applications. Utilizing tools like Vulert can help in monitoring and identifying such vulnerabilities in real-time.

See every vulnerability recorded for pcapplusplus →

Share this vulnerability

FAQ

The vulnerability is a use-of-uninitialized-value issue that can cause crashes in applications using the pcapplusplus library.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to application crashes, data loss, and service interruptions, affecting the reliability of network analysis tools.

Yes, a patched version of the pcapplusplus package is available. Users should update to the latest version to mitigate the vulnerability.

If immediate updating is not possible, monitor your application closely for crashes and consider isolating the affected components until a patch can be applied.

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