Мониторинг Карточка CVE
Открытые данные
К списку уязвимостей
Высокий
Патч
Опубликована

CVE-2026-85515

OpenPGP message truncation not reported, bypassing the SEIPDv1 integrity check

Публикация: 03.10.2026·Обновлена: 05.10.2026, 21:04·Europe/Moscow

Что произошло

Автоперевод выключен · оригинальное описание

In Bouncy Castle for Java before 1.86, a truncated OpenPGP encrypted message was accepted with no error reported, and on the SEIPD version 1 path with no integrity check performed at all. RFC 9580 sec. 13.7 permits an implementation to release the cleartext of the fully authenticated chunks when streaming but requires it to indicate a clear error as soon as the truncation is detected, and to report suspect integrity when it discovers malleable ciphertext. The truncation was detected and then discarded: when a message is truncated but the length field of the enclosing packet is left unchanged, BCPGInputStream.PartialInputStream raises an EOFException for the missing ciphertext, and BCPGInputStream.nextPacketTag() reports an EOFException as a clean end of message, so the packet stream above it stopped as though no packets remained. On the AEAD path (SEIPD version 2 and the version 5 AEAD packet), when the literal data packet ended on an AEAD chunk boundary and the consumer read in increments smaller than one chunk, the look-ahead for the packet after the literal triggered the truncated chunk read, so BcAEADUtil and JceAEADUtil never reached the trailing message tag of sec. 5.13.2 that authenticates the total plaintext length; the caller received the plaintext of the fully authenticated chunks, every packet following the literal was silently dropped, and no exception was raised, so a signed and encrypted message read back as a well-formed unsigned one. Every byte released on that path remained individually authenticated, making this a missing truncation error rather than a forgery, and it is a residual of CVE-2026-12817, which closed the same outcome for an attacker who corrects the outer packet length. On the SEIPD version 1 path the consequence was more serious: IntegrityProtectedInputStream verifies the modification detection code from close(), and reached close() only by closing itself when a read of it returned -1, which a truncated message never produces, so PGPEncryptedData.verify() never ran and the recipient was handed CFB-decrypted plaintext on which no integrity check of any kind had been performed. Measured on a message truncated into that shape, 136 distinct single-byte modifications of the ciphertext produced accepted, altered plaintext with no exception raised. Reachability is a property of the message rather than of attacker-supplied input: the AEAD shape held for 3 of 131 consecutive payload lengths measured, and the SEIPD version 1 shape for one payload length in sixteen, at a truncation offset that did not move with the payload length. The low-level API is unaffected, a caller that invokes PGPEncryptedData.verify() directly getting the check regardless, as are consumers reading in increments of a whole AEAD chunk or more. The AEAD decryption streams now re-throw such an EOFException as a plain IOException, which nextPacketTag() does not launder; OpenPGPMessageInputStream.close() now closes its layer's integrity-protected stream itself rather than relying on that stream having seen the end of its data; and IntegrityProtectedInputStream.close() was made idempotent, as java.io.Closeable requires, which that depends on, since the stream is genuinely closed twice on the ordinary path and PGPEncryptedData.verify() consumes the digest state behind it and cannot be run a second time. This issue also affects Bouncy Castle for Java LTS before 2.73.13, on the AEAD route only, as that edition does not ship the high-level OpenPGP API the SEIPDv1 route runs through. It also affects Bouncy Castle for Java FIPS (BC-FJA) before bcpg-fips 1.0.14 (1.0.X series), 2.0.14.1 (2.0.X series) and 2.1.14 (2.1.X series), on the AEAD route only, as those editions do not ship the high-level OpenPGP API.

Что это значит

В источнике описана ошибка безопасности в перечисленных продуктах. Фактический риск зависит от установленной версии, конфигурации и доступности компонента; проверьте условия в первичном бюллетене.

Что делать

Редакционные пояснения, сведения источников и общие рекомендации помечены отдельно
Устранить в течение 7 дней

1. Проверьте, затронуты ли вы

Соберите инвентаризацию и сравните с таблицей затронутых версий. Эти команды только показывают установленные компоненты и сами по себе не доказывают наличие CVE.

Debian / Ubuntu
dpkg-query -W -f='${Package}	${Version}\n'
RHEL / AlmaLinux
rpm -qa --qf '%{NAME}\t%{VERSION}-%{RELEASE}\n'
Windows PowerShell
Get-HotFix | Select-Object HotFixID, InstalledOn
Общая рекомендация, не из бюллетеня вендора

2. Установите исправление

Сверьте точный продукт и версию с бюллетенем вендора. Установите указанное в нём исправление после резервного копирования и проверки совместимости. Подтверждённая целевая версия в источниках отсутствует.

Общая рекомендация, не из бюллетеня вендора

3. Временные меры

До проверки бюллетеня ограничьте доступ к затронутому компоненту доверенными узлами. Оцените сегментацию и отключение ненужных интерфейсов с владельцем сервиса; универсального правила WAF для этой CVE не подтверждено.

Общая рекомендация, не из бюллетеня вендора

4. Проверьте следы эксплуатации

