CVE-2026-54135
AirSane has a Remote Denial of Service (OOM) via Unvalidated Content-Length in HTTP Server
Check your servers for CVE-2026-54135
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-54135 affects airsane, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
AirSane is a SANE frontend, and a scanner server that supports Apple's AirScan protocol. Versions prior to 0.4.12 have a vulnerability in the custom HTTP server implementation of AirSane that allows a remote unauthenticated attacker to cause a Denial of Service (DoS) via memory exhaustion (OOM). In httpserver.cpp, the HttpServer::Request::content function reads the Content-Length header and directly passes this value to std::string::resize() without any upper-bound validation or safe parsing. An attacker can send an HTTP POST request with an artificially large Content-Length value. This forces the daemon to attempt allocating gigabytes of memory, resulting in a std::bad_alloc exception and immediately crashing the AirSane process. Additionally, providing non-numeric characters in the Content-Length header leads to undefined behavior (NaN to integer conversion) due to the lack of error handling during header parsing. Version 0.4.12 patches the issue.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.67%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 53.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 14 Sep 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-400 Uncontrolled Resource Consumption
- CWE-770 Allocation of Resources Without Limits or Throttling
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| AirSane |
affected < 0.4.12
|
Is my server affected?
Find the installed version of airsane 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 airsane
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-54135 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-54135RHEL, Rocky, Alma, Fedora
rpm -q airsane
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-54135Alpine
apk list --installed | grep -i airsaneWith 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-54135
trivy image --scanners vuln IMAGE | grep CVE-2026-54135
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
Exploits and proof of concept
- https://github.com/SimulPiscator/AirSane/security/advisories/GHSA-p5hv-3m79-452q github.com · exploit
Other references
- https://github.com/SimulPiscator/AirSane/commit/129cc3bf7258251a0a694dee7741285b59d88f9f github.com
- https://github.com/SimulPiscator/AirSane/releases/tag/v0.4.12 github.com
Source: the record CVE-2026-54135 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.
Vulnpocalypse