{"id":"CVE-2026-54135","aliases":["CVE-2026-54135"],"related":[],"kind":"vulnerability","state":"published","title":"AirSane has a Remote Denial of Service (OOM) via Unvalidated Content-Length in HTTP Server","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-11T19:44:39.687Z","modified":"2026-09-30T19:57:08.043Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"version":"< 0.4.12","status":"affected"}],"vendor":"SimulPiscator","product":"AirSane","source":"cvelist"}],"references":[{"url":"https://github.com/SimulPiscator/AirSane/security/advisories/GHSA-p5hv-3m79-452q","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/SimulPiscator/AirSane/commit/129cc3bf7258251a0a694dee7741285b59d88f9f","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/SimulPiscator/AirSane/releases/tag/v0.4.12","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-09-14T18:47:39.306Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54135","url":"https://www.cve.org/CVERecord?id=CVE-2026-54135","licence":"CVE Terms of Use","modified":"2026-09-14T18:47:55.523Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54135","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54135","licence":"Public domain","modified":"2026-09-30T19:57:08.043Z"}],"updatedAt":"2026-11-25T22:59:37.981Z","epss":{"score":0.00674,"percentile":0.53416,"date":"2026-12-01T12:00:22.000Z"}}