{"schemaVersion":3,"id":"CVE-2026-41499","aliases":[],"status":"published","duplicateOf":null,"title":"Wazuh: Multiple Heap-based NULL WRITE Buffer Underflows in parse_uname_string()","description":"Wazuh is a free and open source platform used for threat prevention, detection, and response. From version 4.0.0 to before version 4.14.4, multiple heap-based out-of-bounds WRITE vulnerabilities exist in parse_uname_string() (remoted_op.c). This function processes OS identification data from agents and contains a dangerous code pattern that appears in 4 locations within the same function: writing to strlen(ptr) - 1 without checking for empty strings. When the string is empty, strlen() returns 0, and 0 - 1 wraps to SIZE_MAX due to unsigned integer underflow. Due to pointer arithmetic wrapping, SIZE_MAX effectively becomes -1, causing a write exactly 1 byte before the allocated buffer. This corrupts heap metadata (e.g., the chunk size field in glibc malloc), leading to heap corruption. This issue has been patched in version 4.14.4.","dates":{"published":"2026-04-29T18:01:25.078Z","modified":"2026-04-29T18:31:46.154Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00445,"percentile":0.37713,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.19099999999999998,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00254},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00254,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00254,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00254,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00254,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00254,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00254,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00254,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00254,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00254,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00254,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00445,"percentile":0.37713}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00254,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00254,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00445,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00445,"percentile":0.37713}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-124","name":"Buffer Underwrite ('Buffer Underflow')","description":"The product writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/124.html"},{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)","description":"The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/191.html"}],"affected":[{"vendor":"wazuh","product":"wazuh","name":"wazuh","label":"wazuh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.14.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 4.14.4","eol":null,"hubHref":"/vendor/wazuh/wazuh"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-qvqj-p8mm-r7h3","label":"github.com/wazuh/wazuh/security/advisories/GHSA-qvqj-p8mm-r7h3","hostname":"github.com","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v4.14.4","label":"github.com/wazuh/wazuh/releases/tag/v4.14.4","hostname":"github.com","tags":["X Refsource MISC","Release Notes"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-29T18:01:25.078Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-29T18:31:46.154Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T23:27:16.153Z","stale":false,"partial":false}}