CVE-2023-53160: Sequoia openpgp Sequoia-openpgp Vulnerable To Out-of-bounds Array Vulnerability
LOWCVE-2023-53160 is a LOW (CVSS 2.9) sequoia-openpgp vulnerable to out-of-bounds array vulnerability (CWE-125: Out-of-bounds Read) affecting Sequoia openpgp libraries in the crates.io ecosystem. The issue involves sequoia-openpgp vulnerable to out-of-bounds array access leading to panic. Remediation is available by upgrading affected packages to version 1.1.1, 1.8.1, 1.16.0.
CVE-2023-53160 at a Glance
Security Impact
CVSS: 2.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2023-53160
To remediate this vulnerability, upgrade all affected Sequoia openpgp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade sequoia-openpgp to 1.1.1
Upgrade sequoia-openpgp to 1.8.1
Upgrade sequoia-openpgp to 1.16.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for sequoia-openpgp
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-53160, inspect your project dependencies for Sequoia openpgp:
inspect dependencies for sequoia-openpgp
Analyze the terminal output to locate any version of Sequoia openpgp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In Sequoia openpgp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-53160 Affected Sequoia openpgp Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sequoia-openpgp
|
crates.io |
< 1.1.1
|
1.1.1
|
|
sequoia-openpgp
|
crates.io |
≥ 1.2.0
< 1.8.1
|
1.8.1
|
|
sequoia-openpgp
|
crates.io |
≥ 1.9.0
< 1.16.0
|
1.16.0
|
References
Frequently Asked Questions
What is CVE-2023-53160?
Which Sequoia openpgp versions are affected?
What version fixes CVE-2023-53160?
Is sequoia-openpgp affected?
What is the CVSS score of CVE-2023-53160?
What CWE is associated with CVE-2023-53160?
How can I check crates.io dependencies for CVE-2023-53160?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-25mx-8f3v-8wh7",
"modified" : "2025-07-28T15:56:04Z",
"published" : "2023-06-06T01:58:04Z",
"aliases" : [ "CVE-2023-53160" ],
"summary" : "sequoia-openpgp vulnerable to out-of-bounds array access leading to panic",
"details" : "Affected versions of the crate have several bugs where attacker-controlled input can result in the use of an out-of-bound array index. Rust detects the use of the out-of-bound index and causes the application to panic. An attacker may be able to use this to cause a denial-of-service. However, it is not possible for an attacker to read from or write to the application's address space.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "sequoia-openpgp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "sequoia-openpgp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.2.0"
}, {
"fixed" : "1.8.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "sequoia-openpgp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.9.0"
}, {
"fixed" : "1.16.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-53160"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-29mf-62xx-28jq"
}, {
"type" : "PACKAGE",
"url" : "https://gitlab.com/sequoia-pgp/sequoia"
}, {
"type" : "WEB",
"url" : "https://gitlab.com/sequoia-pgp/sequoia/-/blob/main/openpgp/NEWS"
}, {
"type" : "WEB",
"url" : "https://lists.sequoia-pgp.org/hyperkitty/list/announce@lists.sequoia-pgp.org/thread/SN2E3QRT4DMQ5JNEK6VIN6DJ5SH766DI"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2023-0038.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-125" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2023-06-06T01:58:04Z",
"nvd_published_at" : null
}
}