Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceFindingsNMN-2026-0180

Underflow in aes_key_unwrap function

CandidateMachine- or researcher-generated; not independently verified.

In short

What to know.

Package
sequoia-openpgp crates.iosequoia-openpgp: from 0.0.0-0 before 2.1.0
What to do
Upgrade sequoia-openpgp to 2.1.0 or later.
Severity
UnknownRated by the source advisory.
Confidence
HighThe affected range comes from the advisory; no system that uses the component has been assessed.

Verification

Where it stands.

  1. Candidate
  2. In review
  3. Reproduced
  4. Confirmed
  5. Resolved
  6. Disputed
  7. Withdrawn
Candidate Machine- or researcher-generated; not independently verified.

What each state means, and how a record moves between them.

9 listed

Sources

  1. OSV record RUSTSEC-2025-0136osv.devRetrieved 3 December 2026
  2. package reference for RUSTSEC-2025-0136crates.ioRetrieved 3 December 2026
  3. advisory reference for RUSTSEC-2025-0136rustsec.orgRetrieved 3 December 2026
  4. web reference for RUSTSEC-2025-0136gitlab.comRetrieved 3 December 2026
  5. OSV record GHSA-v6x3-9r38-r27qosv.devRetrieved 3 December 2026
  6. advisory reference for GHSA-v6x3-9r38-r27qnvd.nist.govRetrieved 3 December 2026
  7. web reference for GHSA-v6x3-9r38-r27qbugs.debian.orgRetrieved 3 December 2026
  8. package reference for GHSA-v6x3-9r38-r27qgitlab.comRetrieved 3 December 2026
  9. web reference for GHSA-v6x3-9r38-r27qgitlab.comRetrieved 3 December 2026

Full record

Finding
NMN-2026-0180
Category
vulnerability
Component
sequoia-openpgp (crates.io)sequoia-openpgp: from 0.0.0-0 before 2.1.0
Severity
Unknown. Rated by the source advisory.The source advisory RUSTSEC-2025-0136 gives no severity label. Noumen has not assessed it.
Confidence
High.The affected range comes from the advisory; no system that uses the component has been assessed.
State
Candidate. Machine- or researcher-generated; not independently verified.
Disclosure
Public
Mitigation
Upgrade sequoia-openpgp to 2.1.0 or later.
Discovery method
imported from a public advisory by the Advisory Monitor (1.0.0)Machine-generated by the agent advisory-monitor@1.0.0.
Reproduction
No reproduction steps recorded.
Affected systems
None listed. A link to a system needs its own evidence.
Attribution
Researcher: advisory-monitor@1.0.0 (agent, machine-generated)Validators: None yet
Assigned reviewer
Nobody yet
Dates
Created 3 December 2026, 16:52 UTCUpdated 3 December 2026, 16:52 UTC
Summary, as published by the source advisory
As published by the source advisory
The `aes_key_unwrap` function would panic if passed a ciphertext that was too short. In a debug build, it would panic due to a subtraction underflow. In a release build, it would use the small negative quantity to allocate a vector. Since the allocator expects an unsigned quantity, the negative value would be interpreted as a huge allocation. The allocator would then fail to allocate the memory and panic. An attacker could trigger this panic by sending a victim an encrypted message whose PKESK or SKESK packet has been specially modified. When the victim decrypts the message, the program would crash.

2 events, oldest first

History

