CVE-2026-54135
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.
Scoring
- Severity
- HIGH
- CVSS base score
- 7.5
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS probability
- 0.55%
- CWE
- CWE-400, CWE-770
- Published
- 2026-09-11
- Last modified
- 2026-09-14
Affected products
- SimulPiscator AirSane
Weakness type
Related vulnerabilities
- CVE-2026-68763 — Apache Tomcat: DoS via allocation leak in HTTP/2 backlog tracking when a stream is reset
- CVE-2026-55247 — plone.app.event: Denial of service via iCalendar import
- CVE-2026-55248 — plone.app.portlets: Denial of service via RSS feed portlet
- CVE-2026-48050 — Arc: Unauthenticated access to Go debug pprof endpoints leaks runtime state and enables CPU-burn DoS
- CVE-2026-78551 — RansomLook Login Endpoint Allows Timing-Based Username Enumeration and Unthrottled Authentication Attempts
- CVE-2026-86452 — MISP Unauthenticated Mail Endpoints Allow Unbounded Storage Consumption and Request Flooding
- CVE-2026-86201 — PocketMine-MP before 5.41.1 LogDoS via LoginPacket clientData
- CVE-2026-85443 — MOOS core-moos through 10.4.0 MOOSDB Accept Loop Denial of Service