gchq/CyberChef

bug(AMF Decode): Buffer exhausted while reading 8 bits at offset 0 via just empty input or newline

Open

#2,492 opened on Jun 4, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (3,944 forks)batch import
bughelp wanted

Repository metrics

Stars
 (34,843 stars)
PR merge metrics
 (Avg merge 53d 1h) (68 merged PRs in 30d)

Description

To reproduce that extremly very simple, just drag AMF decode then you will see an uncaught error

AMF Decode - Error in https://gchq.github.io/CyberChef/modules/Encodings.js on line 2.<br><br>Message: Buffer exhausted while reading 8 bits at offset 0, context:
     - [ye] Ue#marker
     - [readField()] Ue#marker
     - [read()] Ue
     - [Ue.read()] Ue

Direct Test Link:

Contributor guide