{"id":"CVE-2026-48125","sourceIdentifier":"security-advisories@github.com","published":"2026-07-14T21:16:57.347","lastModified":"2026-10-24T21:10:00.130","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"UAParser.js is a JavaScript library to detect browsers, operating systems, CPUs, and devices from user-agent data. From 2.0.1 until 2.0.10, a regular expression denial-of-service vulnerability exists when using the Client Hints API. By sending a crafted Sec-CH-UA-Model header to an application that calls UAParser(headers).withClientHints(), an attacker can cause excessive CPU time due to catastrophic backtracking in the device regex because Client Hints values are copied without the UA_MAX_LENGTH limit used for User-Agent values. This issue is fixed in version 2.0.10."},{"lang":"es","value":"UAParser.js es una biblioteca JavaScript para detectar navegadores, sistemas operativos, CPUs y dispositivos a partir de datos de user-agent. Desde la 2.0.1 hasta la 2.0.10, existe una vulnerabilidad de denegación de servicio por expresión regular al usar la API de Client Hints. Al enviar un encabezado Sec-CH-UA-Model manipulado a una aplicación que llama a UAParser(headers).withClientHints(), un atacante puede causar un tiempo de CPU excesivo debido a un retroceso catastrófico en la expresión regular del dispositivo porque los valores de Client Hints se copian sin el límite UA_MAX_LENGTH utilizado para los valores de User-Agent. Este problema está solucionado en la versión 2.0.10."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"faisalman","product":"ua-parser-js","versions":[{"version":">= 2.0.1, < 2.0.10","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW"},"exploitabilityScore":3.9,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-15T12:55:17.247452Z","id":"CVE-2026-48125","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-400"},{"lang":"en","value":"CWE-1333"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:*","versionStartIncluding":"2.0.1","versionEndExcluding":"2.0.10","matchCriteriaId":"8EC52E2A-29B9-4E6D-A42D-C4A807C511B0"}]}]}],"references":[{"url":"https://github.com/faisalman/ua-parser-js/commit/90354d3458495628b1d3ba68a9d76673e6d14fc5","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/faisalman/ua-parser-js/security/advisories/GHSA-9h5v-pfqq-x599","source":"security-advisories@github.com","tags":["Exploit","Vendor Advisory"]},{"url":"https://github.com/faisalman/ua-parser-js/security/advisories/GHSA-9h5v-pfqq-x599","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Vendor Advisory"]}]}