{"schemaVersion":3,"id":"CVE-2019-17041","aliases":["ALPINE-CVE-2019-17041","UBUNTU-CVE-2019-17041","DEBIAN-CVE-2019-17041"],"status":"published","duplicateOf":null,"title":null,"description":"An issue was discovered in Rsyslog v8.1908.0. contrib/pmaixforwardedfrom/pmaixforwardedfrom.c has a heap overflow in the parser for AIX log messages. The parser tries to locate a log message delimiter (in this case, a space or a colon) but fails to account for strings that do not satisfy this constraint. If the string does not match, then the variable lenMsg will reach the value zero and will skip the sanity check that detects invalid log messages. The message will then be considered valid, and the parser will eat up the nonexistent colon delimiter. In doing so, it will decrement lenMsg, a signed integer, whose value was zero and now becomes minus one. The following step in the parser is to shift left the contents of the message. To do this, it will call memmove with the right pointers to the target and destination strings, but the lenMsg will now be interpreted as a huge value, causing a heap overflow.","dates":{"published":"2019-10-07T15:31:17.000Z","modified":"2024-08-05T01:24:48.725Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.04445,"percentile":0.91305,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.1229999999999995,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.04568},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04445,"percentile":0.91305}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04568,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04445,"percentile":0.91305}]},"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-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"rsyslog","name":"rsyslog","label":"rsyslog","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/rsyslog","purlType":"apk","versions":[{"text":"< 8.1904.0-r1","noFixRecorded":false,"fixedIn":null},{"text":"< 8.1908.0-r1","noFixRecorded":false,"fixedIn":null},{"text":"< 8.31.0-r1","noFixRecorded":false,"fixedIn":null},{"text":"< 8.34.0-r1","noFixRecorded":false,"fixedIn":null},{"text":"< 8.40.0-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1904.0-r1 | < 8.1908.0-r1 | < 8.31.0-r1 | < 8.34.0-r1 | < 8.40.0-r4","eol":null,"hubHref":null},{"vendor":"debian","product":"rsyslog","name":"rsyslog","label":"rsyslog","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rsyslog","purlType":"deb","versions":[{"text":"< 8.1910.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1910.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rsyslog","name":"rsyslog","label":"rsyslog","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rsyslog","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 8.16.0-1ubuntu3.1+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 8.16.0-1ubuntu3.1+esm1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"30","noFixRecorded":false,"fixedIn":null},{"text":"31","noFixRecorded":false,"fixedIn":null}],"versionsText":"30 | 31","eol":{"isEol":true,"eolDate":"2020-05-26T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"30","label":"30","eolFrom":"2020-05-26T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.0","noFixRecorded":false,"fixedIn":null},{"text":"15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.0 | 15.1","eol":{"isEol":true,"eolDate":"2019-12-03T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.0","label":"Leap 15.0","eolFrom":"2019-12-03T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"vendor":"rsyslog","product":"rsyslog","name":"rsyslog","label":"rsyslog","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.1908.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.1908.0","eol":null,"hubHref":"/vendor/rsyslog/rsyslog"}],"affectedCount":7,"eol":{"hasEol":true,"count":3},"references":[{"url":"https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog","label":"github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog","hostname":"github.com","tags":["X Refsource CONFIRM","Release Notes","Third Party Advisory"]},{"url":"https://github.com/rsyslog/rsyslog/pull/3884","label":"github.com/rsyslog/rsyslog/pull/3884","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Patch","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.html","label":"lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.html","label":"lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W6SUQE25RD37CD24BHKUWMG27U5RQ2FU/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPNCHI7X2IEXRH6RYD6IDPR4PLB5RPC7/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00030.html","label":"lists.debian.org/debian-lts-announce/2021/11/msg00030.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-17041","label":"security.alpinelinux.org/vuln/CVE-2019-17041","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-17041","label":"ubuntu.com/security/CVE-2019-17041","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5419-1","label":"ubuntu.com/security/notices/USN-5419-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-17041","label":"www.cve.org/CVERecord?id=CVE-2019-17041","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-17041","label":"security-tracker.debian.org/tracker/CVE-2019-17041","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1952-1","DLA-2835-1","MGASA-2019-0400","OPENSUSE-SU-2019:2500-1","OPENSUSE-SU-2019:2501-1","RHSA-2020:1000","RHSA-2020:1702","SUSE-RU-2019:2816-1","SUSE-SU-2019:2937-1","SUSE-SU-2020:0424-1","SUSE-SU-2020:0512-1","USN-5419-1"],"duplicates":[],"related":["OPENSUSE-SU-2019:2500-1","OPENSUSE-SU-2019:2501-1","SUSE-RU-2019:2816-1","SUSE-SU-2019:2937-1","SUSE-SU-2020:0424-1","SUSE-SU-2020:0512-1","USN-5419-1"]},"timeline":[{"kind":"published","date":"2019-10-07T15:31:17.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T01:24:48.725Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T06:22:36.539Z","stale":false,"partial":false}}