{"id":"CVE-2025-67897","aliases":["DEBIAN-CVE-2025-67897","EUVD-2025-203279","GHSA-v6x3-9r38-r27q","RUSTSEC-2025-0136","UBUNTU-CVE-2025-67897"],"status":"published","title":"Sequoia PGP has Subtraction Overflow when aes_key_unwrap function is provided ciphertext that is too short","description":"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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00354,"percentile":0.29439,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-195"],"published":"2025-11-07T12:00:00Z","modified":"2026-10-28T02:31:09Z","fixes":[{"ecosystem":"crates.io","package":"sequoia-openpgp","fixed_in":["2.1.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:13","package":"rust-sequoia-openpgp","fixed_in":["2.0.0-2+deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rust-sequoia-openpgp","fixed_in":["2.1.0-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"sequoia-openpgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"rust-sequoia-openpgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12.0-2","1.13.0-1","1.16.0-1","1.16.0-2","1.16.0-3","1.16.1-1","1.16.1-2","1.17.0-1","1.17.0-2","1.18.0-1","1.19.0-1","1.20.0-1","1.20.0-2","1.21.0-1","1.21.1-1","1.21.1-2","1.21.2-1","1.21.2-2","1.22.0-1","1.22.0-2","2.0.0-1","2.0.0-2","2.0.0-3","2.0.0-4","2.0.0-5","2.1.0-1","2.1.0-2","2.1.0-3","2.2.0-1","2.2.0-2","2.3.0-1","2.4.1-1","2.4.1-2"]},{"source":"osv","ecosystem":"Debian:13","package":"rust-sequoia-openpgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0-2+deb13u1"}]}],"versions":["2.0.0-2"]},{"source":"osv","ecosystem":"Debian:14","package":"rust-sequoia-openpgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-1"}]}],"versions":["2.0.0-2","2.0.0-3","2.0.0-4","2.0.0-5"]},{"source":"osv","ecosystem":"crates.io","package":"sequoia-openpgp","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"sequoia-openpgp","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"2.1.0"}]}]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"rust-sequoia-openpgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0-3","1.3.0-4","1.7.0-6"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rust-sequoia-openpgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.0-1","1.17.0-1","1.17.0-2","1.18.0-1","1.19.0-1","1.19.0-1build1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rust-sequoia-openpgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.0-1","2.0.0-2"]}],"products":[{"vendor":"sequoia-pgp","product":"sequoia"}],"references":[{"url":"https://gitlab.com/sequoia-pgp/sequoia/-/commit/b59886e5e7bdf7169ed330f309a6633d131776e5","tags":["fix","web","report"]},{"url":"https://bugs.debian.org/1122582","tags":["web","report"]},{"url":"https://gitlab.com/sequoia-pgp/sequoia/-/blob/b59886e5e7bdf7169ed330f309a6633d131776e5/openpgp/NEWS#L7-L26","tags":["web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67897","tags":["advisory"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0136.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-v6x3-9r38-r27q"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67897.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-67897","tags":["advisory"]},{"url":"https://gitlab.com/sequoia-pgp/sequoia","tags":["package"]},{"url":"https://crates.io/crates/sequoia-openpgp","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2025-67897","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-67897","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-67897","description":"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.","status":"published","published":"2025-12-14T04:35:24.61Z","modified":"2025-12-15T21:29:01.14Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-195"],"updated_at":"2026-11-02T14:32:52.21763Z"}],"euvd":[{"id":"EUVD-2025-203279","description":"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.","status":"published","published":"2025-12-14T04:35:24Z","modified":"2025-12-15T21:29:01Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T19:49:05.078672Z"}],"ghsa":[{"id":"GHSA-v6x3-9r38-r27q","title":"Sequoia PGP has Subtraction Overflow when aes_key_unwrap function is provided ciphertext that is too short","description":"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.","status":"published","published":"2025-12-14T06:30:24Z","modified":"2025-12-16T19:30:42Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-195"],"updated_at":"2026-11-02T14:39:13.204325Z"}],"nvd":[{"id":"CVE-2025-67897","description":"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.","status":"published","published":"2025-12-14T05:16:06.453Z","modified":"2026-10-14T13:10:00.187Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-195"],"updated_at":"2026-11-02T14:11:50.400521Z"}],"osv":[{"id":"CVE-2025-67897","description":"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.","status":"published","published":"2025-12-14T04:35:24.61Z","modified":"2026-10-28T02:31:09.152383718Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-195"],"updated_at":"2026-11-02T15:44:52.53036Z"},{"id":"DEBIAN-CVE-2025-67897","description":"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.","status":"published","published":"2025-12-14T05:16:06.453Z","modified":"2026-10-15T10:02:12.700580069Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:47.697959Z"},{"id":"GHSA-v6x3-9r38-r27q","title":"Sequoia PGP has Subtraction Overflow when aes_key_unwrap function is provided ciphertext that is too short","description":"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.","status":"published","published":"2025-12-14T06:30:24Z","modified":"2026-09-10T03:50:32.193634287Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-195"],"updated_at":"2026-11-02T15:46:56.981655Z"},{"id":"RUSTSEC-2025-0136","title":"Underflow in aes_key_unwrap function","description":"The `aes_key_unwrap` function would panic if passed a ciphertext\nthat was too short.  In a debug build, it would panic due to a\nsubtraction underflow.  In a release build, it would use the\nsmall negative quantity to allocate a vector.  Since the\nallocator expects an unsigned quantity, the negative value would\nbe interpreted as a huge allocation.  The allocator would then\nfail to allocate the memory and panic.\n\nAn attacker could trigger this panic by sending a victim an\nencrypted message whose PKESK or SKESK packet has been specially\nmodified.  When the victim decrypts the message, the program\nwould crash.","status":"published","published":"2025-11-07T12:00:00Z","modified":"2025-12-17T06:16:23.047289Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:53:40.430679Z"},{"id":"UBUNTU-CVE-2025-67897","description":"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.","status":"published","published":"2025-12-14T05:16:00Z","modified":"2026-01-20T18:42:20.715362Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:55:52.345622Z"}]}}
