CVE-2026-54135 Details
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.
A denial-of-service vulnerability has been identified in AirSane versions prior to 0.4.12. The issue arises in the custom HTTP server implementation, where the HttpServer::Request::content function reads the Content-Length header and directly uses this value to resize a string, without proper validation or safe parsing. This flaw allows a remote, unauthenticated attacker to send an HTTP POST request with an excessively large Content-Length value, causing the server to allocate large amounts of memory and crash the AirSane process. Additionally, non-numeric Content-Length values can disrupt the server's operation due to improper error handling during header parsing.
Users can upgrade to AirSane version 0.4.12 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 11, 2026CISA-ADP
Assessed Sep 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/SimulPiscator/AirSane/security/advisories/GHSA-p5hv-3m79-452q | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/SimulPiscator/AirSane/commit/129cc3bf7258251a0a694dee7741285b59d88f9f | [email protected] | Source CodeVendor |
| https://github.com/SimulPiscator/AirSane/releases/tag/v0.4.12 | [email protected] | Release NotesVendor |
| https://github.com/SimulPiscator/AirSane/security/advisories/GHSA-p5hv-3m79-452q | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SimulPiscator AirSane | < 0.4.12 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 14, 2026 | CVE Modified | CISA-ADP |
| Sep 11, 2026 | New CVE Received | [email protected] |
Volerion