Ad

CVE-2026-68495

HIGH CVSS 3.1: 7,5 EPSS 0.56%
Обновлено 2 октября 2026
Параметр Значение
CVSS 7,5 (HIGH)
Уязвимые версии до 2.16.0
Тип уязвимости CWE-770 (Выделение ресурсов без ограничений), CWE-400 (Неконтролируемое потребление ресурсов)
Публичный эксплойт Нет

Парсер CBOR в FasterXML jackson-dataformats-binary никогда не вызывает StreamReadConstraints.validateNameLength() при декодировании имен свойств объекта JSON, поэтому ограничение maxNameLength не выполняется для этого формата. CBORParser._decodeLongerName() декодирует имя свойства определенной длины без проверки длины, а CBORParser._decodeChunkedName() делегирует ценностно-ориентированной процедуре _finishChunkedText(), которая проверяет maxStringLength, а не maxNameLength. Злоумышленник, который может анализировать документ CBOR, может вставить одно имя свойства неограниченной длины; анализатор буферизирует все имя в памяти, прежде чем вернуть его, независимо от того, на что настроен maxNameLength. Поскольку StreamReadConstraints.maxDocumentLength также отключен по умолчанию, ничто другое не ограничивает имя в настройках по умолчанию, поэтому единственными ограничениями являются емкость загрузки злоумышленника и доступная куча, что приводит к истощению памяти и отказу в обслуживании.

No privileges beyond the ability to submit data to a parsing endpoint are required, and exploitation needs only that the bytes reach CBORFactory parsing, directly or through an ObjectMapper configured with the CBOR module. jackson-core's own JSON parsers enforce maxNameLength incrementally during name decoding; this gap is specific to the binary formats. maxNameLength and validateNameLength were introduced in jackson-core 2.16.0, so releases before 2.16.0 do not contain the constraint that is left unenforced. Эта проблема отслеживается вместе с дефектом парсера Smile в одном и том же консультативном совете поставщика, GHSA-3v8f-v6vx-fmrm, который охватывает оба двоичных формата. Дефект парсера CBOR (выпуск jackson-dataformats-binary 725) — CVE-2026-68495; дефект парсера Smile (выпуск 726) — CVE-2026-68496.

Показать оригинальное описание (EN)

The CBOR parser in FasterXML jackson-dataformats-binary never invokes StreamReadConstraints.validateNameLength() when decoding JSON object property names, so the maxNameLength limit is not enforced for this format. CBORParser._decodeLongerName() decodes a definite-length property name with no length check, and CBORParser._decodeChunkedName() delegates to the value-oriented _finishChunkedText() routine, which validates maxStringLength rather than maxNameLength. An attacker who can have a CBOR document parsed may therefore embed a single property name of unbounded length; the parser buffers the whole name in memory before returning it, whatever maxNameLength is configured to. Because StreamReadConstraints.maxDocumentLength is also disabled by default, nothing else bounds the name under default settings, so the only limits are the attacker's upload capacity and available heap, leading to memory exhaustion and denial of service. No privileges beyond the ability to submit data to a parsing endpoint are required, and exploitation needs only that the bytes reach CBORFactory parsing, directly or through an ObjectMapper configured with the CBOR module. jackson-core's own JSON parsers enforce maxNameLength incrementally during name decoding; this gap is specific to the binary formats. maxNameLength and validateNameLength were introduced in jackson-core 2.16.0, so releases before 2.16.0 do not contain the constraint that is left unenforced. This issue is tracked together with the Smile parser defect in the same vendor advisory, GHSA-3v8f-v6vx-fmrm, which covers both binary formats. The CBOR parser defect (jackson-dataformats-binary issue #725) is CVE-2026-68495; the Smile parser defect (issue #726) is assigned CVE-2026-68496.

Характеристики атаки

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

Последствия

Конфиденциальность
Нет
Нет утечки данных
Целостность
Нет
Нет модификации данных
Доступность
Высокое
Полный отказ в обслуживании

Строка CVSS v3.1