Skip to main content
EPSS 0.1%top 97%

rust-openssl provides OpenSSL bindings for the Rust programming language. (CVE-2026-45784)

0
Medium
Published: 07/17/2026 (07/17/2026, 21:17:00 UTC)
Source: GCVE Database
Product: rust-openssl

Description

A vulnerability in rust-openssl versions from 0.10.50 up to but not including 0.10.80 causes incorrect sizing of output buffers in the CipherCtxRef::cipher_update_inplace function when used with AES key-wrap-with-padding ciphers. This leads to OpenSSL writing up to 7 bytes beyond the end of the caller's buffer or Vec for non-multiple-of-8 inputs, resulting in attacker-controllable heap corruption. The issue is fixed in version 0.10.80.

CVSS v3.1

Score 7.1high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Affected software

Ubuntu:Pro:20.04:LTSmore threats →ghsa
rust-openssl
pkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps/focal
Affected versions
=0.10.23-1=0.10.23-1ubuntu0.1~esm1
Ubuntu:Pro:22.04:LTSmore threats →ghsa
rust-openssl
pkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps/jammy
Affected versions
=0.10.29-1=0.10.36-1=0.10.36-1ubuntu0.1~esm1
Ubuntu:Pro:24.04:LTSmore threats →ghsa
rust-openssl
pkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps/noble
Affected versions
=0.10.45-1=0.10.57-1=0.10.57-1ubuntu0.1~esm1
Ubuntu:26.04:LTSmore threats →ghsa
rust-openssl
pkg:deb/ubuntu/rust-openssl?arch=source&distro=resolute
Affected versions
=0.10.72-1=0.10.73-1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/01/2026, 02:55:49 UTC

Technical Analysis

The rust-openssl library, which provides OpenSSL bindings for Rust, contains a buffer sizing flaw in versions 0.10.50 through 0.10.79 in the CipherCtxRef::cipher_update_inplace function. When used with AES key-wrap-with-padding ciphers (EVP_aes_{128,192,256}_wrap_pad), the function incorrectly sizes output buffers. For plaintext inputs whose length is not a multiple of 8, OpenSSL may write up to 7 bytes beyond the allocated buffer, causing heap corruption that can be influenced by an attacker. This vulnerability is resolved in rust-openssl version 0.10.80.

Potential Impact

This vulnerability allows an attacker who can control the plaintext length to cause heap corruption by triggering out-of-bounds writes of up to 7 bytes beyond the buffer. The corruption can lead to denial of service or potentially arbitrary code execution. The CVSS 3.1 score is 7.1 (medium severity) with local attack vector, low complexity, low privileges required, no user interaction, unchanged scope, no confidentiality impact, high integrity impact, and high availability impact.

Mitigation Recommendations

A fix is available in rust-openssl version 0.10.80. Users should upgrade to version 0.10.80 or later to remediate this vulnerability. No vendor advisory indicates alternative mitigations or that no action is required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-45784
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.04:LTS"]
Cvss Version
3.1

Threat ID: 6a6cc1541aa972dd320aa3e9

Added to database: 07/31/2026, 15:37:56 UTC

Last enriched: 08/01/2026, 02:55:49 UTC

Last updated: 09/14/2026, 22:01:34 UTC

Views: 24

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses