{"id":"CVE-2026-54135","published":"2026-09-11T19:44:39Z","modified":"2026-09-14T18:47:55Z","title":"AirSane has a Remote Denial of Service (OOM) via Unvalidated Content-Length in HTTP Server","vendor":"SimulPiscator","product":"AirSane","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00761,"percentile":0.51597,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/SimulPiscator/AirSane/security/advisories/GHSA-p5hv-3m79-452q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/SimulPiscator/AirSane/commit/129cc3bf7258251a0a694dee7741285b59d88f9f","tags":["x_refsource_MISC"]},{"url":"https://github.com/SimulPiscator/AirSane/releases/tag/v0.4.12","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.32},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"simulpiscator","affectedVersions":[{"vendor":"SimulPiscator","product":"AirSane","versions":["< 0.4.12"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-14T18:47:39.306737Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-76482","exploited":false,"provenance":"source"}}