PbcApplication · Pbc Project

CVE-2018-14742

HIGH · 7.5 CVSS v3.0 Published 2018-07-30
Fix available
A fix is available. Upgrade to after 2017-03-02 or later.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
An issue was discovered in libpbc.a in cloudwu PBC through 2017-03-02. A SEGV can occur in set_field_one in bootstrap.c during a memcpy.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

A SEGV (segmentation fault) occurs in the set_field_one function in bootstrap.c of the PBC library during a memcpy operation, likely due to invalid pointer or insufficient bounds checking when deserializing protocol buffer data.

MitigationUpdate to a patched version of PBC that adds proper bounds validation in set_field_one before the memcpy call, or apply a custom patch to validate source and destination buffer lengths and pointers.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
PbcApplication
Affected:<= 2017-03-02

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Locate PBC library installation
    Search for libpbc.so or libpbc.a files, or check for pbc.h header in standard include paths. Common paths: /usr/lib/, /usr/local/lib/, /opt/, or within project dependencies.
    Affected if PBC library files are found on the system or in project dependencies
  2. Determine PBC version
    Check for version.h or version.c in PBC source, or look at library file metadata (ls -la, file command). The vulnerable version is <= 2017-03-02. Check any build logs or package manager records for install date.
    Affected if Installed version date is on or before 2017-03-02, or version number cannot be determined and library is older
  3. Identify if application deserializes untrusted protobuf data
    Review application code that calls PBC functions for parsing (pbc_decode, pbc_read, or similar deserialization functions). Check if input comes from network, files, or other untrusted sources.
    Affected if Application uses PBC to parse protobuf data from untrusted or network sources without additional validation
  4. Inspect vulnerable code in bootstrap.c
    Locate bootstrap.c in PBC source and search for set_field_one function. Verify if bounds validation exists before memcpy calls in this function. Look for missing checks on buffer lengths or pointer validity.
    Affected if The set_field_one function in bootstrap.c lacks proper bounds checking before memcpy operations
  5. Check for evidence of crashes
    Review application logs, system logs (dmesg, journalctl), or crash dumps for SEGV, segmentation fault, or bus error related to PBC parsing operations.
    Affected if Crashes occur during protobuf deserialization using PBC library

Environment is likely affected if PBC library version is <= 2017-03-02 AND the application uses PBC to deserialize untrusted protobuf data, as the missing bounds validation in set_field_one can cause a crash during memcpy.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to a release after 2017-03-02
Interim mitigation

Update to a patched version of PBC that adds proper bounds validation in set_field_one before the memcpy call, or apply a custom patch to validate source and destination buffer lengths and pointers.

Fix this in Pbc Scoped from the published advisory
  • Consultation4.0 h
  • Implementation4.0 h
  • Testing4.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,480
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,968.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2018-14742 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2018-14742 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data