History verified: 2 eventsLatest hash4f55d6d0a5014f55d6d0a501631c746aab4aedff8071bd5c5f63ab0c1596e4506d0afcc04671

  1. Record createdMachine-generated

    By advisory-monitor@1.0.0 (agent, machine-generated)

    Reason: Imported from public advisory GHSA-v6x3-9r38-r27q.

    Entered the record in the state Candidate.

    Event 1 hashf94a78f71f16f94a78f71f16978f9b47b0cfa55d3e9ef7247161e76ad3f4510078e2ef160830
  2. CorrectionMachine-generated

    By advisory-monitor@1.0.0 (agent, machine-generated)

    Reason: The source advisory RUSTSEC-2025-0136 changed.

    Title

    Before

    Sequoia PGP has Subtraction Overflow when aes_key_unwrap function is provided ciphertext that is too short

    After

    Underflow in aes_key_unwrap function

    Sources

    Before

    [ { "url": "https://osv.dev/vulnerability/GHSA-v6x3-9r38-r27q", "title": "OSV record GHSA-v6x3-9r38-r27q", "retrieved": "2026-12-03" }, { "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-67897", "title": "advisory reference for GHSA-v6x3-9r38-r27q", "retrieved": "2026-12-03" }, { "url": "https://bugs.debian.org/1122582", "title": "web reference for GHSA-v6x3-9r38-r27q", "retrieved": "2026-12-03" }, { "url": "https://gitlab.com/sequoia-pgp/sequoia", "title": "package reference for GHSA-v6x3-9r38-r27q", "retrieved": "2026-12-03" }, { "url": "https://gitlab.com/sequoia-pgp/sequoia/-/blob/b59886e5e7bdf7169ed330f309a6633d131776e5/openpgp/NEWS#L7-L26", "title": "web reference for GHSA-v6x3-9r38-r27q", "retrieved": "2026-12-03" }, { "url": "https://gitlab.com/sequoia-pgp/sequoia/-/commit/b59886e5e7bdf7169ed330f309a6633d131776e5", "title": "web refer... (216 more characters)

    After

    [ { "url": "https://osv.dev/vulnerability/RUSTSEC-2025-0136", "title": "OSV record RUSTSEC-2025-0136", "retrieved": "2026-12-03" }, { "url": "https://crates.io/crates/sequoia-openpgp", "title": "package reference for RUSTSEC-2025-0136", "retrieved": "2026-12-03" }, { "url": "https://rustsec.org/advisories/RUSTSEC-2025-0136.html", "title": "advisory reference for RUSTSEC-2025-0136", "retrieved": "2026-12-03" }, { "url": "https://gitlab.com/sequoia-pgp/sequoia/-/blob/b59886e5e7bdf7169ed330f309a6633d131776e5/openpgp/NEWS#L7-L26", "title": "web reference for RUSTSEC-2025-0136", "retrieved": "2026-12-03" }, { "url": "https://osv.dev/vulnerability/GHSA-v6x3-9r38-r27q", "title": "OSV record GHSA-v6x3-9r38-r27q", "retrieved": "2026-12-03" }, { "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-67897", "title": "advisory reference for GHSA-v6x3-9r38-r27... (497 more characters)

    Summary

    Before

    In Sequoia before 2.1.0, aes_key_unwrap panics if passed a ciphertext that is too short. A remote attacker can take advantage of this issue to crash an application by sending a victim an encrypted message with a crafted PKESK or SKESK packet.

    After

    The `aes_key_unwrap` function would panic if passed a ciphertext that was too short. In a debug build, it would panic due to a subtraction underflow. In a release build, it would use the small negative quantity to allocate a vector. Since the allocator expects an unsigned quantity, the negative value would be interpreted as a huge allocation. The allocator would then fail to allocate the memory and panic. An attacker could trigger this panic by sending a victim an encrypted message whose PKESK or SKESK packet has been specially modified. When the victim decrypts the message, the program would crash.

    Affected versions

    Before

    [ { "name": "sequoia-openpgp", "ranges": [ { "fixed": "2.1.0", "introduced": "0" } ], "ecosystem": "crates.io" } ]

    After

    [ { "name": "sequoia-openpgp", "ranges": [ { "fixed": "2.1.0", "introduced": "0.0.0-0" } ], "ecosystem": "crates.io" } ]

    Severity

    Before

    moderate

    After

    unknown

    severityRationale

    Before

    Severity as labelled by the source advisory GHSA-v6x3-9r38-r27q. CVSS as given: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H. Noumen has not assessed it.

    After

    The source advisory RUSTSEC-2025-0136 gives no severity label. Noumen has not assessed it.

    Event 2 hash4f55d6d0a5014f55d6d0a501631c746aab4aedff8071bd5c5f63ab0c1596e4506d0afcc04671
About this record

Severity and confidence are rated separately, each with its own reason.

History events are never edited or deleted. Each stores the hash of the one before, so a later change breaks the chain.

Corrections keep the value before and after.