---
title: "CVE-2025-54070: OpenZeppelin openzeppelin-contracts Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2025-54070: OpenZeppelin openzeppelin-contracts Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2025-54070 is a published software vulnerability affecting OpenZeppelin openzeppelin-contracts. CVSS base score: 6.9 (MEDIUM). Published July 17, 2025 by GitHub\_M. OpenZeppelin Contracts is a library for secure smart contract development. Starting in version 5.2.0 and prior to version 5.4.0, the \`lastIndexOf(bytes,byte,uint256)\` function of the \`Bytes.sol\` library may access uninitialized memory when the following two conditions hold: 1) the provided buffer.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2025-54070
- Status: Published
- Affected vendor: OpenZeppelin
- Affected product: openzeppelin-contracts
- Assigner CNA: GitHub\_M
- Published date: July 17, 2025
- Last updated: July 17, 2025
- CVSS base score: 6.9 (MEDIUM)
- CVSS vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
- Weakness (CWE): CWE-125: Out-of-bounds Read

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Plastic injection molders in the United States](https://specstream.ai/data/businesses/plastic-injection-molders/united-states)
- [Personal injury law firms in the United States](https://specstream.ai/data/businesses/personal-injury-law-firms/united-states)
- [Pediatric anesthesiology practices in the United States](https://specstream.ai/data/businesses/pediatric-anesthesiology-practices/united-states)
- [Packing services in the United States](https://specstream.ai/data/businesses/packing-services/united-states)
- [Ophthalmology practices in the United States](https://specstream.ai/data/businesses/ophthalmology-practices/united-states)
- [Nephrology practices in the United States](https://specstream.ai/data/businesses/nephrology-practices/united-states)