Проверьте аномальные входы, новые учётные записи, ошибки и необычные дочерние процессы в затронутом сервисе. Публичные проверенные правила обнаружения не включены в запись; отсутствие сигналов не доказывает отсутствие компрометации.

Общая рекомендация, не из бюллетеня вендора

5. После исправления

  • Проверьте фактическую версию и результат установки по бюллетеню.
  • При необходимости перезапустите сервисы в согласованное окно.
  • Повторите проверку сканером и функциональные проверки.
  • Зафиксируйте результат, дату, владельца и оставшийся риск.

Продукты и затронутые версии

Legion of the Bouncy Castle Inc. / BC-JAVA

{
  "status": "affected",
  "version": "1.74",
  "lessThan": "1.86",
  "versionType": "maven"
}

Legion of the Bouncy Castle Inc. / BC-LTS-JAVA

{
  "status": "affected",
  "version": "2.73.0",
  "lessThan": "2.73.13",
  "versionType": "maven"
}

Legion of the Bouncy Castle Inc. / BC-FJA

{
  "status": "affected",
  "version": "1.0.7",
  "lessThan": "1.0.14",
  "versionType": "maven"
}
{
  "status": "affected",
  "version": "2.0.7",
  "lessThan": "2.0.14.1",
  "versionType": "maven"
}
{
  "status": "affected",
  "version": "2.1.0",
  "lessThan": "2.1.14",
  "versionType": "maven"
}

CVSS: оценки и векторы

CVSS 4.0 · cve8.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber
AV · Вектор атакисеть
AC · Сложность атакинизкая
AT · Условия атакинужны условия
PR · Привилегиине нужны
UI · Участие пользователяне нужно
VC · Конфиденциальность уязвимой системынет
VI · Целостность уязвимой системывысокое
VA · Доступность уязвимой системынет
SC · Конфиденциальность связанной системынет
SI · Целостность связанной системынет
SA · Доступность связанной системынет
U · Uзначение Amber; см. спецификацию CVSS

Источники и ссылки

Происхождение полей
{
  "cwes": [
    "cve"
  ],
  "epss": {
    "source": "epss",
    "received_at": "2026-11-04T21:20:35.282232+00:00"
  },
  "title": {
    "source": "cve",
    "received_at": "2026-10-28T17:57:43.259744+00:00"
  },
  "scores": [
    "cve"
  ],
  "status": {
    "source": "cve",
    "received_at": "2026-10-28T17:57:43.259744+00:00"
  },
  "affected": [
    "cve"
  ],
  "published": {
    "source": "cve",
    "received_at": "2026-10-28T17:57:43.259744+00:00"
  },
  "solutions": [],
  "percentile": {
    "source": "epss",
    "received_at": "2026-11-04T21:20:35.282232+00:00"
  },
  "references": [
    "cve"
  ],
  "description": {
    "source": "cve",
    "received_at": "2026-10-28T17:57:43.259744+00:00"
  },
  "workarounds": [],
  "configurations": []
}

Хронология записи

  1. Данные обновлены05.11.2026, 00:20
  2. Данные обновлены04.11.2026, 00:15
  3. Данные обновлены03.11.2026, 00:15
  4. Данные обновлены02.11.2026, 00:12
  5. Данные обновлены31.10.2026, 12:00
  6. Данные обновлены29.10.2026, 12:44
  7. Появились сведения об исправлении28.10.2026, 20:57

Личная заметка и статус

Другие CVE того же продукта

УЯЗВИМОСТЬ / ПРОДУКТПРИОРИТЕТCVSSEPSSСИГНАЛЫОПУБЛИКОВАНАКарточка
CVE-2026-8149
GCM chunking can lead to bad tag exception on decryption
Legion of the Bouncy Castle Inc. / BC-LTS · Legion of the Bouncy Castle Inc. / BC-FJA
Средний5.1
0,16 %
08.05.2026
CVE-2026-71892
CMS key-transport recipient key-size validation never runs for RFC 9709 HKDF-derived keys
Legion of the Bouncy Castle Inc. / BC-JAVA · Legion of the Bouncy Castle Inc. / BC-FJA
Средний6.9
0,17 %
Патч
03.10.2026
CVE-2026-71889
PKIXCertPathReviewer does not apply X.509 name constraints to the target certificate
Legion of the Bouncy Castle Inc. / BC-JAVA · Legion of the Bouncy Castle Inc. / BC-LTS-JAVA
Высокий8.7
0,17 %
Патч
03.10.2026
CVE-2026-71888
CMS AuthenticatedData exposes attacker-inserted authAttrs when digestAlgorithm is absent
Legion of the Bouncy Castle Inc. / BC-JAVA · Legion of the Bouncy Castle Inc. / BC-LTS-JAVA
Высокий8.7
0,11 %
Патч
03.10.2026
CVE-2026-8763
Name Constraints bypass via trailing dot in rfc822Name and URI
Legion of the Bouncy Castle Inc. / BC-JAVA · Legion of the Bouncy Castle Inc. / BC-LTS-JAVA
Критический9.3
0,43 %
Патч
03.08.2026