{"id":"UBUNTU-CVE-2012-5526","details":"CGI.pm module before 3.63 for Perl does not properly escape newlines in (1) Set-Cookie or (2) P3P headers, which might allow remote attackers to inject arbitrary headers into responses from applications that use CGI.pm.","modified":"2026-01-30T01:38:14.681091Z","published":"2012-11-21T00:00:00Z","withdrawn":"2025-07-18T16:42:47Z","related":["USN-1643-1"],"upstream":["CVE-2012-5526"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2012-5526"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2012/11/15/4"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-1643-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2012-5526"}],"affected":[{"package":{"name":"libcgi-pm-perl","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libcgi-pm-perl@3.64-1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.64-1"}]}],"versions":["3.63-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcgi-pm-perl","binary_version":"3.64-1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-5526.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"low"}]}