CVE-2026-81638

Non-canonical ULID spellings are accepted and alias to the same record in ash_double_entry

2.1 low EPSS 0.13%

Published 7 Sep 2026 Updated 19 Nov 2026 CNA: EEF

Check your servers for CVE-2026-81638

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-81638 affects ash_double_entry, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

Improper Handling of Alternate Encoding vulnerability in ash-project ash_double_entry allows an attacker to submit several distinct string spellings of the same identifier.

AshDoubleEntry.ULID renders a 128-bit ULID as 26 Crockford base-32 characters, but the first character encodes only 3 bits, so canonical values are 0 to 7. decode/1 in lib/ulid.ex masks the first character to its low 3 bits and valid?/1 accepts all 32 characters in that position, so 0..., 8..., G... and R... decode to the identical 16-byte value and resolve to the same row. When the type is exposed as a public ID over an HTTP or API boundary, an attacker-supplied ID can be spelled differently from the record it actually reads or writes, desynchronizing or bypassing string-level checks such as idempotency and deduplication keys, deny-lists, audit correlation, or signatures computed over the submitted ID.

This issue affects ash_double_entry: from 0.1.0 before 1.0.19.

Severity (CVSS)

2.1 low CVSS 4.0 from EEF (CNA)
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Attack requirements
present: an attack works only when the target is in a certain state or configuration
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Impact on the vulnerable system
confidentiality none, integrity low, availability none: what an attacker can read, change or stop in the vulnerable component
Impact on other systems
confidentiality none, integrity low, availability none: what an attacker can read, change or stop beyond it

Exploitation

EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.05% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 8 Sep 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-173 Improper Handling of Alternate Encoding

Affected products

As the CNA lists them.

ProductVersions
ash_double_entry
package ash_double_entry
affected from 0.1.0, before 1.0.19
Other versions: unaffected
ash_double_entry
package ash-project/ash_double_entry
affected from 1e5f7ce8ff25f519c904731a29eb1258324e561a, before d3e688d300a581ae214b3ca7d95ef4de63fbb050
Other versions: unaffected

Is my server affected?

Find the installed version of ash_double_entry and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i ash_double_entry
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-81638 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-81638

RHEL, Rocky, Alma, Fedora

rpm -q ash_double_entry
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-81638

Alpine

apk list --installed | grep -i ash_double_entry

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-81638
trivy image --scanners vuln IMAGE | grep CVE-2026-81638

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Patches and release notes

Other references

Source: the record CVE-2026-81638 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.